Results 1 to 2 of 2
Thread: I would then store a string...
- 07-13-2007, 05:46 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 44
- Rep Power
- 0
I would then store a string...
I would like to know how to store a string into a class without using a text file to save it. I would like to store a string, exit a program, and load a string in which I requested. I would then store a string inside another class to hold inputed data.
Lets say I want to input a name using this code.
I want to store name somewhere and retrieve it when I request it.Java Code:inputName = JOptionPane.showInputDialog("Enter your name: ");
Thanks
- 08-07-2007, 04:15 AM #2
Member
- Join Date
- Jul 2007
- Posts
- 40
- Rep Power
- 0
You should look up some JNDI tutorials. JNDI is used to store and retrieve objects by other applications or the same application at a different time.
Greetings.
Similar Threads
-
How would you get information from a file and then store it in an array?
By szimme101 in forum Advanced JavaReplies: 3Last Post: 04-07-2008, 06:02 PM -
Store retrieve and delete
By on7june in forum New To JavaReplies: 1Last Post: 03-08-2008, 05:57 PM -
store file
By kazitula in forum Java AppletsReplies: 0Last Post: 02-17-2008, 09:45 PM -
Is it possible to get and store items to a variable in a combo box?
By Soda in forum New To JavaReplies: 2Last Post: 12-05-2007, 01:19 PM -
how to use btree to store data
By fred in forum New To JavaReplies: 1Last Post: 08-07-2007, 05:52 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks