Geertjan's Blog

  • June 15, 2007

Drag and Drop Tables into Swing Containers

Geertjan Wielenga
Product Manager
Since issue 91711, you can drag a table from the Services (previously called Runtime) window into a JTable in a container in the 'Matisse' GUI Builder. I didn't know about this until today. Though this has always been possible in Creator/Visual Web Pack, it hasn't been for the GUI Builder. I've also been able to drag a field from the Services window into a JTextField in a container and I guess other combinations must be possible too.

For example, once you have a container with a JTable, as shown below, you can simply drag a table from the Services window, drop it on the JTable, and then the JTable will be populated with the corresponding values, once you run the application.

That's going to make GUI design (and mock ups) even faster to throw together than before!

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha