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.
Joined: May 17, 2001
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?
Joined: Sep 03, 2003
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.
Joined: Dec 10, 2001
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 ]