Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!

cp954

Greenhorn
+ Follow
since Feb 08, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by cp954

i think i will take your advice about storing ips. i don't know much about java, but i was assigned to work on a gui at work. and my supervisor lives in another state. so, i do tend to have difficulties explaining my java dilemmas to others since i have a tenuous grasp on it myself. thanks for your advice and patience.
--cp
22 years ago
thanks for your vote of non-confidence. heh heh. actually, what i'm trying to do is store the menu names in an oracle database so that i can enable or disable menubar items based on which user
logs on to my gui. i am now trying to put the JMenu and JMenuItems in a vector and retrieve them as JMenuItems so that i can compare the text with my database strings and enable the corresponding JMenu component. i'll have to look up object serialization. thanks.
22 years ago
Thanks for your response. However, my string is actually the name of the JMenu not the menu label.

Originally posted by Jim Yingst:
There's a constructor: new JMenu(String). Read about it at http://java.sun.com/products/jdk/1.2/docs/api/javax/swing/JMenu.html#JMenu(java. lang.String).


22 years ago
how do i convert a string(name of a JMenu) retrieved from a database into a JMenu (so i can enable a MenuBar)?
22 years ago