Quantcast
Channel: GUI objects not showing in Java on Mac - Stack Overflow
Browsing all 5 articles
Browse latest View live

Answer by OscarRyz for GUI objects not showing in Java on Mac

You have to add the elements before the component is made visible.Put this as your last line: this.setVisible(true);alt text http://img10.imageshack.us/img10/8210/capturadepantalla200911s.pngThis is...

View Article



Answer by Carl Smotricz for GUI objects not showing in Java on Mac

There are some rules about how you should never touch Swing objects from outside the Swing thread once they've been realized. I always ignore these rules, but it could well be you've been bitten by...

View Article

Answer by DougW for GUI objects not showing in Java on Mac

I could be wrong--been a long time since I've done a GUI in java--but I'm guessing your issue is making the JFrame visible before you finish adding elements. I think you need to either do that...

View Article

Answer by Jonathan Feinberg for GUI objects not showing in Java on Mac

A guess: add the component before setBoundsing it.

View Article

GUI objects not showing in Java on Mac

I've only just begun writing GUI programs, this being my second one. With both projects (both homework assignments) I have had the same issue. The GUI objects (such as JTextField) do not show when the...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>