[java] Groupping components component
I know I can group componentes with JPanel, but what is the compontnet to visually group components.
In Win32 programming there was frame rectangle that has text on top and components inside the rectangle grouped together.
Help, can''t find similar in java! Thx!
You can set the border of a JPanel to have a title like this.
myPanel.setBorder(BorderFactory.createTitledBorder("Title"));
that should do what your looking for
Ford! theres an infinate amount of monkeys outside wanting to talk to you about a script of Hamlet they created!
www.mikeditum.co.uk
myPanel.setBorder(BorderFactory.createTitledBorder("Title"));
that should do what your looking for
Ford! theres an infinate amount of monkeys outside wanting to talk to you about a script of Hamlet they created!
www.mikeditum.co.uk
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement