• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

In Urgent Need Of Help! Asap!

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have been given some source codes for which i have to make an application.
Here is a part of it:

i have to make an application using these source codes. Howeverr i am not allowed to edit it.
is there any way i can make an application which can get to these codes?
for example if the user presses the "Add an Account" button from my application, it will read the code from the AddAccount class.
or will i need to write out the codes all over again into my new Interface class?
i know i sound very confused, thats because, well i am.
i was in hospital for most of my OOp classes and now have to do this resit assignment and there is no one to help! so if anyone can help me please reply! im desperate!!
p.s , i proberbly havent explaind my situation well so here is the page where my assignment is:
http://mercury.tvu.ac.uk/oop/oop_ass2r.html

[ edited to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ August 22, 2002: Message edited by: Dirk Schreckmann ]
 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi booba,
What do you want to do man? You want that your code should read and execute code from the given code on a button press. Do you know what r u saying ---to make a compiler.
I hope I properly understood you. :roll:
These classes are given for ur help so that when u design the GUI then the functions to be implemented is given in the src code given to you, they have designed an dos-based system. you have to make a windows application based on it. Yes, ofcourse you have to handle the inputs to be taken from the user seperately that shown in sample code(for eg u have to take textboxes etc.)Try n design, if u can't then the whole javaranch community is there to help u.
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No... all he has to do is use those classes. You don't "read the code". You use the code. Simply instantiate the classes and run their methods in response to an event in your GUI.
 
Booba Degouv
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank You Thomas Paul. You have been a great help. I thought thats the way it should be too, otherwise why would i been given source codes first.
Sorry to be a pain but, could you give me an example or guide me to how i should go about doing that.
i am nearly done with my GUI look and different forms i just need to add the methods or classes in them. Which i dont know how to.
I really appriciate your help.
ThankYou.
reply
    Bookmark Topic Watch Topic
  • New Topic