How to make the GUI frame visible? I have looked and this is what I came up with:

Interface gameInterface = new Interface(object1Instance, object2Instance, this)

is this the way it should be? I have refrained from using a singleton class because I wanted to pass instances of other objects to it, along with an instance of the main class!

any help is much appreciated!


Your question is far too vague. setVisible(true) is the way to make an invisible component visible, but what has that got to do with singletons?
If you ask a much more specific question, with enough background for us to understand what yur problem really is, then I'm sure someone will help you.

I finally tried it and it worked! Thanks anyways!

thanks JamesCherrill, will try to make the questions clearer!