Java Language Reference

2001-11-06 Thread Sage net31

Greetings,
 I am new to this list and to the Java programming language. As such, I 
would like to post my first question.  Does anyone know where there might be 
an online Language Reference manual that I can either download or view?

I am not talking about the language specification that is typically offered, 
rather, a book(or online manual) that offers a relativley complete 
collection of all standard classes and methods.

Thank you all for your time.

-Ben



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Java Language Reference

2001-11-06 Thread Andreas Micklei

On Tue, Nov 06, 2001 at 10:15:20AM -0500, Sage net31 wrote:
> I am not talking about the language specification that is typically offered, 
> rather, a book(or online manual) that offers a relativley complete 
> collection of all standard classes and methods.

What's wrong with the JavaDoc that can be downloaded along with the JDK
from SUN?

-- 
Andreas Micklei
IVISTAR Kommunikationssysteme AG
Ehrenbergstr. 19 / 10245 Berlin
http://www.ivistar.de


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Java Language Reference

2001-11-06 Thread Anil Kumar


Here it is:
http://java.sun.com/docs/books/jls/





On Tue, 6 Nov 2001, Sage net31 wrote:

> Greetings,
>  I am new to this list and to the Java programming language. As such, I 
> would like to post my first question.  Does anyone know where there might be 
> an online Language Reference manual that I can either download or view?
> 
> I am not talking about the language specification that is typically offered, 
> rather, a book(or online manual) that offers a relativley complete 
> collection of all standard classes and methods.
> 
> Thank you all for your time.
> 
> -Ben
> 
> 
> 
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




inner class

2001-11-06 Thread flora yuan

Hi,
class B is inner class of A. I want to invoke method putdate() which is 
defined in class A from inner class B. what's the syntax?

public class A{
   public void putData(){
   ..
   }

   protected class B{
  public void doSomething{
   putData();//need to invoke method putdata. incorrect syntax.
  }
   }
}

Thanks,

Flora

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Java on iPaq

2001-11-06 Thread Valentin Crettaz



I'm trying to run Java application on iPaq and, well, it doesn't work.
I looked for documentation on the net about the subject but it just seems to me
that there is not much out there.

Does anyone have some documentation on how to install the Java 2 Runtime Env
for ARM processor on an iPaq running Familiar 0.4 ?

Any help would be greatly appreciated.

Val

PS:Anyway, I'd like to thank the Blackdown Team for their porting work !!

-- 
Sun Certified Programmer for the Java 2 Platform
Valentin Crettaz   Office: EK 247
SRI InternationalInternet: [EMAIL PROTECTED]
333 Ravenswood Ave. Phone: +1 (650) 859 39 04
Menlo Park, CA 94025  WWW: http://www.sdl.sri.com/people/valentin/



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Problem using Swing with ARM JRE

2001-11-06 Thread Valentin Crettaz



I'm trying to run a Swing application on an iPaq with J2RE 1.3.1 for
ARM processor. I installed the "additional ipaq stuff". I run the
Familiar 0.4 linux distribution.

The application is a simple Helloworld displaying "Hello" in a Frame.

If I use AWT (Frame) I get the error in attachment 1.

If I use Swing (JFrame) I get the error in attachment 2.

Does anyone have any insights ?

Thanks a lot

Val

-- 
Sun Certified Programmer for the Java 2 Platform
Valentin Crettaz   Office: EK 247
SRI InternationalInternet: [EMAIL PROTECTED]
333 Ravenswood Ave. Phone: +1 (650) 859 39 04
Menlo Park, CA 94025  WWW: http://www.sdl.sri.com/people/valentin/


Exception in thread "main" java.lang.UnsatisfiedLinkError: 

/mnt/ramfs/local/java/lib/armv4l/libfontmanager.so: 

libstdc++-libc6.2-2.so.3: cannot open shared object 

file: No such file or directory

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298)

at java.lang.Runtime.loadLibrary0(Runtime.java:749)

at java.lang.System.loadLibrary(System.java:820)

at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)

at java.security.AccessController.doPrivileged(Native Method)

at sun.awt.font.NativeFontWrapper.(NativeFontWrapper.java:37)

at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:120)

at 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)

at java.awt.Window.(Window.java:186)

at java.awt.Frame.(Frame.java:315)

at java.awt.Frame.(Frame.java:294)

at HelloWorld.(HelloWorld.java:6)

at HelloWorld.main(HelloWorld.java:10)



Problem creating javax.swing.plaf.metal.MetalLookAndFeel with method 

getControlTextFont and args { : java.lang.reflect.InvocationTargetException

java.lang.Exception: Stack trace

at java.lang.Thread.dumpStack(Thread.java:993)

at javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:670)

at javax.swing.UIDefaults.get(UIDefaults.java:145)

at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:46)

at javax.swing.UIDefaults.getFont(UIDefaults.java:223)

at javax.swing.UIManager.getFont(UIManager.java:456)

at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:90)

at javax.swing.plaf.basic.BasicLabelUI.installDefaults(BasicLabelUI.java:301)

at javax.swing.plaf.basic.BasicLabelUI.installUI(BasicLabelUI.java:253)

at javax.swing.JComponent.setUI(JComponent.java:322)

at javax.swing.JLabel.setUI(JLabel.java:236)

at javax.swing.JLabel.updateUI(JLabel.java:247)

at javax.swing.JLabel.(JLabel.java:141)

at javax.swing.JLabel.(JLabel.java:171)

at HelloWorld2.main(HelloWorld2.java:5)




Re: inner class

2001-11-06 Thread Rob Saul



try 
A.this.putData();

On Tuesday 06 November 2001 02:47, flora yuan wrote:
> Hi,
> class B is inner class of A. I want to invoke method putdate() which is
> defined in class A from inner class B. what's the syntax?
>
> public class A{
>public void putData(){
>..
>}
>
>protected class B{
>   public void doSomething{
>putData();//need to invoke method putdata. incorrect syntax.
>   }
>}
> }
>
> Thanks,
>
> Flora


-- 
Rob Saul.:|:[EMAIL PROTECTED]:|:.de recta non tolerandum sunt


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




java script error (not javascript)

2001-11-06 Thread Joseph Shraibman

I have a cron job that runs hourly.  A few times a week it fails with an error like 
this. 
  What's going on?  My version:

java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)

=
/usr/local/jdk/bin/../jre/bin/realpath: Can't reopen pipe to command substitution (fd 
4): 
No child processes
/usr/local/jdk/bin/../jre/bin/realpath: /usr/local/jdk/bin/../jre/bin/i386/: is a 
directory
exec: /usr/local/jdk/bin/../jre/bin/i386/: cannot execute: Permission denied
/usr/local/jdk/bin/java: /bin/realpath: No such file or directory
/usr/local/jdk/bin/java: /bin/realpath: No such file or directory
grep: /lib/jvm.cfg: No such file or directory
grep: /lib/jvm.cfg: No such file or directory
java was not found in /bin/i386/native_threads/java


-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://www.targabot.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]