jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes How to keep the colors, layout and formatting after generating a. JAR? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to keep the colors, layout and formatting after generating a. JAR? " Watch "How to keep the colors, layout and formatting after generating a. JAR? " New topic
Author

How to keep the colors, layout and formatting after generating a. JAR?

Marvin Legend
Ranch Hand

Joined: Oct 18, 2013
Posts: 35
After generating a. JAR with Netbeans Java, when I play I see the colors of the components, the design and formatting is lost and the form gets a very basic formatting, for example, if I set a button with the color [0, 40.255] and build the. JAR after this, when I run the. JAR this button turns gray, and it happens with all the layout of the form, which is the solution to this guys?


settings:
Netbeans 8.0
Windows 7


Thank you very much.
Stay in peace guys.
Stevens Miller
Ranch Hand

Joined: Jul 26, 2012
Posts: 523
    
    3

Tough question to answer, without more information.

Post your code and we'll have a look. (Please post as little code as you can, that still shows the problem.)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41823
    
  63
Yes, I think we need a lot more information about what "the form" is, how layout, colors, formatting etc. is done and so on. An SSCCE (that's a link) would help.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to keep the colors, layout and formatting after generating a. JAR?