For quite a while now, I've been hearing good things about the netBeans Java Forms gui designer, so I decided it was about time I learned how to use it. I'm working on transitioning an old undergrad project of mine into the JavaForms format. It's a simple chat client, I'm sure everyone on here has done one at one time or another. All the code is there, I just can't get the JFrame to actually populate when I start the program, it's just a small blank box. I'm sure it's a simple initialization, but I can't figure out where, and why the JavaForms wouldn't do this for me.
Any help would be appreciated, I'm sure it's something stupid I overlooked.
Jon Richards wrote:I'm concerned about this Mr. Winston fellow... I take it he hates long lines? haha. Those were the automatically generated lines by Java Form.
It's against forum rules, as you can see if you read UseCodeTags. Pay attention to this part:
NOTE: Please keep lines inside code blocks under 100 characters. Firstly, it's easier to read; secondly, excessively long lines tend to screw up the windowing, particularly if you don't have very high screen resolutions.
Joined: Oct 05, 2012
Ahh. My apologies. Did not read the code posting rules.
Jon Richards wrote:Crap, the edit option disappeared. My apologies.
The edit button vanishes a certain time after you post. I have forgotten whether it is 12 hours or 24 hours afterwards. I shall change those long lines for you. The real explanation is that the GUI editor code is meant to be collapsed, and you are not meant to read it. Most of here think you can’t read GUI creator code anyway. I think it is supposed to hurt your brain