Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
5Activity
0 of .
Results for:
No results containing your search query
P. 1
Les 16

Les 16

Ratings: (0)|Views: 531|Likes:
Published by suresh1130

More info:

Published by: suresh1130 on Sep 15, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

09/11/2010

pdf

text

original

 
16
Copyright © 2007, Oracle. All rights reserved.
Adding User Interface Componentsand Event Handling
 
16-2Copyright © 2007, Oracle. All rights reserved.
Objectives
After completing this lesson, you should be able to dothe following:
Add Swing components to an application
Get and modify the contents of the components
Provide event handlers for common types of events
Create a menu bar 
 
16-3Copyright © 2007, Oracle. All rights reserved.
Swing Components
Text controls
 –
JTextField 
 –
JPasswordField 
 –
JTextArea
 –
JEditorPane
 –
JTextPane
Graphic controls
 –
JTree
 –
JTable
 –
JToggleButton

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->