Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Blank applet
Blank applet [message #771668] Tue, 27 December 2011 22:03 Go to next message
Eclipse GuestFriend
Messages: 93
Registered: February 2013
Location: Vienna
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 13:39 Go to previous messageGo to next message
Harald Lønmo is currently offline Harald LønmoFriend
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 13:46]

Report message to a moderator

Re: Blank applet [message #772752 is a reply to message #772747] Fri, 30 December 2011 13:52 Go to previous message
Harald Lønmo is currently offline Harald LønmoFriend
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 Dec 19 15:53:01 GMT 2014

Powered by FUDForum. Page generated in 0.01877 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software