All pastes #596728 Raw Edit

Stuff

public java v1 · immutable
#596728 ·published 2007-06-30 04:33 UTC
rendered paste body
public class PokeServerStatusGUI {    public JTextPane statusDisplay;    public JPanel PSS;    Color green = new Color(0, 204, 0);    Color red = new Color(204, 0, 0);    public void online() {        PSS.setBackground(green);        statusDisplay.setText("The PokeServer is ONLINE!");    }    public void offline() {        PSS.setBackground(red);        statusDisplay.setText("The PokeServer is OFFLINE!");    }}