JFrame
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("JFrame");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Color txtcolor=new Color(0,0,0);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(21,138,124);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
Color bordercolor=new Color(0,0,0);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, bordercolor));
frame.setSize(250, 250);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
JFrame
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("JFrame");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Color txtcolor=new Color(0,0,0);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(255,255,255);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
Color bordercolor=new Color(0,0,0);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, bordercolor));
frame.setSize(250, 250);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
AutomaClicker
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.EtchedBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("AutomaClicker");
frame.setDefaultCloseOperation(AutomaClicker.EXIT_ON_CLOSE);
Color txtcolor=new Color(0,0,0);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(255,255,255);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
frame.getRootPane().setBorder(BorderFactory.createEtchedBorder(0));
frame.setSize(250, 250);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
GuessTheNumber
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("GuessTheNumber");
frame.setDefaultCloseOperation(GuessTheNumber.EXIT_ON_CLOSE);
Color txtcolor=new Color(0,0,0);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(15,46,86);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
Color bordercolor=new Color(0,0,0);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, bordercolor));
frame.setSize(250, 250);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
JFrame
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("JFrame");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Color txtcolor=new Color(230,0,0);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(255,255,255);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
Color bordercolor=new Color(0,0,0);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, bordercolor));
frame.setSize(250, 250);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
JFrame
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("JFrame");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Color txtcolor=new Color(0,0,0);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(255,247,163);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
Color bordercolor=new Color(0,0,0);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, bordercolor));
frame.setSize(250, 250);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
Library System - Login
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("Library System - Login");
frame.setDefaultCloseOperation(Library System - Login.EXIT_ON_CLOSE);
Color txtcolor=new Color(0,0,0);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(255,255,255);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
Color bordercolor=new Color(0,0,0);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, bordercolor));
frame.setSize(300, 130);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
JFrame
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("JFrame");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Color txtcolor=new Color(0,0,0);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(0,0,0);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
Color bordercolor=new Color(0,0,0);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, bordercolor));
frame.setSize(1080, 720);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
JFrame
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("JFrame");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Color txtcolor=new Color(69,58,58);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(255,255,255);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
Color bordercolor=new Color(0,0,0);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, bordercolor));
frame.setSize(450, 550);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
Donate Control
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("Donate Control");
frame.setDefaultCloseOperation(Donate Control.EXIT_ON_CLOSE);
Color txtcolor=new Color(0,255,30);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(210,254,219);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
Color bordercolor=new Color(0,255,17);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(2, 2, 2, 2, bordercolor));
frame.setSize(250, 250);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
Donate Control
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("Donate Control");
frame.setDefaultCloseOperation(Donate Control.EXIT_ON_CLOSE);
Color txtcolor=new Color(212,255,0);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(180,254,229);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 20));
Color bordercolor=new Color(0,255,4);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(2, 2, 2, 2, bordercolor));
frame.setSize(550, 350);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
Start Panel
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.LineBorder;
import javax.swing.border.Border;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("Start Panel");
frame.setDefaultCloseOperation(Start Panel.EXIT_ON_CLOSE);
Color txtcolor=new Color(29,27,27);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(39,32,32);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("fantacy", Font.BOLD, 20));
Color bordercolor=new Color(11,35,224);
Border border = new LineBorder(bordercolor, 20);
frame.getRootPane().setBorder(border);
frame.setSize(700, 500);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */
JFrame
/* Copy Code */
import javax.swing.*;
import java.awt.*;
import javax.swing.border.MatteBorder;
public class MyFrame {
public static void main(String[] args) {
JFrame frame=new JFrame("JFrame");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Color txtcolor=new Color(0,0,0);
frame.getContentPane().setForeground(txtcolor);
Color bgcolor=new Color(255,209,209);
frame.getContentPane().setBackground(bgcolor);
frame.setFont(new Font("verdana", Font.BOLD, 17));
Color bordercolor=new Color(0,0,0);
frame.getRootPane().setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, bordercolor));
frame.setSize(250, 250);
frame.setLayout(null);
frame.setVisible(true);
}
}
/* end */