Hello,,,
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)
gameInterface.getFrame().setVisible(true);

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!

thanks!

any help please! :(

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!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.