Is there an element in Java (i.e. Swing/AWT or SWT) that is equivalent to the HTML element fieldset
?
Create a Panel, create a titled border and you will be able to put inside all your field components.
JPanel panel = new JPanel();
panel.add(new JLabel("foo"));
panel.setBorder(BorderFactory.createTitledBorder("bar"));