ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 20 May 2017 My Price 9.00

Create a GUI2.Let the user select a data file

Please I want this to be a firs draft. I have seen similar but all the function are not working.

Thanks

Project 1The goals are:1.Create a GUI2.Let the user select a data file, using JFileChooser3.Read the data file, creating the specified internal data structure (see theIntroductionfor theclasses and variables of the structure).4.Display the internal data structure in a nice format in the GUI1.use JScrollPane and JTextArea5.Display the results of a Search specified by the user1.JTextField to specify the search target2.Searching targets: name, index, skill would be a minimumyou are encouraged to provide other options3.Note that a search may return more than one item4.DO NOT create new data structures (beyond the specified internal data structure) tosearchyou may create a structure of found items as a return valueData file format:ï‚·Each item in the simulation will appear on a single line of the data file.ï‚·The data file may have comment lines, which will start with a //.ï‚·There may be blank lines in the data file, which your program should accept and ignore.ï‚·The data lines will start with one of the following flag values, indicating which item is beingspecified, its name, its index, and the index of its parent - which is used to specify the connections used tocreate the internal data structure (ie, assign an item to it parent or parent ArrayList).ï‚·For most items there will be additional fields appropriate to the class of that item.ï‚·The fields on a line are space delimited (perhaps more than one space)oThis works well with Scanner methods, suchasnext(),nextInt()andnextDouble().Here are the details of valid lines, with an example of each line.// port name index parent(null)// port <string> <int> <int>port Kandahar 10002 0// dock name index parent(port)// dock <string> <int> <int>dock Pier_5 20005 10001 30005// ship name index parent(dock/port) weight length width draft// ship <string> <int> <int> <double> <double> <double> <double>ship Reason 40003 10000 165.91 447.15 85.83 27.07// cship name index parent(dock/port) weight length width draft cargoWeightcargoVolume cargoValue// cship <string> <int> <int> <double> <double> <double> <double> <double><double> <double>cship Suites 40003 10000 165.91 447.15 85.83 27.07 125.09176.80 857.43// pship name index parent(dock/port) weight length width draft numPassengersnumRooms numOccupied

Attachments:

Answers

(11)
Status NEW Posted 20 May 2017 12:05 PM My Price 9.00

-----------

Not Rated(0)