Browsed by
Month: June 2014

Setup Eclipse for JavaFX

Setup Eclipse for JavaFX

Setup Eclipse to use e(fx)clipse   Launch Eclipse Click on “Help”, “Install New Software…” Add the e(fx)clipse p2 repository. The address is http://download.eclipse.org/efxclipse/updates-released/0.9.0/site. For Kepler, additionally add http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/ Select the correct version of Eclipse and proceed.  Restart Eclipse when done installing.

Database Connections in Java

Database Connections in Java

    Closing Statements From Oracle JDBC FAQ, http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#05_02 Closing a Connection closes all of the associated Statements. Closing a Statement closes all of the associated ResultSets. So, if you are through with a Connection you can just close it and all of the Statements and ResultSets will be closed. This is acceptable programming practice. Better practice is to explicitly close Statements and ResultSets in finally blocks. This makes your application more robust and less likely to leak resources as it evolves…

Read More Read More

Java Native Access (JNA)

Java Native Access (JNA)

Other Resources JNA on Github How to call/invoke external DLL library method/function from Java code Calling a DLL Function Using Java with Active Directory Java Impersonation using JNA and Waffle

Java Packages

Java Packages

  Other Resources Techrepublic Package-by-Feature vs. Package-by-Layer Java Fundamentals Tutorial : Packaging

Tables in JavaFX

Tables in JavaFX

  Other References Populate TableView from Database in JavaFX Populate TableView http://code.makery.ch/java/javafx-2-tutorial-part2 http://jonathangiles.net/blog/?p=998 http://docs.oracle.com/javafx/2/ui_controls/table-view.htm#