Google


   


You are here: CodeIdol.com > Java > JFC Swing Tutorial, The: A Guide to Constructing GUIs > Using Swing Components

SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

JFC Swing Tutorial, The: A Guide to Constructing GUIs



http://java.sun.com/docs/books/tutorial/uiswing/components/index.html This chapter gives you the background information you need to use Swing components. It assumes that you've successfully compiled and run programs that use Swing...



Top-level containers are the components at the top of any Swing containment hierarchy. They're shown in Figure 1. Figure 1. Top-level containers. General-purpose containers, shown in Figure...



Many Swing components display a text string as part of their GUI. By default, that text is displayed in a single font and color, all...



As we mentioned before, Swing provides three generally useful top-level container classes: JFrame, JDialog, and JApplet. When you use these classes, keep these facts in...



Most noncontainer Swing components have models. A button (JButton) has a model (a ButtonModel object) that stores the button's state—for example, what its keyboard mnemonic...

read more: Using Models


With the exception of top-level containers, all Swing components whose names begin with "J" descend from the JComponent[9] class. For example, JPanel, JScrollPane, JButton, and...



This section gives background information you might need when using Swing's text components. If you intend to use an unstyled text component—a text field, password...



You should now have the knowledge you need to start writing programs that use Swing components. The previous chapters gave you a general understanding of...

read more: Summary


Use the information in this chapter and, if necessary, the component how-to sections in to help you complete these exercises. Questions 1:Find the component that best...



You can find source files for all of the examples from this chapter on the CD and online: JavaTutorial/uiswing/components/example-1dot4/index.html http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/index.html The preceding URLs take you to an index...

read more: Example Programs

SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

You are here: CodeIdol.com > Java > JFC Swing Tutorial, The: A Guide to Constructing GUIs > Using Swing Components


ADBRITE ads links
   
Related tags







Popular Categories
Unix books and guides

AJAX popular information
C# language guides
Windows books and cookbooks

.......








Business Key Top Sites

be number one
rate your site




    С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.

    Русский Polski Francais Deutsch
    support sitemap terms

© CodeIdol Labs, 2007 - 2009