Java for swing part -I
-
Upload
agrata-shukla -
Category
Technology
-
view
127 -
download
0
Transcript of Java for swing part -I
![Page 1: Java for swing part -I](https://reader036.fdocuments.us/reader036/viewer/2022083114/58ed84751a28ab99428b467d/html5/thumbnails/1.jpg)
Using swing in javaJava swing programCollection for you
part-I
By Agrata shukla
![Page 2: Java for swing part -I](https://reader036.fdocuments.us/reader036/viewer/2022083114/58ed84751a28ab99428b467d/html5/thumbnails/2.jpg)
Jslider A component that lets the user
graphically select a value by sliding a knob within a bounded interval. The knob is always positioned at the points that match integer values within the specified interval.
http://goo.gl/u2PKrVSee here program
![Page 3: Java for swing part -I](https://reader036.fdocuments.us/reader036/viewer/2022083114/58ed84751a28ab99428b467d/html5/thumbnails/3.jpg)
JMenuBar An implementation of a menu bar. You
add JMenu objects to the menu bar to construct a menu. When the user selects a JMenu object, its associated JPopupMenu is displayed, allowing the user to select one of the JMenuItems on it. See program here
http://goo.gl/F4uiIO
![Page 4: Java for swing part -I](https://reader036.fdocuments.us/reader036/viewer/2022083114/58ed84751a28ab99428b467d/html5/thumbnails/4.jpg)
ImageButton Image button is a button having image or
both image and text see demo here http://goo.gl/3q79hF
![Page 5: Java for swing part -I](https://reader036.fdocuments.us/reader036/viewer/2022083114/58ed84751a28ab99428b467d/html5/thumbnails/5.jpg)
JLabel A display area for a short text string or an
image, or both. A label does not react to input events.see demo here
http://goo.gl/bMtva3
![Page 6: Java for swing part -I](https://reader036.fdocuments.us/reader036/viewer/2022083114/58ed84751a28ab99428b467d/html5/thumbnails/6.jpg)
Enable-disable button There are two buttons.One is enable
taking event other is disable not taking event
http://goo.gl/4rchKx
![Page 8: Java for swing part -I](https://reader036.fdocuments.us/reader036/viewer/2022083114/58ed84751a28ab99428b467d/html5/thumbnails/8.jpg)