Warning: Apple Inc apparently has a patent on this. I’m merely doing this for performance comparison purposes and for self-education only.
It’s been about 2 weeks since my first JavaFX session. My initial distaste for the YAML syntax is largely gone. I have avoided using Netbeans, as vim is sufficient. The absence of closing tags in [...]
Archives for the ‘Netbeans’ Category
JavaFX Coverflow Part 1
Saturday, 23 August 2008
August 18, 2008 Ask the (JavaFX) Experts
Thursday, 21 August 2008
me: What is the long term future of javafx.ext.swing.* classes in JavaFX’s
technological roadmap? Are new Node-based ui classes in-the-works to supercede this?
Joshua Marinacci: We plan to keep the swing classes but they will only be in the desktop profile. New gui classes based on nodes are in the works. These new gui components will be [...]
Netbeans Autosubmit Drop Down Boxes
Tuesday, 27 March 2007
The immediate attribute against the dropdown box is a bit misleading. This is wholly different from the autopostback=”true” attribute on ASP.net.
With JSF, you need to write your own javascript, or use the IDE context menu to write one for you.
Here’s a code sample showing how to change the contents of a second dropdown [...]
CachedRowSetDataProvider Bug when removeRow and appendRow called without commitChanges
Monday, 26 March 2007
Here’s the test case and stack trace
public String btnTest_action() {
getMaintdayitemDataProvider().removeRow(getMaintdayitemDataProvider().getCursorRow());
getMaintdayitemDataProvider().appendRow();
getMaintdayitemDataProvider().cursorLast(); //
return null;
}
java.lang.IllegalArgumentException: CachedRowSetRowKey[2]
[...]
Netbeans Visual Web Selecting Rows
Saturday, 24 March 2007
The UI presentation layer doesn’t hold state about which rows were selected.
Winston Prakash outlines how selecting a single row in Netbeans JSF table can be done, but it was a little roundabout.
Here’s a simpler take on it:
Bind a TableRowGroup’s selected attribute to a property on your page.
<ui:tableRowGroup
[...]
Changing up the datasource name in a Netbeans project
Friday, 23 March 2007
In your personal directory, there is a Netbeans configuration file called context.xml, it has a list of datasources and their jdbc URLs
C:\Documents And Settings\Chui\.netbeans\5.5\context.xml
<context name=”java:comp”>
<context name=”env”>
<context name=”jdbc”>
<object name=”TravelPack” class=”com.sun.rave.sql.DesignTimeDataSource”>
[...]