• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

From Maha Anna Discussion

 
Tinu
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
maha anna
Ranch Hand
Posts: 1467
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1467
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi maha ,
I know but my name is too long .
So I prefer this one.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rosemol Thanjappan
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajith,
Ok i am changed

 
Rosemol Thanjappan
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi maha,
Thank you .
I got the source code
 
Ajith Kallambella
Sheriff
Posts: 5782
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

PS : Press CTRL+C when you get tired
Ajith
 
Rosemol Thanjappan
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1467
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Rosemol for your understanding.
regds
maha anna
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic