Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Swing / AWT / SWT and the fly likes There's a problem here Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "There Watch "There New topic

There's a problem here

Sandhya Rprasad

Joined: Mar 01, 2001
Posts: 24
This is a bit tricky. Hopefully, I'll make myself clear as to what is the problem.
Okay, My design stage is this way :
Bean consists of
JScrollPane => JPanel and 2 buttons.
I'm writing a setdata method for the bean such that if I call the setdata, the bean is going to be populated with Labels & TextFields with data in them. I have a class called Nodes defined with 2 member variables, Type and Value => datatype String. I'm passing this Nodes and a Vector parameter in the setdata method. I need to present the appropriate data in the labels and textfields accordingly depending on the values and the type respectively .
Please guide me with this or let me know if you could'nt get the qn. as tricky as it seems to be.
I agree. Here's the link:
subject: There's a problem here
It's not a secret anymore!