Start learning Java Swing programming

xiaoxiao2021-03-06  93

Download the latest NetBeans 4.0 beta version and Java 1.5 from the Internet. Although everyone says that don't use the IDE environment when you start learning, I still choose to use IDE to start learning, :) But I really don't get used to use. At the beginning, the menu is the design, the NB menu design is not like Delphi or VC / VB. You can only see the top of the menu, you can't see the submenu, find it, I found only in the Inspector window. Modify the properties of the submenu. In addition, the strange thing is that NB is not modified for the statement of the Swing component. I feel very inconvenient. I have encountered a problem now: I want to use the JFilechooser component, but if this component is declared, when the program is running This component is displayed immediately, but in fact my intention is that this component cannot be displayed when the program starts, and then pops up this component after pressing a button. If you are directly in the text editor, I can add this component to the container, just to make a statement, but now it's not, NB automatically adds this component to the container, and cannot be modified. Now all fight, which is familiar with the high-hand pointing point guidance of NB usage. My window layout is BorderLayout

转载请注明原文地址:https://www.9cbs.com/read-103122.html

New Post(0)