aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Help and About options ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Help and About options ?" Watch "Help and About options ?" New topic
Author

Help and About options ?

Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Hi ranchers

What did you guys do in these menus options ?
Maybe in about I can show some modal dialog showing informations about SCJP assignment...but in help I really dont know..cause my help file will be in HTML.


Fernando Franzini - Java Blog
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
You can disable the help menu if you are not providing online help. Another way is just show the message that online help is not available in this release .
For about, you can display the information about your SCJD Assignment.

I dont provide a menu bar and a toolbar in my assignment

sat
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Hi sat

What do you mean when you say "dont provide" ?
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
Hi,

My application is simple and does not contain a menu bar or toolbar. It has only JTable and few buttons for performing Update, delete and search.

sat
Radi Hadzhiyski
Ranch Hand

Joined: Jun 30, 2009
Posts: 47
i have read somewhere that someone has received almost 0 points for the GUI.
And one of the reasons was, that he didn't provide any menu bar.
The explanation from sun was, that this is not in the requirements, but it is a normal practice, for better usability.

EDIT: Well my menu bar has: File->Exit, Action->Search, Action->Book (i see it from the Eclipse Run->Run, Run->Debug),
Help->Help (only a hint to look at the userguide file), Help->About (name and version + copyright by my name )


SCJP 1.6 (91%), SCJD
Anne Crace
Ranch Hand

Joined: Aug 29, 2005
Posts: 223
Have to agree with Radi on this one. Add a very simple menu. Mine just has File, with Exit and Help with About. For About, i display a pop up with my name version of assignment and the year. I looked at Microsoft Word to see what an About item had in it.


SCJP, SCJD
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Hi rancher
I've decided provide these menu....I won't risk lost these precious points...lollllll
What did you do with help option Anne ?
I've tought showing some joptionPane informing user that there is a help file html....
Anne Crace
Ranch Hand

Joined: Aug 29, 2005
Posts: 223
I just did 'About' under Help. I was going to do html help and had it set up but I decided to make it easier and use the plain text version (userguide.txt). I think I did use JOptionPane for it. My About uses JDialog. Very simple.
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
Hi Radi,

Thanks for pointing out . I will include a menu bar in the main window

sat
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5266
    
  13

Hi guys,

I have a menu-bar. In this menu-bar I have a File menu with a Quit menu-item. And that's it, pretty easy not? And the most important thing about this very easy and simple to implement approach: I passed

Kind regards,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

name and version + copyright by my name

Hi Radi
Would you mind if you show how do you wrotte ? I mean....write here exactly how do you type the text !
Regard.
Tahir Abbas
Ranch Hand

Joined: May 05, 2007
Posts: 44
Hi,

For About option in menu I am thinking just pass this type of information "<html>Sun Assignment <break line> Bodgitt and Scarper 2.2.1 <break line> Developed By: ABC Contact No. 416-111-1111", in the dialogue box.

For Help option: After completion of project I'll run javadoc to generate the HTML file. Then the same HTML I am thinking to link with the help menu.
Radi Hadzhiyski
Ranch Hand

Joined: Jun 30, 2009
Posts: 47
@Fernando: see the attachment.

I think that in the about box is no place for informations, that this program is for the SCJD or
the version of the assignment (URLyBird 1.1.1 or 1.2.3 and so on), because in my opinion the GUI is for the common user, as if
you have implemented a program, that can be downloaded from the internet, so it should provide the version of your program
and not the version of the assignemnt from sun (the user im internet don't care, why you have written the program (SCJD or something else), but
more, that there is a program and its name is so und so, in my case URLyBird with the version v1.0, later maybe 1.1, 1.2 and so on )


@Tahir:
-you mean, you will provide your APIs as Help? The APIs are help for the programmer only, not for the user (for him is the userguide)



[Thumbnail for about.png]

Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Hi Radi

Great !! My about is:




[Thumbnail for about.jpg]

Radi Hadzhiyski
Ranch Hand

Joined: Jun 30, 2009
Posts: 47
Wow, how many names do you have?
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

lollllll
Only these five !!!
Regards.
Maurice Le Chat
Greenhorn

Joined: Jan 20, 2009
Posts: 18
Hi,

Your Help shall be html. That is fine. Me too, I prefere html files for help, mostly!

Look at the following snippet:

This allows you to diplay html - css formatted within a modal help JDialog.

Have fun.

[Edit: put code between [code] and [/code] ubb code blocks]


SCJP 5
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Hi Radi
Help (only a hint to look at the userguide file)

What text did you really put int this hint ?
Did you do html or text help ?
Regard.
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2265
    
    3

Fala ai Fernando!

Champion, I just saw your about window... it looks pretty interesting (specially the text in it!!!)


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Falaaa Robertoooo

Really ? why ? Did you like it ?
I dont remember well where I got it !
So...tell me...whad did you put in your help event menu ?
Regard
Bob Wheeler
Ranch Hand

Joined: Apr 24, 2009
Posts: 317
Hi Fernando,

I agree with Roberto. Fancy stuff you have in your about window. I guess you pass the SCJD just because of the number of your names :-)
I only have the name of the application, URLyBird, the version, the date and my name. Maybe I'll invent some names

cheers
Bob


SCJP 6 - SCJD - SCWCD 5 - SCBCD 5
JavaEnterpriseEditionFaq - TomcatFaq
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2265
    
    3

E ai Fernando!

So...tell me...whad did you put in your help event menu ?


Almost the same thing as you
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5266
    
  13

Fernando Franzini wrote:I dont remember well where I got it !

The starting text certainly comes from Roberto's testing class (I used it too in comment of my classes).

Kind regards,
Roel
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Hi Radi
Help->Help (only a hint to look at the userguide file),

This your 'hint' is a setToolTipText("bla bla") or joptionpane.showInformation ?
And What text did you put ?
I really dont know yeat what I'll put !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help and About options ?