Friday Feb 08, 2008

Adding your Visual Web Page Layout as a Template in the IDE Wizard

A lot of users want to be able to design their own Page Layouts, and  easily reuse the same across their application or even multiple applications. Basically designing  layouts once and then using them in many pages. In such a scenario it will be easy to have your own page layout design accessible through the wizard in the IDE.  I tried  the instructions which Winston Prakash  published in  his blog entry titled How to create NetBeans Visual Web Page Layout Plugin. It shows you how to add your own predefined Page Layout as a template, so that it appears in the New Visual Web Page Wizard. Now you can simply choose your own template and create your page based on that template.  A interesting observation in Winston's blog is that if you are using NB 6.1 (M1), you need not have to replace all component binding with template binding. This is so because the bindings are not inserted by default . In NB6.1(M1), the mandatory binding for every component in the page have been removed. This saves a lot of time !

Before you try this, you have to first of course create your Page Layouts. Here's the tutorial to do that
Creating a CSS-based Fixed Page Layout .

For those who would like to have some already predefined Page layout Templates accessible through the wizard, check out the the NB 6.0 plugin for Predefined Visual Web Page Layouts , which you can simply download and install in NetBeans. By installing this plugin you can access the different pagelayouts  through the wizard and resuse.

Monday Feb 04, 2008

Developing Web Application using NetBeans6.0 and Web Stack on SXDE 01/08

The Solaris Express Developer Edition 1/08 (SXDE 01/08) comes with NetBeans 6.0  IDE . Also, since SXDE 01/08 also offers the Web Stack as part of the install it is more inviting for developers to consider it their platform of choice. The Web Stack is compromised of  the AMP (Apache, MySQL, and PHP) a collection of open source software to build and deploy web application on Solaris. You do not need to download these separately.  Now you can use NetBeans6.0 with the Web Stack .  The neat feature is you can access all the applications from the Launch menu, including  NetBeans. Below I am describing how to develop a Web Application using the Web Stack with NetBeans 6.0 .
[Read More]

Thursday Jan 31, 2008

New tutorial-style series for JavaFX users

Check out the first of the series of articles on JavaFX, published on The series is entitled "Creating Rich Internet Applications with Compiled JavaFX Script Technology". There will be 18 articles in this series, and the focus is the JavaFX Script programming language. Anyone learning to use JavaFX Script technology will find this very useful. Specifically it will help learn to create a compiled JavaFX program that contains user interface components and 2D graphics. The topics covered in the first article starts with obtaining the JavaFX Script Compiler. So if you are a beginner, you can get started easily.

Sunday Jan 27, 2008

Target JDK

Can I run NetBeans ide using one version of jdk but target other versions of jdk?[Read More]

Tuesday Jan 22, 2008

Populating Table from DataBase using JavaFX

Again experimenting with the JavaFX code, this time learning to connect to the database.  I was dabbling with connecting to JavaDB database using JavaFX back in September, just did not get around to putting it on my blog.[Read More]

Sunday Jan 20, 2008

Plugin Providers

Plugin Providers for NetBeans 6.0

How does one find out where a plugin comes from? And how do we contact the plugin owners?

[Read More]

Wednesday Jan 16, 2008

Useful Resources For Visual Web JSF Development in Netbeans

The Visual Web JSF Development features have gone through quite a bit of branding and packaging changes over the last few years from Creator to Visual Web Pack to being available intergrated out of the box with netbeans.

There are a lot of useful resources available to help developers using these features, Here is a collection of links to those.[Read More]

Resetting the Netbeans Userdir

'userdir' is the directory where NetBeans stores user configuration data such as window layouts, editor settings, menu and toolbar customizations and various module settings.

At times your IDEs userdir gets corrupted and this results in the IDE behaving weirdly like

1) In the New Project dialog, sometimes only a few of the categories are listed.
2) Your Project does not open properly, you get errors like "Project Folder Already exist" etc
3) You get an exception window on IDE startup etc.

To fix such issues, run the ide with a fresh userdir.[Read More]

MySQL for NetBeans Users

The acquisition of MySQL by Sun Microsystems  is great news, especially for NetBeans users. If you have not already seen Jonathan's blog today, I encourage you to read all about it in "Helping Dolphins Fly".  Of particular interest to me from support perspective is the piece on MySQL support. Quoting from Jonathan's Blog:

"So what are we announcing today? That in addition to acquiring MySQL, Sun will be unveiling new global support offerings into the MySQL marketplace. We'll be investing in both the community, and the marketplace - to accelerate the industry's phase change away from proprietary technology to the new world of open web platforms."

 I read this as great news for NetBeans users. So stay tuned for more on MySQL. In the meanwhile here are some links to tutorials and guides for using MySQL in NetBeans IDE:

 MySQL Home

Connecting to a MySQL Database in NetBeans IDE

Making a simple MySQL client in NetBeans

Creating a Simple Web Application in NetBeans IDE Using MySQL

Friday Jan 11, 2008

How to download and install modules (nbm files) offline?

Sometimes it is desirable to download nbms offline. As an example usecase, one may wish to update an IDE that is installed on a system without an internet connection (possibly set up that way for security reasons). In such cases, the updates can be obtained offline using a system that does have an internet connection; and the updates then copied over to and applied offline on a system without internet access.

[Read More]

Thursday Jan 10, 2008

Why do I need to provide local platform when adding remote server instance

When you are registering a  remote Sun Java System Application Server/GlassFish  Instance, the Add Server wizards asks for the Local platform.  To register a remote server right click Servers node in the Services window and choose Add Server. An error message requesting local platform is displayed in the wizard if you do not provide the platform location.
[Read More]

Tuesday Jan 08, 2008

Viewing log files in NetBeans IDE

How can I view the different log files in the NetBeans IDE.  NetBeans6.0 provides easy access for viewing  log files.[Read More]

Thursday Jan 03, 2008

Unable to delete file appbase.jar error on Clean and Build after application deployment

The error message "Unable to  delete file ...\\build\\web\\WEB-INF\\lib\\appbase.jar" occurs when a Visual Web project has already been deployed, and then the Clean and Build is done. [Read More]

Tuesday Jan 01, 2008

OpenMP and C/C++ Pack

OpenMP is not supported in C/C++ Pack 5.5.1 or 6.0.

From :

If an application engages parallelization, OpenMP, or MPI... Sun Studio is the best!...

For more info on OpenMP Support in Sun Studio Compilers and Tools:

[Read More]

Monday Dec 31, 2007

User Accounts in tomcat

For the embedded tomcat servers, users with admin privileges are not automatically created. This may lead to errors while trying to run the admin console. 

In general: How to obtain information on the user accounts for a tomcat server registered with the ide, whether embedded or not?

[Read More]

A blog for NetBeans users maintained by NetBeans Support team. For professional support, please check out Support Resources.


« July 2016