Hey there, I'm just making a fairly simple utility program to try and enhance my Java knowledge and I've become rather stuck while trying to design the actual GUI.
Here is what I've got at the moment:
But I can't seem to get the lower control panel to centre in the bottom half like the JTable is centred.
What ever I seem to try, it always ends up fixed to the bottom of the JFrame.
The JTable is its own JPanel, and so is the bottom half which consists of a JTextArea and 3 buttons.
The JTable is added onto the JFrame using BorderLayout Center, and the control panel with BorderLayout South.
Does anyone know how, or with what layout manager I could get a result that might match the following sketch?
Edit: For clearance, by centred, I mean have the JPanel within the actual JFrame and not stuck to the edges.