This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Sample maintenance disply Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Sample maintenance disply" Watch "Sample maintenance disply" New topic
Author

Sample maintenance disply

Bill Raterink
Greenhorn

Joined: Sep 03, 2003
Posts: 29
Does anyone have/know of a sample code/program that shows how to display a file's fields on a screen for user editing? I can display the wole file in a text area, but when I tried to switch & use textFIELDS, the wheels fell off. I have to be both stand-alone, & "old java" compatible (ie. no fancy stuff) & can't use a browser(which lets out an applet). The file is a 50-element array, with each element being 7 fields. I'd like to show ONE element on the screen & then just use an up/down button to scroll forward/backward through the file, then write the array back out on the SAVE_button_Click event. (Sorry 'bout the VB slipping out). I've been programming 30+ years & this is my maiden JAVA voyage. It's been fun....so far. ; ) Thanks, -Bill.
Kim Kantola
Ranch Hand

Joined: May 17, 2001
Posts: 274
Did you want to scroll through the 50 elements, pick one from the list, and then edit the 7 items of that one element? Or do you want to be able to edit all 7 items of all 50 elements on the page at one time?
Bill Raterink
Greenhorn

Joined: Sep 03, 2003
Posts: 29
Kim, thanks for the reply. I would like to edit all the fields for a given element on the screen at once. This could be a "child" window if needed, but 3 of the fields are actually Comments & another 3 are 40 byte segments of a single customer display message. Thanks, -Bill.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Bill!
I'm moving this to the Swing / JFC / AWT forum where those GUI folks might have some ideas for you...
[ September 06, 2003: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
jQuery in Action, 2nd edition
 
subject: Sample maintenance disply