text of List

2001-08-29 Thread flora yuan

I am developing an user interface for exploring file system. I use List to 
contain the lists of files/subdirectory. Currently, file and directory are 
the same text fond/color when they are displayed in the List. My question is 
how to give users an obvious way to distinguish file and directory by using 
AWT, Java1.1 ?


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]




Blackdown Java for Linux System Requirements

2001-08-29 Thread Martin Schröder

2.4 of the FAQ is a bit old.

What are the requirements for 1.3 and what will be the
requirements for 1.4?

Best regards
Martin
-- 
  Martin Schröder, [EMAIL PROTECTED]
ArtCom GmbH, Grazer Straße 8, D-28359 Bremen
   Voice +49 421 20419-44 / Fax +49 421 20419-10


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




GregorianCalendar problems regarding DST

2001-08-29 Thread Byers, Grant

Is anyone able to tell me where the zoneinfo comes from when constructing a default 
GregorianCalendar() ?

Since last weekend ( when daylight savings began in Australia/Victoria last year for 
the Olympics ) it's been automatically adjusting time to 1 hour later than it is.

When constructing a default GregorianCalendar, it sets timezone to "Australia/Sydney" 
although i'm in Australia/Victoria. My /etc/localtime is linked accordingly. I have 
also set the TZ environment var accordingly but it makes little difference. 
Regardless, Daylight savings does not start in Sydney until next month either, we 
share the same timezone info.

I'm holding back on submitting a bug report to the glibc2 maintainers until i'm sure 
this is not Java specific. ( 'date' still reports the correct time ).

I run Debian/Unstable and upgrade frequently, so can't see last years daylight savings 
info creeping into the zoneinfo stuff in the past few weeks, unless of course it's 
never been changed back. No stale links here either.

Tried both blackdown JDK and IBM JDK ( both 1.3 )

Anyone able to shed some light here?

Cheers,
Grant


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




Re: GregorianCalendar problems regarding DST

2001-08-29 Thread Juergen Kreileder

Grant Byers <[EMAIL PROTECTED]> writes:

> Is anyone able to tell me where the zoneinfo comes from when
> constructing a default GregorianCalendar() ?
> 
> Since last weekend ( when daylight savings began in
> Australia/Victoria last year for the Olympics ) it's been
> automatically adjusting time to 1 hour later than it is.
> 
> When constructing a default GregorianCalendar, it sets timezone to
> "Australia/Sydney" although i'm in Australia/Victoria. My
> /etc/localtime is linked accordingly. I have also set the TZ
> environment var accordingly but it makes little
> difference. Regardless, Daylight savings does not start in Sydney
> until next month either, we share the same timezone info.
> 
> I'm holding back on submitting a bug report to the glibc2
> maintainers until i'm sure this is not Java specific. ( 'date' still
> reports the correct time ).
> 
> I run Debian/Unstable and upgrade frequently, so can't see last
> years daylight savings info creeping into the zoneinfo stuff in the
> past few weeks, unless of course it's never been changed back. No
> stale links here either.
> 
> Tried both blackdown JDK and IBM JDK ( both 1.3 )
> 
> Anyone able to shed some light here?

Please upgrade to 1.3.1.

1.3.0 had

,
| new SimpleTimeZone(10*ONE_HOUR, "Australia/Sydney",
|   Calendar.AUGUST, -1, Calendar.SUNDAY /*DOW_IN_MON*/, 2*ONE_HOUR, 
|SimpleTimeZone.STANDARD_TIME,
|   Calendar.MARCH, -1, Calendar.SUNDAY /*DOW_IN_MON*/, 2*ONE_HOUR, 
|SimpleTimeZone.STANDARD_TIME, 1*ONE_HOUR),
| // Rule AN  2000only-   Aug lastSun 2:00s   1:00   -
| // Rule AN  1996max -   Mar lastSun 2:00s   0  -
| // Zone Australia/Sydney10:00   AN  EST
`

where 1.3.1 has (the also imperfect):

,
|   new SimpleTimeZone(10*ONE_HOUR, "Australia/Sydney",
| Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, 
|SimpleTimeZone.STANDARD_TIME,
| Calendar.MARCH, -1, Calendar.SUNDAY, 2*ONE_HOUR, 
|SimpleTimeZone.STANDARD_TIME,
| 1*ONE_HOUR),
|   // Rule AN  2001max -   Oct lastSun 2:00s   1:00-
|   // Rule AN  1996max -   Mar lastSun 2:00s   0   -
|   // Zone Australia/Sydney10:00   AN  EST
`

1.4 should get everything right (it uses the same zoneinfo file as
glibc).


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html


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




Sun bug #4392518

2001-08-29 Thread Martin, Stephen

