0

Hey guys, I am new to Java and recently developed a small GUI-based project in Windows using Netbeans IDE. So I try build the project and retrieve the .jar file and it runs well on my Windows computer. Then I copy the .jar file to a Ubuntu Linux computer and runs it there, the problem is some of the buttons/interface is "hidden" or out of sight, even if I drag the window size for it to be bigger these interface stay.."truncated". Any ideas guys?

3
Contributors
5
Replies
6
Views
5 Years
Discussion Span
Last Post by JamesCherrill
0

sounds like he used a NullLayout or something very similar, with fixed size (in pixels) controls rather than letting the LayoutManager determine the pixel size based on content size.
There won't be a "port" for that, rather it will have to be recreated from scratch.

0

sounds like he used a NullLayout or something very similar, with fixed size (in pixels) controls rather than letting the LayoutManager determine the pixel size based on content size.

Yes, that was my immediate suspicion too, hence my question.

Are you there Steven7?

0

Actually I used Free Design. So theres no way to "port" that huh?

0

Well, that should be OK. According to the doc NetBeans "free design" uses GroupLayout which should re-size as needed across platforms. I've never used it myself, so I'm not going to be able to help you on this one. Sorry.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.