Creating JTextArea using Java Swing
Creating JTextArea using Java Swing: https://youtu.be/h9_Na0fZMh8 ________________________________________________ How to make JTextArea
package Test;
import javax.swing.*;
public class Test{
public static void main(String[] args){
JFrame frame = new JFrame("Test Frame");
frame.setBounds(600,150,500,300);
frame.setLayout(null);
JTextArea textarea = new JTextArea();
textarea.setBounds(10,20,100,100);
frame.add(textarea);
frame.setVisible(true);
}
}
________________________________________________
Dark Hers
YouTube
https://instagram.com/darkhers
https://www.facebook.com/darkhers
TikTok
https://www.tiktok.com/@darkhers
https://www.pinterest.co.uk/darkhers
Comments
Post a Comment