jpanel

Submitted by: 
Introduction: Hello. This page will teach you how to use JFrames within Java. What is a JFrame? A JFrame is a Java component which is able to hold or contain multiple more components. The JFrame is the 'window' of the program (the outer part which has the re-size options, the minimize, maximize and close options as well as the title of the program and icon). Should I use a JFrame in my program?...
Submitted by: 
Move Line in java using swing components, JPanel,JFrame and Graphics. This is a Java small program that I created on jGRASP but it is possible to open it on Notepad++, notepad, jCreator and other softwares for java. Move Line either left or right by clicking on the respective button or direction key on keyboard. The display consists of two JPanels in a JFrame, arranged using BorderLayout. The top...
Submitted by: 
This is a continuation of my other tutorial entitled JTextArea Component in Java GUI . This tutorial will teach you how to set/select font and color for the JTextArea or JTextField component. 1. First and foremost, Open JCreator or NetBeans and make a java program with a file name of jTextArea.java . When you click the link above, copy first all the code there. import java.awt.* ; import javax...