A tour with Netbeans IDE 5.5

Hmmmm... I never had any project that relates to swing/awt and I crave so much for those. I decided to try out NetBeans IDE 5.5, I'm following an article netbeans themselves provided. Here's the link.

http://www.netbeans.org/kb/articles/form_getstart40.html


Well... It's not like it's my first time trying out the IDE. We already used this on my first company but I never had the chance to explore it. I have to say it's really really really good. I tried to benchmark the RAM used by the IDE and it seems to eat approximately 153 MB of RAM. It all depends on what you're doing.

There's a lot of things you hav to familliarize yourself with. Although I came from a VB background (I know what you want to say, eeewwww!) and Strong(ehem) OOP background and (Ehem) Java background I still found myself lost for a llittle while there. I think it took me about 10 minutes to actually get comfortable, albeit not so with the IDE. I kinda hate the way Netbeans restricted me on cleaning up my code such as this one...

1
2
3
4
5
6
7
8
9
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
if (currentColor == java.awt.Color.lightGray)
currentColor = java.awt.Color.gray;
else if (currentColor == java.awt.Color.gray)
currentColor = java.awt.Color.black;
else
currentColor = java.awt.Color.lightGray;
jLabel1.setBackground (currentColor);
}


which I wanted written as

1
2
3
4
5
6
7
8
9
10
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) 
{
if (currentColor == java.awt.Color.lightGray)
currentColor = java.awt.Color.gray;
else if (currentColor == java.awt.Color.gray)
currentColor = java.awt.Color.black;
else
currentColor = java.awt.Color.lightGray;
jLabel1.setBackground (currentColor);
}

Netbeans just won't allow me to edit some of its auto-generated code... There must be an option somewhere that disables this...

In the end of the day I'm still one happy coder having learned something. Hmmm... Not so new... Here are some screencaps...

Souce code editing




Design View and Running with the app running(at the center)




Design view with pallete window. I was also dragging a JButton(mouse not visible)





And the properties window



Published 11-08-2006 10:05 PM by lamia
Filed under:

Comments

Monday, November 13, 2006 9:07 PM by ladyannebug

# re: A tour with Netbeans IDE 5.5

im using netbeans for a almost a year pa lng.. eversince, i was assigned to web applications thats y haven't tried creating any swing applications using this IDE.. when i get the time, ill also explore this part of netbeans and perhaps be delighted too.. ;p

Tuesday, November 14, 2006 1:37 AM by lamia

# re: A tour with Netbeans IDE 5.5

Web apps are really making me sick! That's why I tried to take a glimpse of netbeans. Although I prefer writing code than drag n dropping I have to say that this feature would really boost your productivity. Have fun coding Java! :)

Thursday, January 03, 2008 8:28 PM by job appcation

# re: A tour with Netbeans IDE 5.5

My first credit card! I dream of it as nobody would approve me! Please advise what to do – I applied so frequently my score is almost at ground… My friend said that Bank of America issues cards for students ansd I need one for purchases. My college mate is suggesting a web site but I don’t believe it.

<a href= carditeinmediate.cn/discover-percent-credit-zero.html >discover zero percent life credit</a>

Thursday, January 03, 2008 8:33 PM by bed creditcard

# re: A tour with Netbeans IDE 5.5

Hello guys! Please, somebody, give me wise advice. My credit is really bad. I have one bad credit card and need one more to solve some money problems. How to know whether my application will be denied or not. And is this a reliable website to apply online? I am waiting for your answer. Thanks

<a href= deliquencies-credited.cn/reestablishing-credit-cards-for.html >cards for reestablishing credit</a>

Friday, January 04, 2008 11:17 AM by getsmart

# re: A tour with Netbeans IDE 5.5

Hello! I need a credit card but do not know what credit card is the best for me. How to select the best one? I have found credit cards site with convenient charts but there are so many various credit cards that I am all adrift. My credit is not bad. Could you help me with advice?

<a href= deliquencies-creidit.cn/sears-premier-card.html >sears premier card</a>