Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Netbeans 8's GUI builder missing properties?

My netbeans guy builder seems to be missing an option to change border style of jpanel. Videos and images of tutorials show a properties table that is a little different than mine.

EDIT:

So I created a new JPanel from File > new File. Et voila, the properties just popped up out of nowhere and also in the JFrame now.

my netbeans

sample on the net

like image 366
Josephus87 Avatar asked Oct 15 '25 02:10

Josephus87


1 Answers

A java.awt.Canvas is not a Swing component. You may be looking for javax.swing.JComponent, which includes "support for borders." For example, the cyan tinted JPanel, named buttonPanel in the illustration below, has a TitledBorder.

image

like image 83
trashgod Avatar answered Oct 17 '25 19:10

trashgod



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!