• Post Reply Bookmark Topic Watch Topic
  • New Topic

question about "help class" for mark

 
kevin chang
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • 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?
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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
  • 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
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!