Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Blank applet
Blank applet [message #771668] Tue, 27 December 2011 17:03 Go to next message
Tobias Lelle is currently offline Tobias Lelle
Messages: 38
Registered: February 2013
Member
I have made an applet using a canvas and it runs fine in google chrome. But when i run it in eclipse it shows only a blank applet. Any idea how to fix it?
Re: Blank applet [message #772747 is a reply to message #771668] Fri, 30 December 2011 08:39 Go to previous messageGo to next message
Harald Lønmo is currently offline Harald Lønmo
Messages: 2
Registered: December 2011
Junior Member
The problem looks to be that the applet won't display the instance of my canvas class when it's running in eclipse...

[Updated on: Fri, 30 December 2011 08:46]

Report message to a moderator

Re: Blank applet [message #772752 is a reply to message #772747] Fri, 30 December 2011 08:52 Go to previous message
Harald Lønmo is currently offline Harald Lønmo
Messages: 2
Registered: December 2011
Junior Member
I found the solution Razz
I had to put the code
setVisible(true)
after adding the canvas to the applet.
Previous Topic:Absolute Size on StatusBar
Next Topic:vbScript plugin
Goto Forum:
  


Current Time: Fri Jul 25 07:30:17 EDT 2014

Powered by FUDForum. Page generated in 0.01916 seconds