What void said, but in addition, with Java, constants will be tagged with the "final" keyword. Eg:
public static final String numberPattern = "0123456789";
Then with variables, they are (in some sense) everything without the "final" keyword. Eg:
private String hi = "hi";
Integer zero = new Integer( 0 );
protected JFrame frame = new JFrame( );
int counter = 0;
etc.