This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package apples; | |
import java.awt.*; | |
import java.awt.event.*; | |
import javax.swing.*; | |
import javax.swing.event.*; | |
public class gui2 extends JFrame { | |
private JPanel mousepanel; | |
private JLabel statusbar; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package apples; | |
import java.awt.*; | |
import java.awt.event.*; | |
import javax.swing.*; | |
import javax.swing.event.*; | |
public class gui2 extends JFrame { | |
private JPanel mousepanel; | |
private JLabel statusbar; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package apples; | |
import java.awt.*; | |
import java.awt.event.*; | |
import javax.swing.*; | |
import javax.swing.event.*; | |
public class Gui extends JFrame { | |
private JList leftlist; | |
private JList rightlist; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package apples; | |
import java.awt.*; | |
import java.awt.event.*; | |
import javax.swing.*; | |
import javax.swing.event.*; | |
public class Gui extends JFrame { | |
private JList list; | |
private static String[] colornames = {"black", "blue", "red", "white"}; | |
private static Color[] colors = { Color.BLACK, Color.BLUE,Color.RED,Color.WHITE}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package apples; | |
import java.awt.*; | |
import java.awt.event.*; | |
import javax.swing.*; | |
import javax.swing.event.*; | |
public class Gui extends JFrame { | |
private JList list; | |
private static String[] colornames = {"black", "blue","red","white"}; | |
private static Color[] colors = {Color.BLACK, Color.BLUE, Color.RED,Color.WHITE}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package apples; | |
import java.awt.*; | |
import java.awt.event.*; | |
import javax.swing.*; | |
public class Gui extends JFrame { | |
private JComboBox box; | |
private JLabel picture; | |
private static String[]filename = {"b.png","x.png"}; | |
private Icon[] pics = {new ImageIcon (getClass().getResource(filename[0]))}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package apples; | |
import java.awt.*; | |
import java.awt.event.*; | |
import javax.swing.*; | |
public class Gui extends JFrame { | |
private JTextField tf; | |
private JCheckBox boldbox; | |
private JCheckBox italicbox; |
NewerOlder