Re: Netbeans Swing Design
If you want help, you'll have to provide an SSCCE that demonstrates the problem.
Re: Netbeans Swing Design
Please do not double post your question to the forums. Your other post has been removed. Follow KevinWorkman's advice of posting some short compilable code that demonstrates the problem, without which one doesn't even know where to start to guess.
Re: Netbeans Swing Design
i can post code but the thing is that im using netbeans SE swing builder so all the code is auto generated.
i set the textfield to editable but I can type in the box
when i created a button I:-
-created the button using the swing builder
-double clicked so it creates its own action event
-code =
Code :
jTextField1.setEditable(true);
thanks
Kurt
ps sorry i realise i put my post in the wrong thread. Il be more careful next time
Re: Netbeans Swing Design
If you can't boil the problem down to an SSCCE (which is just as much for your sake as it is for ours), then we really can't help you. We'll just be guessing.
I'd suggest you ditch the GUI builder until you're more comfortable with GUI programming (at which point you probably won't want to go back to the builder anyway).
Re: Netbeans Swing Design
i created a test project and did the basic hello world with a label text field and button and it work.
i then created a new project and copied everything from one to the other and it works!
dont knw why it wasn't working in my other project.
just thought id let you know
Thanks
Kurt
Re: Netbeans Swing Design
Quote:
Originally Posted by
kurt-hardy
i created a test project and did the basic hello world with a label text field and button and it work.
i then created a new project and copied everything from one to the other and it works!
dont knw why it wasn't working in my other project.
just thought id let you know
Thanks
Kurt
That's part of why we ask for an SSCCE. Now you can use the working test project and add a little bit from your broken project at a time. When the working project breaks, you know what caused it and can ask a more specific question.
Re: Netbeans Swing Design
Right i tried what you said. importing and/or copying and pasting everything in a bit at a time
and it stil works even though i didnt change anything.
is there a way i could of accidently set typing or keyboard response to null on the full project?
its working but still would like to know why.
Thanks
Kurt