JFRAME - Java Codes

Handling Multiple Frames

Description This code Shows handling multiple frames in one frame. Source Code import java.awt.Dimension; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionLis ...

0 Comments. 974 views since Nov 17, 2008

JFrame: Key Tester

Description This is a code which implements JFrame & demonstrates a Key Tester which generates an output on the console whenever a key is pressed. Source Code import java.awt.BorderLayout; import java. ...

0 Comments. 805 views since Oct 20, 2008

Components View

Description This code shows the aligning of an object in the component window. Source Code import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimensi ...

0 Comments. 778 views since Sep 11, 2008