A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Setting to the default element
Joined: Oct 18, 2004
Nov 18, 2004 02:19:00
If the user enters a emty
then set the combo selection to the string that was previously selected.
Please give a way out of this problem.
Joined: May 18, 2004
Nov 18, 2004 05:31:00
the length of the string or see if the string is all space characters, or use trim to remove white space and then test the length. If the string is in one of these conditions, then don't add it to the box.
I agree. Here's the link:
subject: Setting to the default element
WA #1.....word association
How to convert byte array into string array?
ResultSet to Array
date format with MS Access database
Tech Word Game
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014