NetBeans; Button is distorted

Hello,

I'm new to Java and I have a strange problem. I create a button, and it's squished. Don't know how to fix it. Any ideas?

-Ryan
Screenshot.png
rossryanAsked:
Who is Participating?
 
jocafiCommented:
Try one of this solutions:

1) I hope you have installed the latest version of Netbeans (i.e, 6.8). Click on the Netbeans 6.8 menu "Help -> Check For Updates" and install updates for GUI modules.

2)  Remove and add a new button

3) Remove the button. Add a panel, add the button to the panel.

4) If you are changing the text programatically, it may happens. Try to add spaces instead to setText(");

I hope I could help you.

0
 
StealthyDevCommented:
Send the files.
0
 
jocafiCommented:
5) Run the program. Do not trust so much on the button 'Preview Design".
0
 
rossryanAuthor Commented:
Hmm. It appears that if I run 'clean' on the solution, it begins working again properly.

But I have to run it everytime...

I'll post the file later on.
0
 
rossryanAuthor Commented:
Yeah, it requires cleaning to work properly. But thanks for your help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.