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.
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With