matthew016
asked on
Menu
Hello there,
I need an advice on the design of my program for school,
when the user open the window, a JTabbedPane appear.
If the user click on one of those tabs, he can see a JTable
and I would like to add a menu that let him do several things with the data in the Jtable
for example, add a row, edit a line, etc.
I tried to add buttons in a JPanel on the right of the JTable (so by default with a FlowLayout) , but the problem is that the buttons don't have all the same size, so I tried with a BorderLayout but then they getting bigger ...
maybe buttons wasn't a good idea,
(I would like to see directly all the options available,
so for example a JComboBox won't do it)
Has anyone an advice for me ?
Thank you.
I need an advice on the design of my program for school,
when the user open the window, a JTabbedPane appear.
If the user click on one of those tabs, he can see a JTable
and I would like to add a menu that let him do several things with the data in the Jtable
for example, add a row, edit a line, etc.
I tried to add buttons in a JPanel on the right of the JTable (so by default with a FlowLayout) , but the problem is that the buttons don't have all the same size, so I tried with a BorderLayout but then they getting bigger ...
maybe buttons wasn't a good idea,
(I would like to see directly all the options available,
so for example a JComboBox won't do it)
Has anyone an advice for me ?
Thank you.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi there, I finally used a JToolBar with a GridLayout, looks good
Thanks u both
Thanks u both
ASKER