Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » JPanel background color as a resource property (JPanel background color as a resource property)
JPanel background color as a resource property [message #884190] Sun, 10 June 2012 07:15 Go to previous message
Poorav Chaudhari is currently offline Poorav Chaudhari
Messages: 3
Registered: June 2012
Junior Member
I was wondering if there was a way where I can set up the background color for my jpanel to a property defined in my properties file. I can do this by directly modifying the code, but the problem is that when viewing the frame in design mode the panel is black. And if i do the same for all components in the frame the entire screen is black and I really can't see how the design is coming along unless I actually run the application.

I hope my issue is clear enough, and that there is a easy solution for this. Netbeans allows you to set up the properties like colors, fonts as a resource.

Thanks
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:XWT XML Schema
Next Topic:native method
Goto Forum:
  


Current Time: Fri May 24 18:50:52 EDT 2013

Powered by FUDForum. Page generated in 0.01618 seconds