Archive for the ‘Java’ Category
Tuesday, July 30th, 2013
If you had use JTextPane HTML rendering mode, you can easily addHyperLinkListener to catch link click event and provide the handler. But there is no Hyperlink listener in JavaFX WebView.
So here how to do it in JavaFX WebView
* tested on Java 7u25
Posted in Java | 4 Comments »
Monday, June 18th, 2012
If you are using BooleanStateAction and bitten by this bug #207477.
And interestingly this bug is start to creep into Ubuntu Unity Global Menu as well (using Java Ayatana plugins).
Below is the workaround. The idea is to maintain the JMenuItem reference ourselves and set the appropriate (checked/enabled) state.
So you can inherit ...
Posted in Java, Linux, Netbeans | No Comments »
Monday, June 11th, 2012
If you are developing application with Netbeans in Ubuntu Unity environment, most likely the Netbeans menu is black (hard to spot) and in bold text (ugly). And this things effecting all java program. It is due to the ambience theme employed by Ubuntu which result in menu black and bold. ...
Posted in Java, Linux, Netbeans | 27 Comments »
Thursday, June 7th, 2012
If you build and sign android application using jdk 7, the result apk could not be installed on physical device,
see http://code.google.com/p/android/issues/detail?id=19567
It is because the default digest algorithm for Java 7 is SHA-256,
see http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html
So one of the easiest way to sign android apk using jdk 7 is by adding the ...
Posted in Android, Java, Netbeans | 6 Comments »
Friday, August 12th, 2011
If you haven't aware that Netbeans support android development, please check out NbAndroid, it is a plugins for Netbeans IDE that provide support for the whole development cycle of Android applications.
You just need to download the latest NbAndroid plugins from NbAndroid
The Goto Menu - Tools - Options,
on Miscellaneus ...
Posted in Android, Java, Netbeans | 3 Comments »
Thursday, October 28th, 2010
Finally, Oracle speak about Java Roadmap especially for the client side at JavaOne 2010 JDK BOF session which you can see from Amy Fowler blog. From what I can understand, it boils down to several things:
Posted in Java, Netbeans | 2 Comments »
Wednesday, September 15th, 2010
Netbeans Platform 6.9 Developer's Guide by Jürgen Petri comes with 273 pages. This is not Java beginner book or learning Java book, and not about Netbeans IDE as well. The author assumes zero Netbeans Platform knowledge. This book is written for developers who are comfortable with Java and Swing, and ...
Posted in Java, Netbeans | 7 Comments »
Wednesday, October 21st, 2009
If you haven't aware Java have support for RTL (Right-To-Left) for the User Interface, and thank to Netbeans Platform based on Swing, it is easy as well to make Netbeans Platform application to support RTL (Right-To-Left) as well
Step 1: Create ComponentOrientation support class
This step is optional, but make the testing ...
Posted in Java, Netbeans | 4 Comments »
Wednesday, October 14th, 2009
Did you ever wondering who (companies or developers) are using Netbeans Platform as their platform of choice ? You will be surprised if you check this Netbeans Platform Screenshot Showcase.
There are a lot of them from various categories: Aerospace & Defence, Oil & Gas Services, Geospatial, Bio & Chemoinformatics, ...
Posted in Java, Netbeans | No Comments »
Wednesday, May 27th, 2009
Recently on the nbdev (dev@openide.netbeans.org) mailing list someone ask a question regarding friend dependencies, because he/she I got the following Error:
The module some.package.path is not a friend of some-path\some.jar
So what is friend dependency anyways. Friend Dependency is caused by a Module that have an API which its author is ...
Posted in Java, Netbeans | 3 Comments »