• 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

question about "help class" for mark

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi mark
i have seen previous topic about your design.
i am writing "help" but could find a proper way.
i have seen your design like follows:

jar -cvfm server.jar c:\devexam\manifest\server\manifest.mf suncertify\db\*.class suncertify\help\*.class
jar -cvfm client.jar c:\devexam\manifest\client\manifest.mf suncertify\client\*.class suncertify\db\*.class suncertify\help\*.class


but i am still wondering about what help package
here is . Can u give me some suggestion?
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Basically I had only one class in this package called Documentation.
It is basically a JPanel with a JScrollPane to display the HTML page for help.
The constructor takes a string that is the hmtl filename for the file that has the help.
It was a small class only about 25 lines.
And if you changed my signature of the constructor, this class could have been used by any application. The added parameter would have been a window title string. Oh well. No biggie.
Mark
 
kevin chang
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi mark,
is that to say this class just make a link to index.html of javadoc?
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What that means is that when I instantiate the class, I pass a path\filename to the constructor and it displays a JPanel with a JScrollPane in it that displays the .html page that I passed to its constructor.
So it's not really what I'd call a link. I think of a link as the blue underliney things on a web page.
Mark
 
reply
    Bookmark Topic Watch Topic
  • New Topic