Creating a JButton component in swing
Java swing provides a native look and feel that emulates the look and feel of several platforms. Here i am going to create a Button and adding it to Frame. For this first create a Jframe object,a JPanel object and a Container object JFrame f = new JFrame(); JPanel panel1 = new JPanel(); Container con… Read More »