No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Retired
- Interests
- Computers & Cars
5 Posted Topics
I can do it with a JLabel or a JButton, but can't figure out how in a JTextField. I thought I had found it (txtLonDay.setHorizontalAlignment(JTextField.CENTER)), but that doesn't work the way I want. I want all text entered in the field to be centered, and also all text that is … ![]() | |
Having read some posts on this issue, I downloaded and ran first HijackThis and then VundoFix. HijackThis could not access the hosts file, so I am enclosing it, along with an error message from HijackThis. I tried running HijackThis again, and got the same error. I am also sending the … | |
Can anyone tell me how to get rid of console window? I'm writing a gui program for an assignment... Spoiled by VB... I use the console for troubleshooting while testing or writing code, but would like to make it invisible or close it while sharing with the class. (We run … | |
Re: To use the Integer.parseInt code you will want to validate your input first. If the user enters letters or null, for instance you will get a NumberFormatException and crash. | |
I am new to Java but have some C, C++, VB6, and VB.Net. I've written my first GUI and would like to center it on the screen when it starts. Also, I would like to put the cursor in the appropriate input box, depending on a user's choice of radio … |
The End.