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.
It is sorta covered in the
JavaRanch Style Guide
subject: Setting to the default element
How to convert byte array into string array?
Tech Word Game
date format with MS Access database
WA #1.....word association
ResultSet to Array
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014