Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Design issue on data entry

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I doing a plotting graph project. This project requires user to input over 100 pts of x and y data into the database before it can start plotting. I am stuck at how to let user enter the x and y value. Using a textfield? Then i will have to create a user interface with 100 over textfield. This of course not going to work. Can someone help me on the design issue. What is the fastest and easiest way to input all the 100 data.
Thanks
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would let the user upload a file OR paste into a large textfield data formatted as one xy pair per line.
1.0,2.4
2.1,3
.... etc for 98 more lines.
The resulting String can be turned into a StringReader and read one line at a time.
Just think about how the user is likely to approach the interface, the data already exists somewhere, why not provide for just pasting it in?
Bill
 
Hydra Iris
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's a good idea. I will try out the both methods.
Thank You Very Much
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic