Re: Low level disk access

1998-11-11 Thread Paul Reavis
Paul Reavis wrote: > > Urban Widmark wrote: > > > > ... but that would perhaps not be > > low enough for you so how about: > > int fd = open("/dev/hda", O_RDONLY); > > > > and then: > > lseek() > > read() > > O

Re: Low level disk access

1998-11-11 Thread Paul Reavis
JNI nonsense and just open /dev/hda up as a java.io.RandomAccessFile? I've just _got_ to try this... though probably on a ramdisk first :-) Gee I love linux... -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: Image scaling

1998-10-27 Thread Paul Reavis
le code and responded within 30 minutes of my filing the bug report in Jitterbug, and there was a solution in less than two days. Kudos galore; if Kevin or any other porting members are ever in Athens GA I've got a beverage for ya. -- Paul Reavis [EMA

Re: Is there a decent file explorer for Linux?

1998-10-26 Thread Paul Reavis
here. For example, since Gnome is corba-based, you could write Gnome apps in Java, or perhaps have a cross-platform app that's Gnome-enabled when running with Gnome. Eventually issues like these will outgrow the java-linux mailing list. -- Paul Reavis [EMAIL P

Re: Image scaling

1998-10-20 Thread Paul Reavis
n ship it to my testers since we deploy on Win95 :-( I've submitted my post to Jitterbug; it's bug #233 -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Image scaling

1998-10-19 Thread Paul Reavis
th, int height) { image = getToolkit().getImage(imagename); this.width = width; this.height = height; } public void paint(Graphics g) { g.drawImage(image, 0, 0, width, height, this); } } - - - -

Re: How do I implement a synchronous drawImage()

1998-10-12 Thread Paul Reavis
try { trackie.waitForID(0); } catch(InterruptedException oopsie) {} } - - - - - - - - - - - - - - - - - - - - - >8- - - - - - - -- Paul Reavis [EMAIL PROTE

Re: fast multiple object creation ... can it be done!

1998-09-29 Thread Paul Reavis
I've heard about it from various quarters; it's in the big bag of HotSpot/1.2 improvements, and there are several white papers and articles scattered around about those. Uncle George, you might dig around on developer.javasoft.com and javaworld if you want more info. Or just keysearc

Re: Experiences with jdk and lesstif?

1998-09-29 Thread Paul Reavis
Juergen Kreileder wrote: > > >>>>> Paul Reavis writes: > > Paul> I was just wondering what experiences people are having > Paul> using the jdk with dynamic lesstif. I recall there were > Paul> problems awhile back, but haven't heard muc

Experiences with jdk and lesstif?

1998-09-29 Thread Paul Reavis
y, some of which I assume is static Motif. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: fast multiple object creation ... can it be done!

1998-09-29 Thread Paul Reavis
ressing the GC for sure. Hotspot and 1.2 promise to help with the both ends of the problem - we'll how that turns out. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Socket exceptions under 1.1.6v4

1998-09-28 Thread Paul Reavis
I'll dig more when I get a chance if no one has any ideas on what the change might have been. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: getResourceAsStream on Class-Files

1998-09-28 Thread Paul Reavis
Bernd Wengenroth wrote: > > Paul Reavis wrote: > > > > And you should be able to get around it with a custom classloader (which > > isn't as hard to implement as you might think). > > *smile*, that exactly what i want. > I want to speed up the start of p

Re: getResourceAsStream on Class-Files

1998-09-28 Thread Paul Reavis
ny hints ? > > That's a security feature, you can't get classes with getResource. And you should be able to get around it with a custom classloader (which isn't as hard to implement as you might think). -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: Font problems with v4b

1998-09-17 Thread Paul Reavis
Vincent Trussart wrote: > > Paul Reavis wrote: > > > I've been running Together/J, and have a couple of problems. > > > > One is I keep getting things like: > > > > Warning: > > Name: textfield > > Class: XmTextField > >

Font problems with v4b

1998-09-17 Thread Paul Reavis
Also, occasionally it hangs on startup, especially after running a few times. So I did a `find /` just to purge the disk cache, and, voila! it works. Interesting. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: Delete all class files

1998-09-16 Thread Paul Reavis
d involve some games with the path-mangling functions. Because of these and other issues, I wrote a simple program, JarMakefileGenerator, that takes a make-like format and builds a Makefile that compiles your code into jarfiles. It's GPLed and at http://www.worldofbeverage.net/java/jcon/ -- Paul Re

Re: Delete all class files

1998-09-15 Thread Paul Reavis
David Warnock wrote: > > Paul Reavis wrote: > > > All of which is more complicated than my favorite method, which is to > > specify a separate .class file directory with the "-d" option (javac or > > jikes); then it's just > > > > rm -

Re: Delete all class files

1998-09-15 Thread Paul Reavis
o one possible solution :) > > find . -name *.class | xargs rm > All of which is more complicated than my favorite method, which is to specify a separate .class file directory with the "-d" option (javac or jikes); then it's just rm -r classes\* -- Paul Reavis

Re: jikes bug

1998-08-13 Thread Paul Reavis
Jikes has different default initialization behavior 2) Jikes generates different bytecodes, which aggravates a race condition I hope to hunt it down soon; I really like jikes' speed and functionality, and don't mind its anal retentiveness. But in the meantime I'm cranking out bells

Re: makemake?

1998-08-11 Thread Paul Reavis
es every time a compilation unit is > added. Checkout the JarMakefileGenerator in the Atlanta Java Consortium reuseables library at http://tumu.home.mindspring.com/java/jcon/ -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.

World of Beverage back up

1998-08-07 Thread Paul Reavis
the interim; I'll be updating and sweeping out cobwebs this weekend, while adding new, even sillier graphics. Sorry for the inconvenience (or for this annoying message if you didn't care). As for the cause of the mess, let's just say that accountant time and Internet time run at totally

java-linux article

1998-08-03 Thread Paul Reavis
says they will soon. Any feedback is much appreciated; I haven't decided the final fate of this thing but I need to rewrite it from the other angle to present Java for Linux enthusiasts. -- Paul Reavis [EMAIL PROTECTED] Design Lead P

Re: [Q] JDK's on CD ROM

1998-08-03 Thread Paul Reavis
/local/jdk*, and go. My home system is 2.1, which works fine but isn't for beginners. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: Slow image draws

1998-07-24 Thread Paul Reavis
equently - once at about 340; once at around 760; etc. Moving the mouse or hitting a key starts it painting again. Regardless, it takes forever to complete. So the big question is: is this a Swing bug, or a Java-Linux bug? I don't see this behavior under Win32, which is why I'm pestering

Re: Slow image draws

1998-07-24 Thread Paul Reavis
Vincent Trussart wrote: > > Paul Reavis wrote: > > Sometimes it > > seems to just pause entirely - the breadcrumbs stop, then restart when I > > move my mouse. I do have some things attached as MouseMotionListeners. > > Perhaps there's some strange thre

Re: Slow image draws

1998-07-24 Thread Paul Reavis
Paul Reavis wrote: > > Sometimes it > seems to just pause entirely - the breadcrumbs stop, then restart when I > move my mouse. I do have some things attached as MouseMotionListeners. > Perhaps there's some strange thread dynamics going on? Update: I disabled al

Slow image draws

1998-07-24 Thread Paul Reavis
etting an smaller example together would be some work, but might be worth it if I can track down the root cause. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: Environment variables

1998-07-22 Thread Paul Reavis
t, what with all the -classpaths and -Ds and all :-) Thanks to you and everyone else who responded- -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: Environment variables

1998-07-22 Thread Paul Reavis
e time. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Environment variables

1998-07-22 Thread Paul Reavis
with: bash$ java -Dfoo=bar myapp What am I doing wrong here? -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

My evaluation of IBM's Jikes compiler

1998-07-22 Thread Paul Reavis
e how it does as far as correctness, but initial indications are very good. Note the long list of addressees, including the Jikes authors; you might want to reduce this in any replies. Thanks. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: Linux/Java/KDE

1998-07-21 Thread Paul Reavis
J.S. Willans wrote: > > Are there any plans to port java so that it uses the KDE toolkit > (http://www.kde.org)? The JCL project (http://www.oryxsoft.com/projects/jcl/) is working on an open-source replacement for the java.* (including awt) stuff that is based on I believe GTK. KDE uses Qt as it

Re: java.awt.Printjob

1998-07-02 Thread Paul Reavis
Gary Mart (GAM22) admin0 wrote: > > On Thu, 2 Jul 1998, Paul Reavis wrote: > > > Reinhard Simon wrote: > > > > > > I want to print a Canvas with a picture (gif) directly from a frame. > <--snip > > > > Now, we take snapshots, dump them as PNG

Re: java.awt.Printjob

1998-07-02 Thread Paul Reavis
's bug parade; I suspect 1.2 will address this. But under 1.1 it is one of the, shall we say, less mature bits of the java core API. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: Survey, what tool do you use?

1998-06-19 Thread Paul Reavis
ay here at work (I hack Java full-time :-) for months now and find it a big time-saver for complex builds (my tree is 315 .java files strong at the moment). Anyway, it's LGPLed so if it's close to what you need you can make it fit (and send me the diffs if you like). -- Paul Reavis

Atlanta Java Consortium Reuseables

1998-06-08 Thread Paul Reavis
nd a mechanism for configurable bean-like objects -> A simple structured storage framework-in-progress There's probably more. I use most of these things every day in my commercial coding; I have found them very useful and the process of cleaning them up for public inspection has ma

Re: dependencies and javac?

1998-06-08 Thread Paul Reavis
interested in > hearing if it works well for your project. I hate to pre-advertise, but I'll be putting up an LGPLed class library this week that includes a build system that uses Makefiles. It adds a lot more structure to the Java compilation process. I'll announce it on this list wh

Re: Installing Java JDK 1.1.5 on Debian?

1998-05-29 Thread Paul Reavis
ors after that. Interesting, but probably not relevant. I'm still looking into depth issues, and trying to find a test example without foisting all my code off on you. But I thought perhaps sbb or others could peek at the source and see if all this rings a bell... Thanks for help- -- Paul R

Re: Installing Java JDK 1.1.5 on Debian?

1998-05-28 Thread Paul Reavis
ian 1.3 (bo). If you manage to get this running on Rex, send me the details, so I can add it to my Debian-JDK howto (http://www.mindspring.com/~tumu/java/Debian-JDK.html). -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Debian JDK page

1998-05-27 Thread Paul Reavis
ebian. As listed in the FAQ, it lives at http://www.mindspring.com/~tumu/java/Debian-JDK.html. Enjoy. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: Experiences with JBuilder?

1998-05-21 Thread Paul Reavis
a bad living. :-) So yeah, there are issues, but it works for us and I'm loving it. Cheers to the porting team. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

Re: Swing under Linux

1998-05-20 Thread Paul Reavis
Aaron Walker wrote: > Does anyone know if the JFC (Swing) is available under Linux? Just download it from javasoft (I grab the tar.Z version) and use it. Works great. Swing is 100% java, so no porting required. -- Paul Reavis [EMAIL PROTECTED] Design L

Re: Debian Java howto

1998-05-20 Thread Paul Reavis
Alexander Davydenko wrote: > Paul Reavis wrote: > > > I'd like to volunteer to start and maintain some documentation on > > installing and running the java JDK port under Debian. > > May it be prefere to maintain a .deb package? There is already a maintainer, I be

Debian Java howto

1998-05-20 Thread Paul Reavis
here, and I'd really like for there to be a little more info about installation issues. Any contributions would be greatly appreciated. -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com

NPE using Swing

1998-05-15 Thread Paul Reavis
_err.so.2 => libcom_err.so.2.0 libreadline.so.2 => libreadline.so.2.1 libncurses.so.3.0 => libncurses.so.3.0 libm.so.5 => libm.so.5.0.9 libc.so.5 => libc.so.5.4.44 libdl.so.1 => libdl.so.1.9.5 ld-linux.so.1.8.12 => ld-linux.so.1.8.12 -- Paul Reavis [EMAIL PROTECTED] Design Lead Partner Software, Inc.http://www.partnersoft.com