0

Could anyone perhaps provide me with a link to a tutorial / package that allows the drawing of an HTML like table grid layout? I've googled, but I just keep finding JTable, which won't work for me, and Google keeps wanting to change "java awt table" to "java swt table".

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Josh
  • 12,448
  • 10
  • 74
  • 118

1 Answers1

1

That isn't easy.

I think GridBagLayout is the closes layout manager, but it is advanced. Remember that you can nest layouts. You can use a layout, then put panels in it and have another layout on the panel.

Jonas
  • 121,568
  • 97
  • 310
  • 388
  • Will that work without using Swing? – Josh Feb 19 '11 at 01:47
  • @Josh: Most of the layout managers are part of AWT and not Swing, see http://download.oracle.com/javase/7/docs/api/java/awt/GridBagLayout.html – Jonas Feb 19 '11 at 01:50