| JPanel background color as a resource property [message #884190] |
Sun, 10 June 2012 07:15  |
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
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02227 seconds