About java GUI
A problem that some module can not be shown when open a JFrame, and when you maximum the window and then they appear.
to solve this problem, you need to put the " frame.setVisible(true) " line in the last of you struct of the JFrame. it performs as the reflush.
so that the components you add will be display.
Jmenu
i find that its function setMargin(int top, int left, int bottom, int right) does not work. I don't not why.
浙公网安备 33010602011771号