[ANN] JConfig 1.2: Linux, Unix, WinNT versions available

1998-09-15 Thread Chris Kelly

Samizdat Productions Releases JConfig 1.2

JConfig is a class library which supplements the core Java API. It lets you
work with files, web browsers, processes, file types, and other system-level
items in a much more advanced manner than that provided by the standard Java
class libraries. A list of JConfig's features is given below.

JConfig 1.2 supports several new platforms, including:

  - Linux
  - Win95, Win98, and WinNT 
  - MacOS
  - most Unix systems

** Download

To download JConfig, go to:

http://www.tolstoy.com/samizdat/jconfig.html

** Special Offer for Linux Developers

Next week, we'll be announcing a special offer just for Linux developers.
We'll announce it to this list, so stay tuned.

** Source Code

The complete Java and C++ source code to JConfig is now available for
licensing. See the page above for details.

** Pricing

You can redistribute the JConfig runtime components with most applications
*free of charge*. See the page above for details.

** Feature List

Here's a partial list of JConfig's features, by category:

Files:
  Enumerate the user's disk drives, and obtain extended information on
  files, directories, volumes, and filesystems: their icons, creation
  dates, version information, mount points, and more... 

Web Browsers:
  Launch a file or URL in the user's Web browser... 

Video Monitors:
  Enumerate and get information on the user's video monitors: bit depth,
  bounds, and more... 

External Processes:
  Create external processes, send basic commands to external processes,
  obtain the PSN or HWND of a process you created, and enumerate the
  currently running processes... 

File Types:
  Find applications associated with a given file type, find applications
  by name, and convert between Windows file extensions and Mac
  creator/file type codes...



[ANN] JConfig special offer

1998-09-30 Thread Chris Kelly

Recently, we announced our JConfig class library on this list. As a special,
limited-time offer just for LInux developers, we're offering source code
licenses to the Linux/Unix part of JConfig at a rather steep discount: just $1.

For more information, visit 
before Oct. 15, 1998.

If you have any questions, send email to <[EMAIL PROTECTED]>



JConfig is a class library which supplements the core Java API. It lets you
work with files, web browsers, processes, file types, and other system-level
items in a much more advanced manner than that provided by the standard Java
class libraries. 

To download JConfig, go to:

http://www.tolstoy.com/samizdat/jconfig.html



Frame's title bar is off the screen

2000-03-26 Thread Chris Kelly

When I open a frame with the code given below, it opens with <0,0> of the
content area at <0,0> of the screen. So, the title bar is off the screen,
and the window can't be moved. Is there a "WORA" workaround? I found this
message, but I'd rather avoid this type of stuff if possible:

 http://www.deja.com/[ST_rn=ps]/getdoc.xp?AN=298157345

setup:
  Redhat 6.1
  Enlightenment
  jdk1.1.8_v1

code:
  aFrame = new Frame( "Test" );
  aFrame.resize( 500, 400 );
  aFrame.show();



oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
 Send Sun a Message!
  Vote for JConfig in the JDJ Readers' Choice Awards.
http://www.sys-con.com/java/readerschoice2000/
 See the 'Best Class Library' category.
oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo



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




Frame's title bar is off the screen, Part 2

2000-03-26 Thread Chris Kelly

The previously mentioned problem with jdk1.1.8_v1 doesn't go away if I call
reshape() before and/or after calling show(). However, using jre1.2.2_rc4,
there's no problem; the code given in the original message works fine.

Is this just a jdk1.1.8_v1 problem, or some kind of an
Enlightenment/Gnome/RH6.1 problem?

Is there a table showing which VMs have this problem which I can reference
in the JConfig readme?



oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
 Send Sun a Message!
  Vote for JConfig in the JDJ Readers' Choice Awards.
http://www.sys-con.com/java/readerschoice2000/
 See the 'Best Class Library' category.
oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo



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




Re: java.lang.NoClassDefFoundError: sun/tools/javac/Main

2000-03-27 Thread Chris Kelly

I don't have the blackdown jdk1.2.2, but on the sun windows jdk1.2.2, that
class is in tools.jar. If such a file exists, is it in the classpath?

At 11:22 AM 3/27/00 -0800, Robert Miller wrote:
>  However, I have a team of developers working on a new project. The jsp's
>they developed worked under the old jdk1.1.7v3, but now they are broken. The
>error I get is:
>java.lang.NoClassDefFoundError: sun/tools/javac/Main
>at org.gjt.jsp.JSPCompiler.compileJavaFile(JSPCompiler.java,
Compiled Code)
>at org.gjt.jsp.JSPCompiler.compile(JSPCompiler.java, Compiled Code)



oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
 Send Sun a Message!
  Vote for JConfig in the JDJ Readers' Choice Awards.
http://www.sys-con.com/java/readerschoice2000/
 See the 'Best Class Library' category.
oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo



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




Re: Accessing a JNIEnv pointer from within a C++ jni function

2000-03-28 Thread Chris Kelly

IMHO, you have two options: either pass JNIEnv* to each level, or pass your
C++ objects back to the top level, and use JNIEnv* on them there. The
second option would avoid you having to make all your classes "JNI-aware".
To avoid that with the first option, hide JNIEnv* in a struct or a class or
as a void*. Only the classes which use JNIEnv* would then have to be
"JNI-aware".

At 05:28 PM 3/28/00 +, Norman Shapiro wrote:
>The Java jni specifications require a JNIEnv* for almost all functions they
>provide.  Furthermore it seems that if multiple Java threads can access
the same
>function, each function call must use the JNIEnv* from the current thread.
>
>Given that function I am writing is maybe 20 deep in a call hierarchy of C++
>functions I have written, is there any way of accessing the correct JNIEnv*
>short of passing it all the way down as C++ function arguments?
>
>Putting it in a global or within a global class does not work in my case
because
>multiple Java threads can be using the same C++ function.
>
>I need a solution that works under Linux, though something that is
portable to
>Microsoft* would be ideal.



oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
 Send Sun a Message!
  Vote for JConfig in the JDJ Readers' Choice Awards.
http://www.sys-con.com/java/readerschoice2000/
 See the 'Best Class Library' category.
oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo



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



Re: HELP: using unix-signals?

2000-03-30 Thread Chris Kelly

http://interstice.com/~kevinh/projects/javasignals/
http://www.naturalbridge.com/useful/index.html

At 07:06 PM 3/30/00 +0200, Bruno Boettcher wrote:
>i didn't found this in the FAQ's nor in the docu is there a way to
capture
>-c interruptions or as long as this one to any one of the other
>unix-signals?




oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
 Send Sun a Message!
  Vote for JConfig in the JDJ Readers' Choice Awards.
http://www.sys-con.com/java/readerschoice2000/
 See the 'Best Class Library' category.
oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo



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




Re: JAVA_HOME

2000-04-06 Thread Chris Kelly

Is there a non-rpm version? Perhaps you could try it the old-fashioned way
by editing the config file where they store this information. Or, try it
using GnoRPM. I'm no shell script expert, but maybe you need to export
JAVA_HOME as well?

At 11:13 PM 4/6/00 +0100, John Louis wrote:
>Hi,
>   I just install IBM JDK1.1.8, and set my .bash_profile like:
>JAVA_HOME=/usr/jdk118
>PATH=$PATH:$HOME/bin:/usr/jdk118/bin
>ENV=$HOME/.bashrc
>CLASSPATH=/usr/jdk118/lib
>export ENV PATH
>export CLASSPATH=$JAVA_HOME/lib/classes.zip:$CLASSPATH
>mesg n
>
>I try to compile jdk118 demo, and run it, its work.
>But, I still cannot install the WebSPhere.  The command I'm using is
>
>rpm -ivh IBMWebAS-core-2.03-1.i386.rpm   and
>rpm -ivh --nodeps IBMWebAS-core-2.03-1.i386.rpm
>Both of them is said cannot find where java is installed.



oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
 Send Sun a Message!
  Vote for JConfig in the JDJ Readers' Choice Awards.
http://www.sys-con.com/java/readerschoice2000/
 See the 'Best Class Library' category.
oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo



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




Re: Set as Home Page

2000-04-13 Thread Chris Kelly

Well, this is maybe more appropriate for comp.lang.java.programmer or a
javascript group, but since I've done this I'll answer. Netscape has
preferences which you can read and write from javascript, including the
user's home page. You need to make a signed javascript which sets that
particular preference. Search at developer.netscape.com for that info. As
far as IE is concerned, I'm sure it has something similar.

At 12:53 PM 4/13/00 PDT, Luz Lopez wrote:
>I need to make a consult, I need my users to make my site their home page, 
>in such a way that they press a buttom an automatically the site stay like 
>their home page.



oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
 Send Sun a Message!
  Vote for JConfig in the JDJ Readers' Choice Awards.
http://www.sys-con.com/java/readerschoice2000/
 See the 'Best Class Library' category.
oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo



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




Re: Source Code of Web Browser for Linux

2000-05-01 Thread Chris Kelly

Have you looked at, say, javaworld's tool guide or freshmeat.net or IBM's
jCentral? Some that come to mind are mozilla, javazilla (or whatever it's
called, I'm sure there's a link at www.mozilla.org), sun's hot java (don't
know if source is available), lynx (ditto), www.icesoft.no...

At 02:19 PM 5/1/00 -0500, you wrote:
>Is there any source code of a Web browser for Linux available somewhere?
>It's even better if it's pure Java source code, so we can use it on
>different platform to get a consistent interface?




oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
 Send Sun a Message!
  Vote for JConfig in the JDJ Readers' Choice Awards.
http://www.sys-con.com/java/readerschoice2000/
 See the 'Best Class Library' category.
oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo



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




Re: Vote of 'No Confidence' in SUNs 'guidance' for Java.

2000-10-31 Thread Chris Kelly

At 09:27 AM 10/31/00 -0800, Calvin Austin wrote:
>Minor corrections, you can legally 
>
>a) share source with other SCSL licensees for free, for example if
>you wanted to work in a porting team or use it for your research project.
>
>b) you can ship a binary if it passes the TCK test, there are
>no royalties but the test itself is not free. 

So you can't, for instance, add a new method to java.io.File and ship that
binary then, right?

Also, see:
  http://www.microsoft.com/presspass/trial/exhibits/feb99/2175/sld001.asp

"The definition of the Java Test Suite is extremely broad. If negotation
with MS is not going well, we can possibly "enhance" the Java Test Suite to
invalidate any Java implementation that doesn't support certain desired new
feature."


>regards
>calvin
>
>>At 18:11 10/30/00 -0800, noisebrain wrote:
>>>This (the license) does not negate the fact that the source is available
>>>and can be changed.
>>
>>actually it does. What can you (legally) do with that changed source?
>>Nothing. Can you give it to me in binary form? no. Can you give it to me
>>in source form? no. Can you give it to me in a diff. No. It might as well
>>be the old AT&T unix license. Yeah it's still better than say Windows,
>>but it isn't GNU/Linux, it isn't xfree86, it isn't apache, it isn't perl,
>>it isn't Open Source; but the more people who will buy into Sun's diluted
>>concept the more they and the popular press will forget the real meaning.
>>Please don't feed their delusions.
>>
>>
>>
>>
>>now the forces of openness
>> have a powerful and
>> unexpected new ally
>>http://ibm.com/linux/
>>
>>
>>--
>>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]
>
>
>


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