JDialogs (and Dialogs as well) have not worked well under Linux for a long
time. The behaviour is
described by the sun bug #4392518 which is marked as fixed in merlin beta
but still exists under
both the sun and blackdown 1.3.1 jdks. Code that demonstrates this bug is
attached to this
message. Can anyone tell me if there is any effor being done to fix this
under 1.3.1 or is there
a work around for it. This bug is not limited to kde by the way, it also
appears under WindowMaker
and probably other window managers as well.

 <> 

 TestJDialog.java


undefined symbol: jdk_pthread_sigmask

2001-08-29 Thread Leigh . Chen


here is an mysterious error message i got while running jdk1.3.1 with
classic VM :

error in loading shared libraries: 
/calm/conn/test/jdk/jdk1.3/jre/lib/i386/classic/libjvm.so: undefined symbol: 
jdk_pthread_sigmask

here is my LD_LIBRARY_PATH


:/calm/conn/test/jdk/jdk1.3/jre/lib/i386:
/calm/conn/test/jdk/jdk1.3/jre/lib/i386/classic:
/calm/conn/test/jdk/jdk1.3/jre/lib/i386/native_threads:
/calm/conn/test/lib:
/calm/conn/test/cpplib::
/calm/conn/test/jdk/jdk1.3/lib/i386:
/calm/conn/test/SYBSasa7/lib:
/calm/conn/test/intersolv/lib::

thanks !




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




Re: Blackdown Java for Linux System Requirements

2001-08-29 Thread Juergen Kreileder

Martin Schröder <[EMAIL PROTECTED]> writes:

> 2.4 of the FAQ is a bit old.
> 
> What are the requirements for 1.3 and what will be the
> requirements for 1.4?

The minimum requirements for 1.3 are: Kernel 2.2.16, glibc-2.1.3,
XFree 3.3.6 (but I would recommend a 2.4 kernel and glibc-2.2.4).
Most likely this will apply to the first 1.4 releases too (later 1.4
releases may require glibc-2.2.4 and XFree 4.1).


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html


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




Re: undefined symbol: jdk_pthread_sigmask

2001-08-29 Thread Juergen Kreileder

Leigh Chen <[EMAIL PROTECTED]> writes:

> here is an mysterious error message i got while running jdk1.3.1
> with classic VM :
> 
> error in loading shared libraries:
> /calm/conn/test/jdk/jdk1.3/jre/lib/i386/classic/libjvm.so: undefined
> symbol: jdk_pthread_sigmask
> 
> here is my LD_LIBRARY_PATH
> 
> 
> :/calm/conn/test/jdk/jdk1.3/jre/lib/i386:
> /calm/conn/test/jdk/jdk1.3/jre/lib/i386/classic:
> /calm/conn/test/jdk/jdk1.3/jre/lib/i386/native_threads:
> /calm/conn/test/lib:
> /calm/conn/test/cpplib::
> /calm/conn/test/jdk/jdk1.3/lib/i386:
> /calm/conn/test/SYBSasa7/lib:
> /calm/conn/test/intersolv/lib::

If you're using JNI with the Invocation API link you're binary with -lhpi.
Otherwise use the HotSpot VM or LD_PRELOAD libhpi.so.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html


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




Re: JDK 1.4 port status

2001-08-29 Thread Juergen Kreileder

Jim Hazen <[EMAIL PROTECTED]> writes:

> The status page for the Blackdown 1.4 port hasn't been updated in a
> while.  Is there any new news?  Is Blackdown waiting to integrate
> the Sun 1.4 beta 2 source?  Are they prohibited from releasing
> "beta" products by Sun?
> 
> I'm currently using Blackdown 1.3.1 and I love it.  It runs faster
> (than the Sun version), works better, doesn't crash.

:-) And I would like to see the same for 1.4...

> Couldn't want much more in a JVM.  I'm looking forward to
> Blackdown's take on 1.4, but since their promise on 6/25 that a beta
> would be available soon, I haven't heard or seen anything.  Anyone
> know what's going on?

We are working on a first 1.4 release (based on Sun's beta2 or later)
which should be available in about two weeks.


Juergen


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




Re: JDK 1.4 port status

2001-08-29 Thread Juergen Kreileder

Alex Buell <[EMAIL PROTECTED]> writes:

> On Mon, 27 Aug 2001, Jim Hazen wrote:
> 
>> I'm currently using Blackdown 1.3.1 and I love it.  It runs faster
>> (than the Sun version), works better, doesn't crash.  Couldn't want
>> much more in a JVM.  I'm looking forward to Blackdown's take on
>> 1.4, but since their promise on 6/25 that a beta would be available
>> soon, I haven't heard or seen anything.  Anyone know what's going
>> on?
> 
> I'm still waiting for them to finish porting 1.3.1 to the sparclinux
> platform, as I need the java plugin to use with Mozilla. It's about
> the only thing stopping me from junking Netscape entirely.

I still have problems with Mozilla on Sparc (even without Java), so this
might take a couple of days more...
(You might be able to use Java in Mozilla before that.  There's a new
Java integration API for Mozilla: Waterfall.  IIRC it will build 
with access to the Java sources.)


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html


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