Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-02-2009, 05:10 PM
Member
 
Join Date: Jul 2009
Posts: 30
Rep Power: 0
IYIaster is on a distinguished road
Default simple question feel stupid asking...
I have a combo box with some different options when someone chooses an option i just want to get the test in the field. Netbeans doesn't seem to know how to do this.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 10-02-2009, 05:14 PM
Member
 
Join Date: Jul 2009
Posts: 30
Rep Power: 0
IYIaster is on a distinguished road
Default
never mind i figured it out i was trying to set it as a string instead of an object.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 10-02-2009, 06:03 PM
Member
 
Join Date: Sep 2009
Location: Italy, Turin
Posts: 39
Rep Power: 0
atom86 is on a distinguished road
Default
exactly.. and remember that if you want to read their content (the content of jComboBox Items) you can downcast those objects into a String without any problems
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 10-02-2009, 06:04 PM
Member
 
Join Date: Jul 2009
Posts: 30
Rep Power: 0
IYIaster is on a distinguished road
Default
thats what I'm trying to do now lol
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Question barusk Networking 13 03-04-2009 08:33 PM
a really stupid question SwinGirl NetBeans 10 06-25-2008 10:06 PM
Simple Method Question Froz3n777 New To Java 2 02-13-2008 03:39 AM
Quick Stupid Question bluekswing New To Java 7 01-08-2008 07:35 PM
Probably a really simple question... ibanez270dx New To Java 0 11-16-2007 02:27 AM


All times are GMT +2. The time now is 06:38 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org