aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes From Maha Anna Discussion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "From Maha Anna Discussion " Watch "From Maha Anna Discussion " New topic
Author

From Maha Anna Discussion

Tinu
Greenhorn

Joined: Dec 01, 2000
Posts: 2

THE java.awt PACKAGE - LAYOUT :number 14
Topic: All components inherit menucontainer

The source code for MenuContainer interface
------------------------------------------------

public interface MenuContainer {
Font getFont();
void remove(MenuComponent comp);
boolean postEvent(Event evt);
}


Where can we get the source code for these API classes and methods?

Thanking you
Tinu

Thanking you<BR>Tinu
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
There will be a src.jar file in your jdk installation dir. It could be c:\jdk1.2.2\src.jar . we have to extract the source file from this jar file.
1. jar -tf src.jar > out.txt
2. Find out the full path of this interface from out.txt
3. jar -xf src.jar [fullpathOfInterfacefile]
regds
maha anna
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Tinu,
I forgot to say this. Javaranch has a naming policy as described in www.javaranch.com/name.jsp . Please re-register with first and last names. Thank you for your co-operation.
regds
maha anna
Tinu
Greenhorn

Joined: Dec 01, 2000
Posts: 2
Hi maha ,
I know but my name is too long .
So I prefer this one.
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Tinu,
Sorry to say there can be no exceptions to the naming policy. It is okay if your full name is too long, but you are required to comply with the policy.
Thank you for your cooperation,
Ajith


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Rosemol Thanjappan
Ranch Hand

Joined: Aug 08, 2000
Posts: 40
Ajith,
Ok i am changed

Rosemol Thanjappan
Ranch Hand

Joined: Aug 08, 2000
Posts: 40
Hi maha,
Thank you .
I got the source code
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782

PS : Press CTRL+C when you get tired
Ajith
Rosemol Thanjappan
Ranch Hand

Joined: Aug 08, 2000
Posts: 40
Hi Ajith,
Of course I will.
I thought my signature will append automatically.
Since it didn't come ,I think i didn't provided one
Sorry ......

Thanking you
Rosemol
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Thank you Rosemol for your understanding.
regds
maha anna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: From Maha Anna Discussion
 
Similar Threads
implementing interface question
What do u say?
Question about Menu (MenuBar, PopupMenu)
AWT Container
All components inherit menucontainer???