Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HELP!! - URLyBird

 
Jimmy Persson
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I need some help/advise.
My requirements states that all code must be my own or a part of Java Standard.
Now to my dilemma, I want to use SwingWorker (http://java.sun.com/products/jfc/tsc/articles/threads/threads2.html) to ensure stability etc.
No this class is not a part of Java Standard and must be downloded from the site above.
Now is it allowed to use this class, since it is a Sun-class?
The user don't have to download anything since this class is a part of my package.
 
Jonathan Moore
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it needs to be downloaded then I wouldn't use it - it will probably be an automatic failure.

Can I ask why you need it? I had no need to perform any background tasks in my project (URLyBird 1.1.3).

Cheers
Jon
 
Jimmy Persson
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I think I overdid the GUI a bit =)
I'm using a ProgressMonitor to track the progress when I'm searching the DB via a network. So for this to update properly I have to perform some work in the background otherwise the GUI freeze.
Maybe I have implemented it wrong but that's the case.

Well I will create my own class that works just like SwingWorker. Then I should be safe, I hope
 
Jonathan Moore
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Be carefull abut adding extra things like progress bars - they're not part of the requirements so you won't get extra marks for them, but you may be marked down if you introduce any bugs.

Jon
 
Eiji Seki
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you will have an automatica failure. The spec is clear about not using anything not included in the standard JDK. Even if you provide the necessary library, then you will be breaking the "all code must be implemented by you" rule. You should take it away.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic