You need to use setPreferredSize() on the component. Then, to resize it, call setBounds() . I would probably subclass the button, ...
確定! 回上一頁