Re: Around the Frame
Wade Chandler <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
This is all really just related to Swing. Not really NB. If it (or ones like it) is to be asked on NB it belongs in the nbusers mailing list. This list is for Netbeans UI specific questions and those related to design and implementation of the NB UI itself. I'll answer some here for now, but please direct other questions in this regard to nbusers, as well as pieces I do not answer as I may not have time, but the Java forums are really a better place for these questions and the java tutorials are a good place to start. see inline... --- diensiraj <[email protected]> wrote: > > 1. Usually when i want to moving the cursor from one > textfield to another > textfield, i am > using tab key or mouse. at this time, i am going > to know if use Enter > key. How to use it? See KeyListener and see Component.transferFocus and transferFocusBackward > 2. When i am using JFrame, How to make disable Max > icon on the right top of > the frame > while running? See the java.awt.Frame javadocs. Get familiar with Java docs. See setResizable. > 3. How can i change image icon on the left top of > the frame? setIconImage (iconImage property ... need to read up on JavaBeans and properties to understand how they relate in a JavaBean editing software such as Netbeans unless just using purely code and no UI editor) > 4. How to place image in the button? See the different setIcon buttons. See JButton, and also understand the issues with mixing Swing and AWT components ... two different component models with Swing derived from AWT at the container and component level, but not the separate AWT component level such as JButton doesn't extend java.awt.Button. > 5. How to place several tabs in the frame? See the JTabbedPane component and it's javadocs. Wade