This site requires JavaScript, please enable it in your browser!
Greenfoot back
JetLennit
JetLennit wrote ...

2014/10/29

New JFrame

JetLennit JetLennit

2014/10/29

#
Is it no longer possible to open a new JFrame in your scenario? It was working great in greenfoot, but when I posted it I couldn't open the frame. Another problem could be that since I'm not using them I removed the sound and image folder, but I'm not sure if that is a thing that is a problem.
Super_Hippo Super_Hippo

2014/10/29

#
I don't know what a JFrame is. I think I saw it once when testing out Eclipse, but I didn't understand anything there, so I moved back to Greenfoot where I don't need such things... Did you update to Java 8? Maybe this causes the problem like it blocks the storage. But it could be completely different, just an idea. ;)
JetLennit JetLennit

2014/10/29

#
Thanks for helping, but I have yet to update.
danpost danpost

2014/10/29

#
It might be that because JFrame creates a top-level frame, you cannot create one from within an applet. Did you try using JInternalFrame?
NikZ NikZ

2014/10/30

#
Super_Hippo wrote...
I don't know what a JFrame is. I think I saw it once when testing out Eclipse, but I didn't understand anything there, so I moved back to Greenfoot where I don't need such things... Did you update to Java 8? Maybe this causes the problem like it blocks the storage. But it could be completely different, just an idea. ;)
It is a pop up box/frame. Add JComponent to it for content.
You need to login to post a reply.