Results 1 to 2 of 2
Thread: First post. with a java question
- 04-02-2012, 03:48 AM #1Member
- Join Date
- Apr 2012
- Rep Power
First post. with a java question
well hello to all. i am new to this forum, i joined because i am having some problems with a program i am trying to write.
i am in computer programming class, and we are having to write a program that reads information from 2 files. there has to be a dialog box that lets the user choose which file to read from.
once the choice is chosen, the program has to take the information from that file and turn it into a tri-color flag. the orientation of the flag (vertical/horizontal ) depends on the chosen file.
it is not an applet. it has a flag class that will hold the information from the file. and it has a constructor/tester. and then there is the viewer.
so i know the basics of what i want this program to do. but i dont know where to start as far as the actual coding goes. i am sure i should know more than i do, but my teacher is rubbish. i have a decent starting place i think, but it does not run nor does it completely compile.
my tester works, but my other components do not.
my classes are the tester/constructor, the flagPanel and the flags
i guess i should ask where should i put the "thing" that asks the user what file to load? would that go in my flagPanel class?
and i g=have all my gets and sets in my flags class.
and the Tester just has the code to display the box all this will go into.
thanks! and sorry for the long post.
any advice would be greatly appreciated.
- 04-02-2012, 07:55 AM #2
Re: First post. with a java questionsorry for the long post.
where should i put the "thing" that asks the user what file to load?
dbIf you're forever cleaning cobwebs, it's time to get rid of the spiders.
- By Teesea in forum New To JavaReplies: 2Last Post: 08-11-2011, 02:03 PM
- By AcousticBruce in forum New To JavaReplies: 11Last Post: 01-10-2011, 12:22 PM
- By afisher300 in forum New To JavaReplies: 3Last Post: 05-04-2009, 04:15 AM
- By xtrmi in forum New To JavaReplies: 4Last Post: 02-01-2009, 06:47 PM
- By m_kaleia in forum New To JavaReplies: 8Last Post: 07-19-2008, 07:27 PM