File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Sample maintenance disply

Bill Raterink

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 far. ; ) Thanks, -Bill.
Kim Kantola
Ranch Hand

Joined: May 17, 2001
Posts: 276
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

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

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]
I agree. Here's the link:
subject: Sample maintenance disply
It's not a secret anymore!