Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [draw2d] ColorConstants return disposed color...
[draw2d] ColorConstants return disposed color... [message #496520] Tue, 10 November 2009 07:29 Go to next message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 551
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

as you can see in the title :
I call :
System.out.println(ColorConstants.red);

and I have :
Quote:
Color {*DISPOSED*}


How can it be possible?

Thanks by advance for any hints,

Aurelien Pupier


Aurélien Pupier - BonitaSoft S.A.
My blog
My company Eclipse-related blog
Re: [draw2d] ColorConstants return disposed color... [message #496568 is a reply to message #496520] Tue, 10 November 2009 10:10 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 551
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Ok, I disposed earlier a Color which was get via ColorConstants

but ColorConstants is calling a new Color???


Aurélien Pupier - BonitaSoft S.A.
My blog
My company Eclipse-related blog
Previous Topic:PrintGraphicalViewerOperation does not print Connections with Style 'Graphics.LINE_DASH'
Next Topic:Vertical and Horizontal Arrangements in a Layout
Goto Forum:
  


Current Time: Sat Apr 19 18:33:37 EDT 2014

Powered by FUDForum. Page generated in 0.10958 seconds