Created
April 16, 2009 07:09
-
-
Save 4ndrew/96283 to your computer and use it in GitHub Desktop.
This file contains 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
public class AWTUI implements UIPlug, XLetStateListener { | |
static AWTUI instance = null; | |
// ... | |
AWTUI(/* params */) { | |
// ... | |
} | |
public synchronized static AWTUI getInstance() { | |
if (instance == null) { | |
// ... | |
instance = new AWTUI(/* params */); | |
} | |
return instance; | |
} | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment