Re: re: packages

1998-09-04 Thread peter . pilgrim
from where. (The "*" just is a problem.) > > Personally, I never use that. I have an editor that makes life easier > and I can type rather quickly, so I have fully qualified names on all > classes that are outside of the package that the source is in. It also > means tha

Loading images from JAR.

1998-09-07 Thread peter . pilgrim
.*; // "Dontcha just love the API, baby bop!" -+=+- Thank FuNk it's FriDAY -+=+- Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Re: Loading images from JAR.

1998-09-07 Thread peter . pilgrim
); } Solution? BTW: linux-jdk1.1.6-libc5 .tar.gz swing-1.1beta.zip Cheers Peter -- import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!" Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

jdk1.1.6 & libc.5.4.46 & XFree86 3.3.1 not working in X

1998-08-04 Thread peter . pilgrim
ideas ? I ran Steve's collection script and put the results in java-debug.log.gz (expands to 180k!) Cheers Peter -- import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!" Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor

Re: Problem playing audio file from an application.

1998-08-26 Thread peter . pilgrim
h an audio tool works fine. > > Somebody a clue? Why do call AudioPlayer.stop() ? AudioPlayer.start() - implicitly spawns a thread to send the audio data to the audio device via a stream buffer. Calling AudioPlayer.stop() - terminates the thread, n'est pas ? Unless your program exits so

JToolbar dockable frame title

1998-09-18 Thread peter . pilgrim
This was a good question posted to me. I do not know the answer. How do you set the title for a dockable JToolbar frame? By default I see it has ``AWTApp''. Cheers Peter -- import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!" Peter P

Return key is ignored in XmTextWidgetClass inside static Motif applications.

1998-09-21 Thread peter . pilgrim
d. Does any one know the cure for this weird behaviour? Cheers Peter -- import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!" Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX Tel: +44-545-8000

Re: Java interface to MySQL

1998-09-22 Thread peter . pilgrim
BC driver for MySql Probably at `http://www.tcx.se/' under contributed software. I dunno which JDBC is best, though Cheers Peter -- import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!" Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Gr

Java Makefile [ was Delete all class files ]

1998-09-22 Thread peter . pilgrim
; all:: $(PROGRAMS) # This should rebuild all java classes from source test:: $(JCLSS1) # Run a shell program to generate launcher script test:: make-javaruntime-stub test ... The command `make all' or `make test' should now work for you. Cheers Peter -- import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!" Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Re: Delete all class files

1998-09-23 Thread peter . pilgrim
ke correctly), in that if I use the -d option and use a > > > separate .class directory tree, make doesn't recognize the up-to-date > > > files there and recompiles everything anyway. I can never get the > > > "Nothing to be done for `CLASSES'&quo

Can Java Catch Signals ?

1998-09-25 Thread peter . pilgrim
java.std.disclaimer.*; // "Dontcha just love the API, baby bop!" -+=+- Thank FuNk it's FriDAY -+=+- Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Re: AudioPlayer

1998-09-25 Thread peter . pilgrim
.std.disclaimer.*; // "Dontcha just love the API, baby bop!" -+=+- Thank FuNk it's FriDAY -+=+- Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Re[2]: Can Java Catch Signals ?

1998-09-28 Thread peter . pilgrim
handle system interrupts or external stimuli well enough. > Cheers Peter -- import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!" Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Re[2]: Can Java Catch Signals ?

1998-09-28 Thread peter . pilgrim
the API, baby bop!" Peter Pilgrim Dept:OTC Derivatives IT, Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Re: getResourceAsStream on Class-Files

1998-09-29 Thread peter . pilgrim
small preloader, that can display some more custom > "loading..."-Messages while the main part of the application is loaded > from a huge jar-file. > But i don't want to load ALL classes at startup. > Some classes should be loaded on demand from a server. > I think i m

Re: Return key is ignored in XmTextWidgetClass inside static Motif applications.

1998-09-29 Thread peter . pilgrim
Juergen Kreilender wrote: > >>>>> peter pilgrim writes: > > > I have had an irritating long term low priority problem with > > applications built with a static Motif library. When application > > display a XmTextWidget, the [RETURN] does not work

Re: help with swing!

1998-09-30 Thread peter . pilgrim
You will probably need the specify the other jars in Swing too in your classpath. For example motif.jar swing.jar windows.jar too __ Reply Separator _ Subject: help with swing! Author: psteele ([EMAIL PROTECTED]) at lon-mime Date

Where Can I find libBrokenLocale.so ?

1998-09-30 Thread peter . pilgrim
Where can I find libBrokenLocale.so? "One. Two. Three. Hit it!" James Brown

Re: Where Can I find libBrokenLocale.so ?

1998-09-30 Thread peter . pilgrim
Is the source code available, because I have Slackware 3.5 not RHL. __ Reply Separator _ Subject: Re: Where Can I find libBrokenLocale.so ? Author: javanews ([EMAIL PROTECTED]) at lon-mime Date:30/09/98 10:38 On RedHat 5.0 its in

Re: Where Can I find libBrokenLocale.so ?

1998-09-30 Thread peter . pilgrim
Unfortunately I could find any thing at sunsite.doc.ic.ac.uk/pub/linux Could you be more specific? __ Reply Separator _ Subject: Re: Where Can I find libBrokenLocale.so ? Author: javanews ([EMAIL PROTECTED]) at lon-mime Date:

Re: Write Once Run Anywhere?

1998-10-02 Thread peter . pilgrim
The $1 and $2 are inner classes This is how the Java Compiler generates Anonymous Inner classes. So on a linux environment you do need them. May when you copy these filenames the result is garbage filenames. For this reason it is better to package all `

Re: EVERYONE: javac segmentation fault

1998-10-02 Thread peter . pilgrim
When I last looked I could not see in jdk-1.1.6v2. I can think you should create a new text file called `PROBLEMS' to focus the naive installer attention. Put also the bugfixes and remedies in this file and put a ptr in the README.linux file. Pete __

Re: Dynamic modification of CLASSPATH

1998-10-02 Thread peter . pilgrim
You can also get the classpath from SystemProperty( "java.classpath" ) or something like that. Then use you write a PathnameResolve sth that search for the classes by looking at each of the separated directory. You could use the StringTokenizer(":") to get each direc

Re: Where Can I find libBrokenLocale.so ?

1998-10-02 Thread peter . pilgrim
No my problem was getting the [RETURN] key to produce newlines in a XmTextWidget (Motif Toolkit as used in the JDK). The only trick that did it for me was Emacs Control-J ;-) It is a bit of nuisance not having the Return key work in any apps that have statically linked Mot

Re: Dynamic modification of CLASSPATH

1998-10-05 Thread peter . pilgrim
So I am afraid you must become one with "ClassLoader" (and maybe also the "SecurityManager") class somewhere a long the line(!). __ Reply Separator _ Subject: Re: Dynamic modification of CLASSPATH Author: Michael.Sinz ([EMAI

Re: Does Java apps has to have .class extension?

1998-10-06 Thread peter . pilgrim
Create a shell script to call `java Example' for you a la #!/bin/sh # Set up any defaults just in case : ${JAVAVM:=java|kaffe|jikes} : ${CLASSPATH:=/whatever/man} : ${SWING_HOME:=/you/know/what/time/it/is} export SWING_HOME CLASSPATH ${JAVAVM} Example

Re: AudioClip being Garbled [ was Bug in v4a?]

1998-10-07 Thread peter . pilgrim
Yes I had audio clips in application being garbled and looping at arbitary points for odd reasons (bad for java games). I thought it was because the data was never being completely loaded. Ah, maybe I should look `MediaTracker'. Implement Audio version of Swing/JFC ImageI

Re: Xsql

1998-10-16 Thread peter . pilgrim
Whats the problem ? __ Reply Separator _ Subject: Re: Xsql Author: duan ([EMAIL PROTECTED]) at lon-mime Date:13/10/98 08:39 hi I am wondering if anyone in the list is using Xsql?It is a Java based database edito

Re: Hogging colours?

1998-10-16 Thread peter . pilgrim
Have try running your X in 16 bit colour mode! runx -- bpp16 -- Or something like that __ Reply Separator _ Subject: Re: Hogging colours? Author: sbb ([EMAIL PROTECTED]) at lon-mime Date:08/10/98 07:4

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;

Re: Working Button mnemonics under Linux Java?

1998-10-16 Thread peter . pilgrim
Ah ha! that would explain the current problem I have on my old fvwm2.0 stuff. ALT - CURSOR KEYS shift across Virtual Screen Look at the File menu title, set if the F is underlined. Look at the Ok button see if the o is underlined. I had a problem a few mo

Re: Java language question: static classes ?

1998-10-16 Thread peter . pilgrim
Weirdo So public static SwitchPLAFAction { ... } is a just java object class that is really instantied just once, like some sort of singleton? Actually I have used a modified version of the ActionEvent class from Kim Topley "Core JFC" example in Xsql

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: Working Button mnemonics under Linux Java?

1998-10-19 Thread peter . pilgrim
Could this be something to do with the BrokenLocale.so which I have never been able to find for Slackware 3.x ? Incidentally I installed KDE1.0 over the weekend, and I can verify that the mnemonic also dont work there too. Pete __ Reply Se

Re: Java language question: static classes ?

1998-10-19 Thread peter . pilgrim
Thanks that is the correct answer for "static inner class". With ordinary non-static inner class there is a hidden reference to the outer class. Declaring an inner class static removes this hidden reference. The static inner class becomes referable in global scope

Re: Swing 1.0.3

1998-10-20 Thread peter . pilgrim
You CLASSPATH should be defined in your shell like this: JAVA_HOME=/usr/local/jdk1.1.6 SWING_HOME=/usr/local/swing-1.0.3 CLASSPATH=.:${SWING_HOME}/swing.jar:${SWING_HOME}/motif.jar:${SWING_HO ME}/metal.jar:${SWING_HOME}/window.jar:${SWING_HOME}/beaninfo.j

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 answer

Re: Swing 1.0.3

1998-10-20 Thread peter . pilgrim
This is how the author of Xsql (moi) has set up the CLASSPATH at work with ``sparc-sun-solaris2.5.5'' # Filename: `~/.kshrc' # Environment file for the Korn Shell # Peter Pilgrim # 31/12/1997 # Java Developer Kit Root Directory

Re: Swing 1.0.3

1998-10-20 Thread peter . pilgrim
Aaaah, Schei**er!! Rainer you are quite correct: http://java.sun.com/products/jfc/CHANGES.txt-1.1beta3 ~~ For Xsql 2.1.7p01 you need Swing 1.1 beta 2

Swing1.1 beta 3 [was Re: Swing 1.0.3]

1998-10-20 Thread peter . pilgrim
_ Subject: Re: Swing 1.0.3 Author: Peter Pilgrim at London Date:20/10/98 12:17 Aaaah, Schei**er!! Rainer you are quite correct: http://java.sun.com/products/jfc/CHANGES.txt-1.1beta3

Re: Swing 1.0.3

1998-10-20 Thread peter . pilgrim
1.0.3 Author: Peter Pilgrim at London Date:20/10/98 12:17 ~~ For Xsql 2.1.7p01 you need Swing 1.1 beta 2 ~~ But you may as well

Re: Working Button mnemonics under Linux Java?

1998-10-21 Thread peter . pilgrim
Another thing that bothers me: In my linux-jdk1.1.6v2 pressing return in a TextArea (or JTextArea or even Netscape Navigator ) does produce a newline. Is this a related problem? Some one did mention to check out libBroken.so but I could not find it in the Slackwar

Clipboard interaction between Swing/JDK and X11

1998-10-22 Thread peter . pilgrim
under Linux Java? Author: Peter Pilgrim at London Date:21/10/98 11:30 Another thing that bothers me: In my linux-jdk1.1.6v2 pressing return in a TextArea (or JTextArea or even Netscape Navigator ) does produce a newline. Is this a related problem? Some one did menti

Re: Clipboard interaction between Swing/JDK and X11

1998-10-26 Thread peter . pilgrim
Thanks for the info. At work `sparc-sun-solaris2.5.5' with CDE I can copy+paste from a dtterm in to a Swing JTextArea. I have not found a way to copy from GNU Emacs 20.2 into a JTextArea yet. However using xcutsel -sel CLIPBOARD and pressing the button [copy

Re: JDK1.2 Port to Linux?

1998-10-26 Thread peter . pilgrim
Sun has just given a license to port JDK 1.2 to Linux. Point your fav browser at http://lwn.net/daily/java.html Pete PS: Any plans for distribution on CD ROM? __ Reply Separator _ Subject: JDK1.2 Port to Linux? Auth

Re: linux on windows

1998-10-26 Thread peter . pilgrim
[THIS IS JAVA LINUX, MATE] But I can whole heartily recommend spending 55 GBP British Pounds on Partition Magic 3.0, because you can repartition your hdd without having reinstall W95/NT. It works much much better than FIPS and it works with the new VFAT oSR2 form

Re: _Xglobal_lock

1998-10-27 Thread peter . pilgrim
Where are your X Window Libraries? Everyone has them set a /usr/X11R6/lib Set the library LD_LIBRARY_PATH=/usr/X11R6/lib: or set up `ldconfig' by editing your `/etc/ld.so.config' file. What distribution do you have Slackware or Red Hat ?

Re: Clipboard interaction between Swing/JDK and X11

1998-10-30 Thread peter . pilgrim
I cannot confirm it or deny it. This is quite disappointing, and I suppose it has grave consequences for (forthcoming) Drag and Drop API in JFC1.2/JDK1.2 Pete __ Reply Separator _ Subject: Re: Clipboard

Re: Newbie mySQL MkLinux and JDBC

1998-11-02 Thread peter . pilgrim
What is your problem ? Compiling MySQL out of the box or Compiling a JDBC driver ? Why are trying to compile the JDBC driver? You should not need to compile it. The JDBC driver that I have come across have been precompiled. Therefore you should just install it on your system

Re: JFC Compilation still bothersome

1998-11-02 Thread peter . pilgrim
No. Swing 1.0.3 should have the older com.sun.java.swing which is correct. I dont think the order of the swing and JDK jar file in the CLASSPATH will make any difference, but perhaps you should put the `period' `dot' at the front of your CLASSPATH . Do

Re: JFC Compiling problems?

1998-11-02 Thread peter . pilgrim
What is the compilation error ? __ Reply Separator _ Subject: JFC Compiling problems? Author: sgee ([EMAIL PROTECTED]) at lon-mime Date:30/10/98 19:35 Any reason why I can run ". runnit" from the SwingSet directory, but can'

Netscape Reload Java Applet; Was there a soln?

1998-11-04 Thread peter . pilgrim
Did anyone solve the Netscape 4.0x bug/feature where you could NOT get an Applet to restart by hitting the [RELOAD] button? Pete

RE: Netscape Reload Java Applet; Was there a soln?

1998-11-04 Thread peter . pilgrim
Thanks a lot mate! __ Reply Separator _ Subject: RE: Netscape Reload Java Applet; Was there a soln? Author: TRAM.N.NGUYEN ([EMAIL PROTECTED]) at lon-mime Date:04/11/98 17:54 There's workaround for that problem . [Shift key +

Re: JDBC on Linux

1998-11-10 Thread peter . pilgrim
Have you tried the list of 3rd party drivers at http://www.javasoft.com/products/jdbc/jdbc.drivers.html ? __ Reply Separator _ Subject: JDBC on Linux Author: carlos ([EMAIL PROTECTED]) at lon-mime Date:09/11/98 16:51 I have

PLAF Motif Button reduce external Padding or Interspacing

1998-11-13 Thread peter . pilgrim
In Swing 1.1 Beta 2 the CDE/Motif PLAF seems to put a large gap size or interspacing between components. I have a three JButtons with an image icon aligned right and text label aligned to the right inside of a normal JPanel. The JPanel is managed by a custom row c

Deprecated `Thread.stop()' in forthcoming JDK 1.2. Why?

1998-11-13 Thread peter . pilgrim
I read somewhere that Thread.stop() is now deprecated. Now how on earth do we stop a thread ? I thought the solution would be Thread.interrupt() but that only works when the thread is sleeping, at least in JDK 1.1 documentation. I do not have the JDK 1.2 to ha

Re: Deprecated `Thread.stop()' in forthcoming JDK 1.2. Wh

1998-11-13 Thread peter . pilgrim
Ok fair enough you can periodically check at interval on synchronised boolean to cancel an operation. But I am disappointed. The reason why I asked is because I use the JDBC. The current JDBC API does not allow the operator to have a callback or to read selective rows from the database. In oth

Re: Deprecated `Thread.stop()' in forthcoming JDK 1.2. Wh

1998-11-13 Thread peter . pilgrim
Pass! I have no idea. But it is not really useful in a GUI. [EXECUTE] SQL query[ABORT] SQL query What timeout should I have set BEFOREHAND. Should it be 1 ms , 1sec , and 1 hour For a non-deterministic application like an event driven GUI.

Re: Deprecated `Thread.stop()' in forthcoming JDK 1.2. Wh

1998-11-13 Thread peter . pilgrim
ocs/guide/jdbc/spec2/jdbc2.0.frame5.ht ml Over to all you JDBC implementors Pete __ Reply Separator _ Subject: Re: Deprecated `Thread.stop()' in forthcoming JDK 1.2. Wh Author: Peter Pilgrim at London Date:13/11/98 18:00

Re: Is there a decent file explorer for Linux?

1998-10-27 Thread peter . pilgrim
This is already failed project, unless you add custom JNI, because ``File'' class does not support all types of file. e.g. Can I execute a file? Is it a symbolic link? Is it character device? Sacrifice for maximum portability. Pete __ Reply

Re: Why no audio player for java-linux?

1998-11-16 Thread peter . pilgrim
Absolut Nonsense. Have you tried using one of the examples from the JDK demos, if you downloaded them. I think one of the applets in the Graphics subdirectory has something which plays audio sounds. Is your sound card properly configured. The only game I know that used sound was `XGalaga'. I t

Re: PLEASE What audio device is java linux looking for???]

1998-11-17 Thread peter . pilgrim
Is your Sound card set up such that it conforms to the Sound-HOW-TO LDP document. I presume that `/dev/dsp' symbolicly links to `/dev/dsp0' and `/dev/audio' symbolicly links to `/dev/audio0' or something similar. If this is true `cat chirp.au > /dev/audio' wi

Re: Two questions on Swing:

1998-11-18 Thread peter . pilgrim
1) There is a problem with XFree86 that prevents top level accelerators being installed. I believe this with Metrolink X server with any problem. Mind you I have the exact same problem on sparc-sun-solaris-2.5.1-cde-motif1.2-jdk1.1.6-swing-1.1-beta-2 2) I think you can override the installed P

[ANNOUNCE] New Release Xenon-SQL V2.2.9.8

1998-11-18 Thread peter . pilgrim
SOFTWARE RELEASE ANNOUNCEMENT === Xenonsoft, South London, England is very pleased to announce the availability of: Xenon-SQL, the java based interactive SQL Editor, version 2.2.9. The Personal End User Edition. This software allows you use co

Re: Linux + java + oracle

1998-11-19 Thread peter . pilgrim
SunSoft[tm] maintains a list of JDBC drivers from a number of third party vendors on it web pages See the following URL for a list of JDBC drivers provided: http://java.sun.com:80/products/jdbc/jdbc.drivers.html __ Reply Separator _

Re: Linux + java + oracle

1998-11-20 Thread peter . pilgrim
Check your CLASSPATH. It must indicate the zip file or jar file which contains the `oracle.jdbc.driver.OracleDriver.class'. Pete __ Reply Separator _ Subject: Re: Linux + java + oracle Author: duan ([EMAIL PROTECTED]) at lon-mime Date

Re: Deprecated `Thread.stop()' in forthcoming JDK 1.2. Wh

1998-11-23 Thread peter . pilgrim
In fact the JDBC provides anyway to handle this in `Statement.cancel()' which allows an executed SQL query or update to be halted from _another_ thread. In other words the CancellableThread or equivalance is the responsibility of the JDBC driver implementor not the JDBC user. Careful programmi

Re: Keyboard input problems

1998-11-23 Thread peter . pilgrim
I have a whiteboard edition of Together/C++ for NT4.0 at work. I thought that you had to explicitly get TC++ to scan by choosing the menuitem from the menu bar. First, I did not know it did not worked in parallel with other tools?! Are you using TJ's built in editor to work? Don't. Get Emacs

Re: why cant my netscape execute JDK-1.1.* - progs ?

1998-11-23 Thread peter . pilgrim
On my netscape 4.05 at home (and at work) I had put `${MOZILLA_HOME}/java/classes/java40.jar' explicitly in my ``CLASSPATH'' environment variable. (preferably set this in my ~/.tcshrc) Pete __ Reply Separator _ Subject: why cant my ne

Re: Is Swing available?

1998-11-23 Thread peter . pilgrim
Try `http://www.javasoft.com/products/jfc'. Swing/JFC is 100% pure Java so you just need to download the zip file from JavaSoft after you registerly freely with them. I would advise you to get the Swing/JFC 1.1 Beta 3 Pete __ Reply Separator

Can you use Java as a Job Scheduler?

1998-11-23 Thread peter . pilgrim
[WORK RELATED] Before I jump off the deep end. I presume there is nothing to prevent Java being used a job scheduler. That is the JVM creates say 3 worker threads and each of these worker thread executes a process like `/bin/ls -l ; sleep 60'. I asked because I have called `Process.waitFor()' t

[CANCEL] Re: Can you use Java as a Job Scheduler?

1998-11-23 Thread peter . pilgrim
Of the course, the thread won't block itself if I do not put `synchronized run' in the Runnable object!!! EOT __ Reply Separator _ Subject: Can you use Java as a Job Scheduler? Author: Peter Pilgrim at London Date:23/1

Re: Getting a full JVM thread dump

1998-11-24 Thread peter . pilgrim
Have you tried CTRL-\ ? pete __ Reply Separator _ Subject: Getting a full JVM thread dump Author: craig ([EMAIL PROTECTED]) at lon-mime Date:24/11/98 18:34 Hi, Does anyone know how to get a full JVM thread dump under linux?

Re: Netscape/CLASSPATH question

1998-11-25 Thread peter . pilgrim
I had to name it explicitly at work (sparc-sun-solaris-2.5.1) and home (i586-slackware-linux-gnulib1) to get Netscape to work. export CLASSPATH=...:${MOZILLA_HOME}/java/classes/java40.jar:... Pete __ Reply Separator _ Subject: Re: Ne

Re: Netscape/CLASSPATH question

1998-11-25 Thread peter . pilgrim
Excuse me. Yes Micheal is absolutely right, about unsetting CLASSPATH. Must you put a jar in the ${MOZILLA_HOME}/java/classes? __ Reply Separator _ Subject: Re: Netscape/CLASSPATH question Author: Michael.Sinz ([EMAIL PROTECTED]) at lon

Re: JWindow.setLocation()

1998-11-27 Thread peter . pilgrim
I have used JWindow to implement a splash screen for Xenon-SQL. I had a bit of trouble with `setBounds()' after I packed it and set it the middle of the screen. I turns out that just packing worked on Linux/KDE but failed on Solaris/CDE Motif. I have to perform a setSize() and pack() and setVi

Re: Dialogs in applets [finding the nearest frame]

1998-12-02 Thread peter . pilgrim
Stick in this in your main applet code: static Component getAncestorFrame( Component comp ) { while ( comp != null && !instanceof Frame ) comp = (Component)comp.getParent() ); return (comp); } Pete __ Reply Separator _

Re: swing-1.1beta3

1998-12-03 Thread peter . pilgrim
Until JDK 1.2 arrives for Linux you include the path to swing.jar in your CLASSPATH explicitly a la export SWING_HOME=/usr/local/swing-1.1-beta3 export CLASSPATH=.${SWING_HOME}/swingall.jar Pete __ Reply Separator _ Subject: swing-1.

Re: JFrame

1998-12-04 Thread peter . pilgrim
Use a JWindow instead of a JFrame, but see put the logic to set a reasonable window size in overriden `setPreferredSize()' In this example I set up a maximum size limitation: public class PetesSplash extends JWindow private JLabel labelImage; private JLabel copyLabel private Im

Re: Important: Java 1.2 licencing changes

1998-12-08 Thread peter . pilgrim
Mrfr! I though a web hacker had crack www.javasoft.com at first!!! Question is though was Steve in on it? Pete __ Reply Separator _ Subject: Important: Java 1.2 licencing changes Author: thomas ([EMAIL PROTECTED]) at lon-mime

Reading (All) Environment Variables in W95/NT

1998-12-14 Thread peter . pilgrim
I am getting some requests from NT users on an application that I wrote on a Java/Linux environment. I have a Java application that runs fine on Unix and I am trying to get to run perfectly on NT. I have a run time shell script that passes the entire environment to the JVM using a system prope

Re: Reading (All) Environment Variables in W95/NT

1998-12-14 Thread peter . pilgrim
I think a small setup program that generates this default property file maybe the answer too. I am thinking of a simple JTable name and value. Am not sure if I follow you. Do you mean that I should set this in my application. Because then we have a chicken and egg scenario. I want to use the pr

Re: Reading (All) Environment Variables in W95/NT

1998-12-14 Thread peter . pilgrim
Thanks well I found my copy of jikes which has a `jd.bat' file: pilgpe@poppy [58] > c jikes-1.11/jd.bat @echo off rem Set JD and JDK to match the appropriate installation directories on your system. rem set JD=c:\derek\jbin\jd.zip set JDK=c:\java\lib\classes.zip rem echo on java -nojit -c

Re: Reading (All) Environment Variables in W95/NT

1998-12-15 Thread peter . pilgrim
Ok assuming you can do 3 __where__ is the standard place for the property files per user per machine? I think it is best to write a software installer program to do this task. It would write the property file to `user.home' say and the main application would know where to look for it and load t

Request For OS Sys Props [was Re: Reading (All) EnvVars ]

1998-12-16 Thread peter . pilgrim
System.out.println( "os.version = "+ System.getProperty( "os.version")); Somebody must have already have done this, if not I publish the results in a web table in 1999! Peter Pilgrim __ Reply Separator _ Sub

Re: Request For OS Sys Props [was Re: Reading (All) EnvVar

1998-12-16 Thread peter . pilgrim
Thanks. I had no know idea if "." prefix directories are reasonable of not reasonable on Win 95/98/NT. Note this is just UNIX convention, that makes sense for UNIX like operating system, because of the default de facto behaviour of the `/usr/bin/ls' program. In short you do not mind if a progra

Re: RMI-Question

1999-01-12 Thread peter . pilgrim
Soln: Use the RMI itself to implement an authentication protocol yourself ie get your clients to use a username and password if possible. The server verifies the username and password. In any case why would want to restrict the service just by machine name (host)? Far better to use a proper aut

How to get Netscape 4 working Swing and JMF Applets?

1999-01-13 Thread peter . pilgrim
I am trying to get Netscape to work with Swing and JMF. What is written in the README file does not work at all. Java Applet Support: Java Applet support is available for all Unix platforms. To run Java applets with the Java-enabled version, Communicator needs to

RE: How to get Netscape 4 working Swing and JMF Applets?

1999-01-14 Thread peter . pilgrim
Thanks alot. Netscape's README is a bit of nonsense with regards to the CLASSPATH. If you make sure that the CLASSPATH is unset then everything work. I though about install the jars in $MOZILLA_HOME/java/classes or making symbolic links to the jars from $SWING_HOME and $JMFHOME but really I thin

Re: How to get Netscape 4 working Swing and JMF Applets?

1999-01-14 Thread peter . pilgrim
I did all of this and it does work under Linux or Solaris. I think copying the jar to $MOZILLA/java/classes is best. Pete __ Reply Separator _ Subject: Re: How to get Netscape 4 working Swing and JMF Applets? Author: pridemor ([EMAI

PC-PLUS Magazine UK

1999-01-16 Thread peter . pilgrim
FYI PC PLUS Magazine UK will happily do us all of us who live in the UK a big favour and download the Java 2 Platform for LINUX and burn it on CD ROM ( when the porters release it). So look out for a copy of the mag. It's big timesaver for me. I still have dial up. In the February Issue which

Jittering sound playing on Java/Linux

1999-02-04 Thread peter . pilgrim
Fellows When the JVM plays .au files on my machine it seems to be suffering jittering and glitches. I think this happens because the sound playing green thread is not getting enough CPU to push mu law bytes down to /dev/audio. I am using black-down libc5 jdk1.1.7-v1a and Slackware Linux kerne

Re: Another JDK 1.2 Status Report

1999-02-05 Thread peter . pilgrim
Thanks for the infos. Question are green thread slower than native threads ? Would this affect the performance of the forthcoming Java Sound API and Java Media Framework API. Or am I barking (mad) up the wrong tree? Pete __ Reply Separator _

Re: JavaSound and JMF performance [was Re: Another JDK 1.2

1999-02-05 Thread peter . pilgrim
When I last looked at the Java Medio Homepage at the Javasoft site I can recall that the audio sound rendering engine could work well on Pentium 90 at only 20% of the level. AND AND it could handle up to 64 channels. I will need to see it to believe it methinks. The JMF will need to native librar

Re: Keyboard mnemonic problem

1999-02-11 Thread peter . pilgrim
What's an XBD? Peter __ Reply Separator _ Subject: Re: Keyboard mnemonic problem Author: cbsmith ([EMAIL PROTECTED]) at lon-mime Date:11/02/99 03:19 On Thu, 11 Feb 1999, Jackie Manning wrote: > On my system, RH 5.1 updated to 2.

Re: Keyboard mnemonic problem

1999-02-12 Thread peter . pilgrim
Whenever I start Motif applications on my linux box the [RETURN] does not work, but strangely enough Control-J work. I basically have given up. Does XBD (X keyboard extension) cure this problem ? How can I see XBD ? Peter __ Reply Separator

System.runFinalizersOnExit

1999-02-23 Thread peter . pilgrim
`` System.runFinalizersOnExit(true) '' Does this work/implemented on Blackdown JDK 1.1.7-1a or not? I find it does __not__ work for me ? Meaning no finalizers are called when the JVM terminates. However I tested the same code on Solaris/Sun JDK and it works! Anyone know the reason why? ( An

Re: System.runFinalizersOnExit

1999-02-23 Thread peter . pilgrim
Well I hope you they invent the API `System.onJVMExit( ExitNotifiable myIWannaBeNotifiedAtExitObject )' Otherwise how can we be sure that resources are released when the JVM exits. That temporary file creating utility object class will be soon redundant then, won't it? ( I guess this also touc

Dynamically modifying CLASSPATH

1999-03-08 Thread peter . pilgrim
Can one dynamically modified the CLASSPATH within Java and to create an application that loads classes from a modified class path? For example: Properties propsJVM = System.getProperties(); String ncp = extraClassPath + pathSep + System.getProperty("java.cla

Re: Dynamically modifying CLASSPATH

1999-03-08 Thread peter . pilgrim
Don't worry I have figured it out. Peter __ Reply Separator _ Subject: Re: Dynamically modifying CLASSPATH Author: sfloess ([EMAIL PROTECTED]) at lon-mime Date:08/03/99 13:24 Peter: You can't modify the system class path. Howev

  1   2   3   >