Re: Problems with the Swing classes

2002-09-09 Thread Trent Jarvi
g related classes.the >compiler > reports errors that the class is not found.For some reason, it cant find any of the >swing > classes only.Im using RedHat 7.2 > > Are these perhaps old programs dating back to the early days of > Swing? Swing's package names changed a few t

Re: Problems with the Swing classes

2002-09-09 Thread Nathan Meyers
found.For some reason, it >cant find any of the swing classes only.Im using RedHat 7.2 Are these perhaps old programs dating back to the early days of Swing? Swing's package names changed a few times - if this is old code, it may be looking for the wrong classes. Nathan Meyers

Problems with the Swing classes

2002-09-09 Thread Joe Abou Jamra
hello.i downloaded j2sdk_1.3.1_02b_FCS_linux from the blackdown web site.All programs are working just fine except for any program containing any swing related classes.the compiler reports errors that the class is not found.For some reason, it cant find any of the swing classes only.Im using

Re: JNI and initialization of static C++ classes on Linux with JDK 1.3.1

2001-09-16 Thread Marcel Ruff
ng Linux 2.4.4-4 with JDK 1.3.1 >> >>I want to call one method in a native, shared C++ library from >>Java, using JNI. >> >>The C++ .so lib depends on other .so libs >>which have many C++ classes which are >>usually initialized automatically on startup before

Re: JNI and initialization of static C++ classes on Linux with JDK 1.3.1

2001-09-16 Thread Matthias Pfisterer
> > The C++ .so lib depends on other .so libs > which have many C++ classes which are > usually initialized automatically on startup before the > main() method (if i invoke > the old C++ application executable). > > Now it seems, that the java System.load() > does not ca

JNI and initialization of static C++ classes on Linux with JDK 1.3.1

2001-09-15 Thread Marcel Ruff
Hi, i am using Linux 2.4.4-4 with JDK 1.3.1 I want to call one method in a native, shared C++ library from Java, using JNI. The C++ .so lib depends on other .so libs which have many C++ classes which are usually initialized automatically on startup before the main() method (if i invoke the old

Re: Servlet API classes - where to place them?

2001-02-08 Thread Jacob Nikom
:16:46PM -0500, Jacob Nikom wrote: > > Hi, > > > > I started to work with servlets and found that I need to download > > Servlet API classes - servlet-2_2b.zip package. I have few questions > > about this package. > > Servlets run fine on Linux. The question is

Re: Servlet API classes - where to place them?

2001-02-08 Thread Nathan Meyers
On Thu, Feb 08, 2001 at 12:16:46PM -0500, Jacob Nikom wrote: > Hi, > > I started to work with servlets and found that I need to download > Servlet API classes - servlet-2_2b.zip package. I have few questions > about this package. Servlets run fine on Linux. The question is what

Servlet API classes - where to place them?

2001-02-08 Thread Jacob Nikom
Hi, I started to work with servlets and found that I need to download Servlet API classes - servlet-2_2b.zip package. I have few questions about this package. 1. Does it run on Linux? 2. Where jdk directory structure I have to place it in: a) /jdk/jre/lib/ext b) should I create /jdk/jre

Re: Using AWT Classes on Linux

2000-12-01 Thread KIRKBRIDE Rob
You need to do 'xhost +' on the X server machine, or xhost +machinename. man xhost Rob -- From: Santosh Dawara To: ingo rockel; [EMAIL PROTECTED]; KIRKBRIDE Rob ([EMAIL PROTECTED]) Subject: Re: Using AWT Classes on Linux Date: 01 December 2000 12:07 It seems to have helped

Re: Using AWT Classes on Linux

2000-12-01 Thread Santosh Dawara
It seems to have helped, but I am stuck again ... Xlib: connection to "machine.india.co.in:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'machine.india.co.in:0.0' as the value of the DISPLAY

Re: Using AWT Classes on Linux

2000-12-01 Thread Ingo Rockel
Try: export DISPLAY=:0.0 in the shell (if it is a bash) before starting the JavaApp. Ingo On -1 xxx -1, Santosh Dawara wrote: > Hi, > > I am having a slight problem with my X Setup, > I can't run any of the Java Graphics. Could > some one please help ! > > Regards, > Santos

Using AWT Classes on Linux

2000-12-01 Thread Santosh Dawara
Hi, I am having a slight problem with my X Setup, I can't run any of the Java Graphics. Could some one please help ! Regards, Santosh Dawara. The Error is reproduced here => Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the

Re: no swing classes

2000-02-05 Thread Jack Jensen
I want to thank everyone who sent me their help. My problem was old java commands in the /usr/bin directory. The console apps and non-swing apps ran ok with these commands but they choked on the swing stuff. Removing them and changing my PATH solved the problem. Thanks again Jack Jensen -

Re: No swing classes

2000-02-03 Thread Jacob Nikom
gt; > com.sun.java.swing.plaf.windows.WIndowsLookAndFeel > > when I clicked the "Windows" radio button. > > ) > > > > This is expected behaviour on non-MS systems. The decision was made to > simply not allow the Windows look & feel to be loaded except on Wi

Re: No swing classes

2000-02-02 Thread Jeff Galyan
Could not load Look and Feel: > com.sun.java.swing.plaf.windows.WIndowsLookAndFeel > when I clicked the "Windows" radio button. > ) > This is expected behaviour on non-MS systems. The decision was made to simply not allow the Windows look & feel to be loaded except on Windows (although the classes *are* the

Re: No swing classes

2000-02-02 Thread paul campbell
self-installing version from three >different mirrors sites, >and this morning I downloaded and installed the linux port(jdk1.2.2) tar >ball from the Sun server. >I've set the JAVA_HOME variable to /mypath/jdk1.2.2 >I haven't messed with the CLASSPATH because to tell the

Re: No swing classes

2000-02-02 Thread Jack Jensen
CLASSPATH because to tell the truth I don't know what directory the swing classes are in. I'm using RedHat 6.1 on an AMDk6 II system, from what I've read in the files with the self-installing version it should have been a load and go install. I am using gnome with Enlightenment window

re:No swing classes

2000-02-02 Thread Ingo Rockel
Either you have a wrong CLASSPATH (are you using JDK1.1 ?) or your normal PATH isn`t correct. Perhaps you should try something like this (if you have JDK1.2) With C-Shells: setenv JAVA_HOME /my/jdk/path (e.g /usr/local/jdk1.2) With Sh-Shells: export JAVA_HOME ... If you have a

re:No swing classes

2000-02-02 Thread Jack Jensen
The problem exists with any app I try to compile or run. When compiling the SwingApplication.java program from Sun's swing tutorial on-line I get the following: SwingApplication.java:12: class JLabel not found in class SwingApplication final JLabel label = new JLabel(labelPrefix + "0

No swing classes

2000-02-01 Thread Jack Jensen
I'm having a problem here with the swing classes. All of the console apps and awt applets seem to be working alright, but none of the applications or applets using swing are compiling. I'm new at this so it could be a config error somewhere, I've downloaded the self-install

Re: Using native classes

1999-12-13 Thread Trent Jarvi
I've not seen a way to call say.. libc printf from java. printf is usually wrapped in a native function that matches java's calling method. More recently this is done through the java native interface. You have probably seen the 'trail' for calling native functions from java methods. http://

Using native classes

1999-12-13 Thread benito . meeuwis
Hi, How can I get a reference to a native class in a shared library and use the functions ? An example would be very welcome !! Thanks ... E-Mail : [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subjec

Re: To find classes or to be Applet thats....

1999-10-02 Thread Weiqi Gao
compiler, the debugger, the profiler, etc.) and the runtime library (java.awt.*, java.lang.*, etc.). > Fairly enthusiastic that, but what was wrong with Applets > conforming to my $CLASSPATH? An applet is always run from a URL, which is conceptually NOT from your local system. An applet may use cl

To find classes or to be Applet thats....

1999-10-02 Thread Eric vanberkel
Folks, Though I'm confessin' that I read a bit less than I should maybe, why do applets in JDK 1.2 ignore my $CLASSPATH? It worked with JDK 1.1.4 on my TurboLinux. After installing, the applicable text to read says: 'No $CLASSPATh, no $JAVA_HOME, just run it!" Fairly enthusiastic that, but what

Mapping Classes

1999-09-14 Thread Peter Mount
As I've had several requests from the Java-Linux list, mainly from a reply I made to a query on the list last week, I've placed an early release of my mapping class library onto the web. Now, this is an early version. It works, but I've yet to document it. It's available at: http://www.retep.or

Bug Report: 1.1.7v1a false negative verification of Swing 1.1 classes

1999-05-26 Thread Roland Turner
On x86 Linux (Debian 2.0) with Blackdown JDK1.1.7v1a and Swing 1.1, $ javap javax.swing.JPanel | head Compiled from JPanel.java public synchronized class javax.swing.JPanel extends javax.swing.JComponent implements javax.accessibility.Accessible /* ACC_SUPER bit set */ { static static {}

classes

1999-03-01 Thread mike dobbs
I'm learning java, and I cannot get a hsa.Console class to work on linux? Where can I get this? Thank alot -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

RE Sprites, Bitmaps Java classes

1999-01-11 Thread M . Patel
>>Just what does this have to do with Java on LINUX? Simple I want to write Java Games on Linux, surely this is not unheard of.

Sprites, 2D bitmap and classes available

1999-01-07 Thread M . Patel
Any body recommend Freely available Sprites, Bitmap, and Sound classes that are available. Java ofcourse.

Re: jdk117_v1a glibc x86, where are the classes?

1998-12-29 Thread Michael Sinz
DME (release notes) not match reality, at least >for the infomagic mirror? Where are the missing Thread and JavaP classes for >1.1.7 and whatever version (how can I tell which version it is) comes with >RH5.2? Do I not have the threads support that native threads requires (how >can I know

jdk117_v1a glibc x86, where are the classes?

1998-12-29 Thread Dale Carstensen
blackdown mirror on infomagic, and with that, at least javap works. So, why does the 1.1.7 README (release notes) not match reality, at least for the infomagic mirror? Where are the missing Thread and JavaP classes for 1.1.7 and whatever version (how can I tell which version it is) comes with RH5.2

Free XDR classes

1998-12-23 Thread Jason Dillon
Does anyone know if there are any free XDR classes for Java avaible? --jason

Re: nested classes, packages, and javac depend

1998-12-04 Thread David Warnock
Steve, > OK, the alphaworks site is now back up. I know people told me to wait > until Monday to get the latest but I wanted to try it now. Well I've just been there as well and have collected 0.41 which is the very latest. > The first error came up because I didn't have the right version of >

Re: nested classes, packages, and javac depend

1998-12-04 Thread Steve Cohen
David Warnock wrote: > > > The address is http://www.alphaworks.ibm.com/formula/Jikes/ (it's > > > available as a link from the blackdown site). > > > Either this URL is wrong or their server is down. I cannot > connect. > > Steve, > > I am pretty sure the url is correct but I also could not

Re: nested classes, packages, and javac depend

1998-12-04 Thread David Warnock
> > The address is http://www.alphaworks.ibm.com/formula/Jikes/ (it's > > available as a link from the blackdown site). > Either this URL is wrong or their server is down. I cannot connect. Steve, I am pretty sure the url is correct but I also could not connect just now. As John has said a

Re: nested classes, packages, and javac depend

1998-12-04 Thread jh
[EMAIL PROTECTED] writes: > On Fri, 4 Dec 1998, David Warnock wrote: > > Can I suggest you download the JIKES compiler from IBM. It's free, it > > runs an order of magnitude faster than JAVAC and so far as I can see > > the -depend works. You may want to use the +E compiler switch to get > > err

Re: nested classes, packages, and javac depend

1998-12-04 Thread Steve Cohen
David Warnock wrote: > Steve, > > > I find that I'm unable to get rid of the following errors when I do > a > > javac depend of my whole project: > > I have read soimewhere sometime that javac -depend is not reliable. > > Can I suggest you download the JIKES compiler from IBM. It's free, it > run

Re: nested classes, packages, and javac depend

1998-12-04 Thread John Summerfield
On Fri, 4 Dec 1998, David Warnock wrote: > Steve, > > > I find that I'm unable to get rid of the following errors when I do > a > > javac depend of my whole project: > > I have read soimewhere sometime that javac -depend is not reliable. > > Can I suggest you download the JIKES compiler from I

Re: nested classes, packages, and javac depend

1998-12-04 Thread John Summerfield
On Fri, 4 Dec 1998, Steve Cohen wrote: > I find that I'm unable to get rid of the following errors when I do a > javac depend of my whole project: > > error: File /usr/local/java/xyz/Scheduler.java does not contain nested > class xyz.Scheduler. 1 as expected. Please adjust the class path so that

Re: nested classes, packages, and javac depend

1998-12-04 Thread David Warnock
Steve, > I find that I'm unable to get rid of the following errors when I do a > javac depend of my whole project: I have read soimewhere sometime that javac -depend is not reliable. Can I suggest you download the JIKES compiler from IBM. It's free, it runs an order of magnitude faster than JAV

nested classes, packages, and javac depend

1998-12-03 Thread Steve Cohen
I find that I'm unable to get rid of the following errors when I do a javac depend of my whole project: error: File /usr/local/java/xyz/Scheduler.java does not contain nested class xyz.Scheduler. 1 as expected. Please adjust the class path so that the file does not appear in the package xyz. Wh

Re: Java language question: static classes ?

1998-10-20 Thread John M. Gulizia
[EMAIL PROTECTED] wrote: > > I was looking at the Kim Topley "Core JFC" book particularly a > convenience class to swith the Swing/JFC PL&F (Chapter 13) > the other day I found it was declared like ? > > protected static class SwitchPLAFClass { >

Re: Java language question: static classes ?

1998-10-20 Thread peter . pilgrim
__ Reply Separator _ Subject: Re: Java language question: static classes ? Author: mlorton ([EMAIL PROTECTED]) at lon-mime Date:19/10/98 19:16 > Thanks that is the correct ans

Re: Java language question: static classes ?

1998-10-19 Thread mlorton
> Thanks that is the correct answer for "static inner class". > > However a static inner class > cannot have it self a static inner class. Yes, it can. Why couldn't it? The innerness of a static inner class is purely a naming thing. > Static inner class > 2

Re: Java language question: static classes ?

1998-10-19 Thread peter . pilgrim
age question: static classes ? Author: paul ([EMAIL PROTECTED]) at lon-mime Date:16/10/98 16:14 > So public static SwitchPLAFAction { ... } is a just java object class > that is really instantied just once, like some sort of singleton? No, no. I did not mean that sta

Re: Java language question: static classes ?

1998-10-16 Thread Pavel
> So public static SwitchPLAFAction { ... } is a just java object class > that is really instantied just once, like some sort of singleton? No, no. I did not mean that static classes are related to singletons. They are not AFAIK. > Actually I have used a modifie

Re: Java language question: static classes ?

1998-10-16 Thread peter . pilgrim
I think I am fast asleep of course it is STATIC MEMBER. __ Reply Separator _ Subject: Re: Java language question: static classes ? Author: Peter Pilgrim at London Date:16/10/98 13:11 Weirdo So

Re: Java language question: static classes ?

1998-10-16 Thread peter . pilgrim
Reply Separator _ Subject: Re: Java language question: static classes ? Author: Ernst.deHaan ([EMAIL PROTECTED]) at lon-mime Date:16/10/98 13:08 Correct me if I'm wrong, but I do not believe top-level classes can have the 'static

Re: Java language question: static classes ?

1998-10-16 Thread Ernst de Haan
Correct me if I'm wrong, but I do not believe top-level classes can have the 'static' modifier applied, but if you want a shared entity, do something like this: public class DefaultFactory extends AbstractFactory { protected DefaultFactory() { /* empty */ } // or priv

Re: Java language question: static classes ?

1998-10-16 Thread Pavel
> What is a static class? Making classes static has good sense if they are nested. Usually nested class object has hidden member referencing high level class object and hidden constructor parameters. But static nested class is just like a high level class. By the way, static public cl

Java language question: static classes ?

1998-10-16 Thread peter . pilgrim
I was looking at the Kim Topley "Core JFC" book particularly a convenience class to swith the Swing/JFC PL&F (Chapter 13) the other day I found it was declared like ? protected static class SwitchPLAFClass { private Frame f;

help: importing interfaces and classes with conflicting names (not really!)

1998-09-17 Thread Alistair Bayley
OK. Can someone please explain this to me. I'm getting the compile error: > Class x not found in type declaration. This occurs when I have one package that defines a public interface and another package which implements this interface with a private class of the same name. For example: file a

Re: Java classes graphically

1998-08-13 Thread Jan Vicherek
Thank you all for a response. However, the whole thing was a false alarm. The interview had *nothing*, I mean N O T H I N G to do with Java. Oh well. At least I know Java now. :) "Teach yourself Java in 17 hours". Anyway, so I got the "Java Developers 1998 Almanach". A neat, complet

Re: Java classes graphically

1998-08-10 Thread Michael D. James
ecause I'm not working with that stuff and the books are expensive. This is not a tutorial -- the classes are listed in alphabetical order. Bruce Eckel's _Thinking in Java_ is probably better for getting started. I started out with O'Reilly's _Java In A Nutshell_ which is also pretty good.

Re: Java classes graphically

1998-08-10 Thread Rani Pinchuk
ave quite solid understanding of OOP/OOD. I've gone through some > > Java tutorials a few months back and fooled around with it somewhat. So I > > know, say, the syntax of the Java language. What I don't know is how to > > piece all the stuff together -- I.e. how to use

Re: Java classes graphically

1998-08-10 Thread peter . pilgrim
gt; know, say, the syntax of the Java language. What I don't know is how to > piece all the stuff together -- I.e. how to use all the standard classes > provided. > >I imagine that when I see a complete map of (inheritance) structure of > all the classes and look at all thei

Java classes graphically

1998-08-08 Thread Jan Vicherek
don't know is how to piece all the stuff together -- I.e. how to use all the standard classes provided. I imagine that when I see a complete map of (inheritance) structure of all the classes and look at all their data members and methods, and when I look at examples from each separate inherit

Re: Docs for Sun CLasses

1998-07-13 Thread Jason Tan
Hi Tom, Thanks for your reply. It is a bit annoying that the classes aren't documented. Especially as several pieces of writing I have seen written by Sun people allude that the libraries are included with the JDK. Perhaps then I should extend my question does anyone know of any f

Re: Docs for Sun CLasses

1998-07-13 Thread Tom Valesky
These classes aren't documented because they're not intended for use by java developers; they're for the internal use of Sun's JDK implementation. Sun reserves the right to make changes to these classes at any time. That being said, Elliot "Rusty" Harold wrote a b

Docs for Sun CLasses

1998-07-13 Thread Jason Tan
Hi All, Can anyone point me in the direction of a location where I could download a copy of the API documentation for the sun clases, such as the FTP classes etc. I have managed to find some online versions, but I don't fancy saving each page individualy. What I am hoping to find is a ta

Re: Regexp utility classes..

1998-06-30 Thread Pavel
appropriate mailing list to ask about this, > but does anyone know of some good classes for handling regular > expressions? > > /Per Widerlund

RE: Regexp utility classes...

1998-06-29 Thread Jason Nugent
Take a look at the Perl5Util classes at chewie.oroinc.com. They are quite nice. Jason On Mon, 29 Jun 1998, Gassoway, Paul wrote: > Per Widerlund writes: > > >but does anyone know of some good classes for handling regular > >expressions? >

Re: Regexp utility classes..

1998-06-29 Thread Kevin Ryan
I haven't tried these -- but here's a link to an existing package (that uses perl5-style regexps): http://www.win.net/~stevesoft/pat/

RE: Regexp utility classes...

1998-06-29 Thread Gassoway, Paul
Per Widerlund writes: >but does anyone know of some good classes for handling regular >expressions? I know of two at this site: http://www.gnu.ai.mit.edu/software/java/java.html Paul Gassoway

Regexp utility classes..

1998-06-29 Thread Per Widerlund
Hello List.. This may not be the appropriate mailing list to ask about this, but does anyone know of some good classes for handling regular expressions? /Per Widerlund

Re: Passing classes as parameters

1998-05-26 Thread Ravi Rao
f that class in that method. Is this > possible? Yes, very definitely possible. The package java.lang.reflect contains all the information you will need. Many of the classes and methods of the 'reflect' package are accessible from the class 'java.lang.Class'. Here is simple

Re: Passing classes as parameters

1998-05-26 Thread Geoffrey S. Knauth
> Does anyone has experience in passing a class as a parameter in java? You can pass the name of a class ("com.foo.package.Name") as a parameter, and then so long as the class can be found either locally on the client, or via the ARCHIVE=___.jar tag, you can create an instance via something like:

Re: Passing classes as parameters

1998-05-26 Thread B. Craig Taverner
> Does anyone has experience in passing a class as a parameter in java? > I want to do something like call a method with as parameter a class name and > then create instances of that class in that method. Is this possible? try this: public Object makeInstance(String sClassName) { Class rC

Re: Passing classes as parameters

1998-05-26 Thread Pavel
Yes. If your class has a no-arg constructor, just do like this: void method(Class c) { ... Object o = c.newInstance(); ... // use 'o' } Otherwise, look for a Constructor class documenation from java.lang.reflect package to create and initialize your object

Passing classes as parameters

1998-05-26 Thread Wim Ceulemans
Hi Does anyone has experience in passing a class as a parameter in java? I want to do something like call a method with as parameter a class name and then create instances of that class in that method. Is this possible? Regards Wim Ceulemans Nice Software Solutions Eglegemweg 3, 2811 Hombeek Te