jinnyishere's Profile
Reputation: 44
Craftsman
- Group:
- Authors
- Active Posts:
- 127 (0.09 per day)
- Joined:
- 06-July 09
- Profile Views:
- 7,645
- Last Active:
Mar 22 2013 02:04 AM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Who Cares
- Favorite Browser:
- Internet Explorer
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- Playstation
- Your Car:
- Who Cares
- Dream Kudos:
- 275
Latest Visitors
-
Tglenb 
25 May 2013 - 06:58 -
proahm 
24 May 2013 - 06:05 -
Kainyu 
20 May 2013 - 02:52 -
k3y 
02 Mar 2013 - 20:50 -
macosxnerd101 
16 Feb 2013 - 14:34
Posts I've Made
-
In Topic: Swing Tutorial Part IV
Posted 22 Mar 2013
John-acme, on 19 October 2012 - 11:04 AM, said:String select = (String)list.getSelectedValue();
why code above can work..? as I know if you want to access another class variable's value, need a reference or accessor method..? and list is in SelectList class..
Would you mind explain to me? thanks.
Hi, I know it's been a year but better late than never.
If you look at the following:
//Here we create an array of Strings
String[] months = {"Jan.", "Feb.", "March", "April", "May", "June", "July", "Aug.", "Sept.", "Oct.", "Nov.", "Dec"};
//Now, adding the Strings to the list
list = new JList(months);
We have just created a JList, name " list ".
Now in order to get the selected value from the list, we use the " getSelectedValue() " method from JList. That method returns an object, so we have to cast it into a String.
"Note: I didn't create the method getSelectedValue(), it's already defined in the JList class"
Hope that helps..
~Jay -
In Topic: Cross Platform Software iPhone, Andriod, Windows Mobile components
Posted 4 May 2012
You can look into PHP, JSON, and XML to accomplish your task. I have some examples on my site for iPhone and Window Phone on how to use PHP, JSON and XML.. -
In Topic: windows phone
Posted 4 May 2012
Microsoft itself has some great tutorials...
www.create.msdn.com
I have some tutorials myself too -
In Topic: Swing Tutorial Part III
Posted 4 May 2012
-
In Topic: Swing Tutorial V
Posted 4 May 2012
My Information
- Member Title:
- D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
- Interests:
- Math, Java, JavaFX, C++, Hacking, games, badminton, tennis, drawing, swimming, movies, and girlssss of course
- Programming Languages:
- Java, C++, JavaFX
Contact Information
- E-mail:
- Private
- Website URL:
-
http://www.cppjj.com
Friends
|
|


Find Topics
Find Posts
View Reputation Given

|
Comments
jinnyishere
28 May 2010 - 17:59