File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sample maintenance disply

 
Bill Raterink
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 276
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic