• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can I use SUN classes from JFC examples

 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was thinking of taking TableSorter class from JFC demo comes with JDK1.5. Can I use it keeping SUN disclaimer in that class???

please let me know...

thanks
 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Ken

You can inspire afther the TableSorter. All the class in your project must be standard java classes or your own classes.

Regards M
[ September 13, 2006: Message edited by: Mihai Radulescu ]
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah it has to be your class but SpringUtilities class also helps in great deal for using SpringLayout. I mean SUN should include such classed in API but they are not (like SwingUtilities)...

Can anyone confirm who has used such standard SUN provided classes in assignment for GUI purpose.

Thanks
 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
will work out something else instead of risking auto fail...
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun should not keep adding stuff to the language just because people say they "should". They're already including everything and the kitchen sink "because Ruby has it" (or whichever language is hyped at the time), causing Java to become ever more obscure and difficult to learn and use.

And indeed, you can NOT use ANYTHING that's not part of the core distribution. Your assignment document states to explicitly and any failure to do so is an automatic failure.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic