How to set a fixed max height on a JComponent.
843806Apr 3 2008 — edited Apr 7 2008
Is there someway to set a fixed height on a JComponent e.g a JTextField.
setPrefferdSize() works but then I need to set the width as well which aint a solution for me. The main problem is that setPrefferdSize() and setMaximumSize() .... etc all requiers a Dim object which is both height and width.
//Andreas