Home Answers Viewqa Swing-AWT Swing-AWT Question and Answers


 
 

The questions and answers section for Swing and AWT. Here you can ask questions on Swing and AWT topics.

AWT

The AWT stands for Abstract Window ToolKit and it provides the API to create desktop applications in Java. It is also used to create Applets. The AWT based applications can run on all the Java enabled operating systems. The AWT components are heavyweight components  and it uses the underlying OS libararies for creating the UI components.

Swing

The Java Swing is also known as Java Foundation Classes (JFC), which is used to create the UI interface for desktop applications and applets. Swing is lightweight component. It runs faster than AWT. Swing is 100% Pure Java certified.


View all discussion for Swing-AWT
Latest Questions for Swing-AWT
swing
How to make swing component auto-resizable when JFrame resize?
March 28, 2013 at 8:52 AM

retrieve data from database in java swing form using prev n next buttons
i have a database having columns id(int),path(text),width(int),height(int),avdRed(float),avgGreen(float),avgBlue(float) i have to retrieve all the fields of various rows from database in labels by clicking previous and next buttons.also first reco
March 17, 2013 at 5:48 PM

retrieve data from database in java swing form using prev n next buttons
i have a database having columns id(int),path(text),width(int),height(int),avdRed(float),avgGreen(float),avgBlue(float) i have to retrieve all the fields of various rows from database in labels by clicking previous and next buttons.also first reco
March 17, 2013 at 5:48 PM

How to close a frame on action event of a button from a different class ?
How to close a frame on action event of a button from a different class ? I have a designed a control-frame on 1 class which has jbutton components, I have coded like on action event of these components diff-diff frame get initialized. For
March 5, 2013 at 3:54 AM

searching the data
respected sir , i am making the desktop application , so how can i search the data which are stored in the mysql databses through click the button and display in jtable through netbeans dynamical
January 26, 2013 at 2:06 AM

swings for webnms
if i am expanding node of jtree then i want to collapse previous expanding node of jtree in swings how is it possible
January 17, 2013 at 12:56 PM

Jpanel allignment
i have two panels added one below anotehr. and i have a one button. when i clicked button. the first panel ara should be overlapped with second panel. i mean second panel size should cover both paenls size using gribaglayout or any layout. need
January 10, 2013 at 5:20 PM

pass data from java frame to file
i want to write the data to file, and data must be copy from java frame java frame contains 7-8 labels n below that 1 table. i want store all this data to 1 file. plz help me
January 8, 2013 at 9:54 AM

code for traffic control system simulation
any one suggest which functions are used to develop a graphical view to traffic control system using awt and swing
January 3, 2013 at 7:57 PM

Bank Management System
I need a Bank Management System Project in Java Swing
December 31, 2012 at 1:03 PM

how to maKE Jcombox editable after saveing value init.
i have one JCombobox with 2 values"y", "N".when i selecting some value from dropdown and cliuck on some save button . i am able to save it. but when i try to cahnge the value and when i clicked on save unable to save it. how to maKE Jcombox edit
December 26, 2012 at 9:40 PM

i havei) aJTextField and one button. when place the cursor or enter anything in the test field then only button should be enabled.by default the button should be disabled.
i havei) aJTextField and one button. when place the cursor or enter anything in the test field then only button should be enabled.by default the button should be disabled. how to add listeners for it. thx advance.
December 18, 2012 at 10:00 PM

i havei) a jtable with few cloumns and few rows andii) one button. when place the cursor in any of the table's column cell. i need to enable the button.by default the button should be disabled.
i havei) a jtable with few cloumns and few rows andii) one button. when place the cursor in any of the table's column cell. i need to enable the button.by default the button should be disabled. need solution for this. thx in advance.
December 18, 2012 at 8:56 PM

PDF Comparator
Hi Guys, I need to develop a program which should compare a set of pdf files stored in one folder with a set of pdf files stored in another folder. Both folders should contain the same no. of pdf files with same name in both folders. I am able to
December 17, 2012 at 10:33 PM

i have JTextfield and JComboBox. there are several values in combobox.when i select a value from combobox how to make textfiled as a combobox.
i have JTextfield and JComboBox. there are several values in combobox.when i select a value from combobox how to make textfiled as a combobox.
December 17, 2012 at 8:50 PM

issue on jcombobox
i have JTextfield and JComboBox. there are several values in combobox.when i select a value from combobox how to make textfiled as a combobox.only few values in the combobox need this functionality. need solution. tahnks in advance.
December 17, 2012 at 5:38 PM

JTABLE Issue
Hi Eveyone, I am developing a small application on Swing-AWT. I have used JTABLE to show data. There is "input field" and "search button " on a frame , by clicking this search button data will be retrived from DB on basis of input data p
December 17, 2012 at 4:08 PM

Add a fram
I want to put an image on frame on my GUI(Net Beans).please tell me the way to put this. only for frame.. thanks and regards, Rahul Dubey
December 4, 2012 at 8:13 AM

jcheckbox in jtable does nothing when clicking on it
my table model is as follows public class MyTableModel implements TableModel { ArrayList<PersonDTO> list=new ArrayList<PersonDTO>(); String headerName[]={"checkbox","student_id","name"};
October 19, 2012 at 3:24 PM

dynamically add listener to a SWT widget
hello, I am using SWT technology for my project,there is mail facility, i want attachment of multiple files.first link is created, but other links have to be generated dynamically as we do in gmail,and there should be a listener for ever
October 18, 2012 at 6:08 PM

View all discussion for Swing-AWT