Click here to Skip to main content
15,891,657 members
Home / Discussions / Java
   

Java

 
GeneralRe: Input validation loop issue - JAVA Pin
Richard MacCutchan4-Nov-11 22:21
mveRichard MacCutchan4-Nov-11 22:21 
GeneralRe: Input validation loop issue - JAVA Pin
LEKnowlton5-Nov-11 0:32
LEKnowlton5-Nov-11 0:32 
GeneralRe: Input validation loop issue - JAVA Pin
Richard MacCutchan5-Nov-11 3:45
mveRichard MacCutchan5-Nov-11 3:45 
GeneralRe: Input validation loop issue - JAVA Pin
LEKnowlton5-Nov-11 11:55
LEKnowlton5-Nov-11 11:55 
GeneralRe: Input validation loop issue - JAVA Pin
Richard MacCutchan5-Nov-11 21:31
mveRichard MacCutchan5-Nov-11 21:31 
GeneralRe: Input validation loop issue - JAVA Pin
LEKnowlton6-Nov-11 1:04
LEKnowlton6-Nov-11 1:04 
GeneralRe: Input validation loop issue - JAVA Pin
Richard MacCutchan6-Nov-11 1:29
mveRichard MacCutchan6-Nov-11 1:29 
GeneralRe: Input validation loop issue - JAVA Pin
LEKnowlton6-Nov-11 2:08
LEKnowlton6-Nov-11 2:08 
I totally agree! I let myself get hung up on not breaking the loop. Bad input should break the loop, since proper input is mandatory.

I've pretty much just started learning java on my own, but had taken a C# course last semester, so I have a little bit of a leg up on it.

For a linux class project, I'm going to make an IPV4 subnet calculator using the linux Netbeans IDE. So, I thought I'd make a simple GUI program in Netbeans to figure out the GUI mechanics.

The program this code is from is a drastically simple calculator that adds two floats (if valid) and displays the result in a third textbox.

Now, its just a matter of figuring out how to get mnemonics and keybinds to work for the Add, Clear and Exit buttons. The Netbeans IDE isn't all that clear on how to do that, so the digging for information continues Smile | :)

Thanks for your time on this rather simple fix!
GeneralRe: Input validation loop issue - JAVA Pin
Richard MacCutchan6-Nov-11 3:05
mveRichard MacCutchan6-Nov-11 3:05 
GeneralRe: Input validation loop issue - JAVA Pin
LEKnowlton6-Nov-11 12:05
LEKnowlton6-Nov-11 12:05 
GeneralRe: Input validation loop issue - JAVA Pin
Richard MacCutchan6-Nov-11 22:25
mveRichard MacCutchan6-Nov-11 22:25 
AnswerRe: Input validation loop issue - JAVA [SOLVED] Pin
Richard MacCutchan6-Nov-11 22:42
mveRichard MacCutchan6-Nov-11 22:42 
QuestionMust correct the syntactic and semantic errors Pin
Member 83667461-Nov-11 15:37
Member 83667461-Nov-11 15:37 
AnswerRe: Must correct the syntactic and semantic errors Pin
Peter_in_27801-Nov-11 17:29
professionalPeter_in_27801-Nov-11 17:29 
GeneralRe: Must correct the syntactic and semantic errors Pin
TorstenH.1-Nov-11 21:43
TorstenH.1-Nov-11 21:43 
AnswerRe: Must correct the syntactic and semantic errors Pin
TorstenH.1-Nov-11 21:46
TorstenH.1-Nov-11 21:46 
GeneralRe: Must correct the syntactic and semantic errors Pin
Firo Atrum Ventus1-Nov-11 22:28
Firo Atrum Ventus1-Nov-11 22:28 
GeneralRe: Must correct the syntactic and semantic errors Pin
TorstenH.1-Nov-11 23:01
TorstenH.1-Nov-11 23:01 
QuestionFile Explorer Pin
HTT901-Nov-11 2:12
HTT901-Nov-11 2:12 
AnswerRe: File Explorer Pin
TorstenH.1-Nov-11 21:41
TorstenH.1-Nov-11 21:41 
GeneralRe: File Explorer Pin
David Skelly1-Nov-11 23:33
David Skelly1-Nov-11 23:33 
GeneralRe: File Explorer Pin
TorstenH.1-Nov-11 23:57
TorstenH.1-Nov-11 23:57 
GeneralRe: File Explorer Pin
David Skelly2-Nov-11 2:57
David Skelly2-Nov-11 2:57 
GeneralRe: File Explorer Pin
HTT902-Nov-11 6:23
HTT902-Nov-11 6:23 
Questionjava image processing Pin
sagar lachure31-Oct-11 19:41
sagar lachure31-Oct-11 19:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.