Showing posts with label Netbeans. Show all posts
Showing posts with label Netbeans. Show all posts

Tuesday, June 24, 2008

Easy AJAX with jMaki Framework

If you are web application developer I think you know about Rich Internet Application, Web 2.0.
AJAX is way to bring you for purpose. You can use jMaki Framework. You are amazed.

Quick start Guides
Download Plugin Netbeans

Wednesday, May 14, 2008

[JavaFX Tutorial]Getting start JavaFX with Netbeans IDE 6.1

How to install JavaFX plugin to Netbeans 6.10 IDE
  1. Download and Install Netbeans IDE 6.1
  2. Download this Developmental built of the JavaFx Netbeans 6.1 plugin that base on OpenJFX compiler.
  3. Unzip the local file
  4. In Netbeans program Main Menu Choose Tool>Plugin.
  5. Select Downloaded tab and click Add Plugins.
  6. Select all the .nbm files included in the downloaded bits, and click Open.
  7. Restart the IDE.

NetBeans IDE: Adding/Changing JVM command line args

You can indeed set your favorite JVM command line args to use with NetBeans. Here's how to do it.

1. Go to the directory where you installed NetBeans IDE.

2. In that directory, go to the 'etc' directory.

3. In that 'etc' directory, there is a file called 'netbeans.conf'.

Open that netbeans.conf file


Here's an explanation of the command line switches I use:
-J-Xms128m -> initial Java heap size
-J-Xmx384m -> max Java heap size
-J-XX:NewRatio=20 -> Ratio of old generation to young generation space
-J-XX:+UseConcMarkSweepGC -> use the concurrent old generation garbage collector
-J-XX:+UseParNewGC -> use the parallel young generation garbage collector
-J-XX:+CMSPermGenSweepingEnabled -> enable concurrent gc in permanent generation
-J-XX:+CMSClassUnloadingEnabled -> enable class unloading in permanent generation with the concurrent gc collector
-J-XX:+CMSPermGenPrecleaningEnabled -> enable pre-cleaning when using concurrent gc collector in permanent generation
-J-XX:PermSize=64m -> initial size of permanent generation space set to 64m
-J-XX:MaxPermSize=96m -> max size of permanent generation space set to 96m
-J-Dswing.aatext=true -> use font anti-aliasing

* Keep in mind that I am running on a machine with 1G of RAM. However, these settings should work fine on a machine with 512m. Just keep an eye on swapping activity. If you can keep your system from swapping, you're responsiveness will be much better.

Thursday, May 8, 2008

Gwt-Ext lib in Netbeans

Problem when add Gwt-Ext lib in Netbeans

I found this problem in netbeans 5.5. even if you add Gwt-Ext in your project and following step from getting started, the application didn't work. and show this error.

[ERROR] Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...)
[ERROR] Build failed

this is solution.
http://www.gwt-ext.com/forum/viewtopic.php?f=5&t=755