English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

import javax.swing.* what doest it means can u explain the basic use of swing command

thanku

2007-05-12 06:21:31 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

SWING is a user-interface framework. Think of it as graphical menu components that's practically standard that you can use in your programs. Textbox, scrollbar, up/down arrows, etc. You get the idea.

2007-05-12 06:28:03 · answer #1 · answered by Kasey C 7 · 0 0

Swing is a package of tools used to make graphical user interfaces in Java. It's not a command, but rather a collection of classes used to build GUIs.

2007-05-12 06:26:38 · answer #2 · answered by Neilius 2 · 0 0

the belief of products and letting products do the artwork for you is standard for concise code. Swing code for any GUI is cumbersome -- often averaging approximately 150 strains for a reasonable GUI. Do you truly have an theory of what the interior your JFrame might appear like? might a JPanel have 2 columns of three JButtons and a JLabel around the perfect?

2016-12-17 10:49:30 · answer #3 · answered by deibert 4 · 0 0

Its just a toolkit, a library or methods and objects to make fancy buttons and windows in java programming langauge.

It can make the program easier to write cause all the nice details are handled, but all those nice details add to the bulk of your program.

The wiki article is informative:
http://en.wikipedia.org/wiki/Swing_(Java)

2007-05-12 06:27:54 · answer #4 · answered by shellsandscripts 2 · 0 0

fedest.com, questions and answers