Re: Swing API

1999-07-14 Thread Mark O'Donohue


Hi

Yep it works fine, you need the solaris download, extract the file
swingall.jar and place it in your classpath.

I believe the latest release swing 1.1 beta3 is the last that will be
backported to run on jdk1.1 all others will run only on 1.2.

There is doco at the swing connection which describes this process in
a bit more detail, for getting swing to work under netscape.

http://java.sun.com/products/jfc/tsc/web/applets/applets.html



R MUTHUSWAMY wrote:

> hi,
>
> i am using java1.1.7 and i want  swing api's for linux. i have
> heard that i can't use the solaris files for swing. And also there is no
> swing available for linux for earlier versions. Tell me about the swing
> details.
>
> --
> 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]



Bug: in jdk1.2 FileChooser not choosing files

1999-07-20 Thread Mark O'Donohue


Hi


I have been having problems using JFileChooser, it was not
returning files that had been selected (sometimes it would
/sometimes it wouldn't).  Often about 1 in 3 selections would
work.

The problem happens only with native threads using green threads works.

I believe it is probably related to the modal JFileChooser 
problems reported for native threads on the jdk1.2 known-bugs 
screen, although the rest of my system does not hang.

I looked for an existing bug report to append this info 
to, but couldn't find one.

Is there somewhere I should report it ?

The JFileChooser sample from the java tutorial can be used
to reproduce the problem.

Thanks

Mark


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



Re: placing a java frame at the desired place?

1999-07-21 Thread Mark O'Donohue

Hi

There is apparently a bug in linux lesstif, (its logged at blackdown)
that makes this so if you set the variables before the window is shown.
I have taken to doing a setLocation after having done the
setVisible(true), it pops up at the top of the screen and the moves
to the center, ugly I know but it's better than moving all those screens
from the top left hand corner.

I'm unsure, your reference to visual cafe, made me think that you may
be PC based, and as I understand it this works there, (from personal
experience at least prior to jdk1.2).

Regards

Mark

ILAVARASAN wrote:

> Hi
>
> I am not able to place my frames at the desired place.  Irrespective of
> the x,y-coordinates i am specifying in the properties list of the frame (
> i am using symantec-visualCafe), the frames are displayed at a default
> place. I am not able to control it.  How to solve this problem?
>
> Thanx in advance.
>
> regards,
> ilavarasu
>
> --
> 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]



Swing doesnt seem to work with 32bit X11 colour depth.

1999-08-13 Thread Mark O'Donohue


Hi

I changed my X11 colour depth to 32bit and now swing doesn't run.  I get
the following error message.

Couldn't use the cross-platform look and feel:
java.lang.IllegalArgumentException: Raster ShortInterleavedRaster: width
= 64 height = 64 #numDataElements 1 is incompatible with ColorModel
DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0
Exception in thread "main" java.lang.NullPointerException
at java.util.Hashtable.get(Compiled Code)
at javax.swing.UIDefaults.get(Compiled Code)
at javax.swing.MultiUIDefaults.get(Compiled Code)


Another program is less informative and just tells me that it can't find
the MetalLookAndFeel class.  At the moment I'll change back to what I
had before (it was either 16 or 24) where it worked.


Regards


Mark O'Donohue






Here is the XF86Config setting,


# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32,
Mach64
# I128, and S3V)
Section "Screen"
Driver  "accel"
Device  "My Video Card"
Monitor "My Monitor"
Subsection "Display"
Depth   32
Modes   "1024x768"
ViewPort0 0
Virtual 1024 768
EndSubsection
EndSection



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



A personal view of the -mx and -oss options

1999-08-13 Thread Mark O'Donohue


Just a note that these two options peeve me off, particularly under 1.2
beta, where the default is set pretty low.

Virtual memory was invented so we don't have to worry about this sort
of  thing.  My Swing applications just about all need a memory setting
and some of my other number cruncher applications end up crashing more
regularly because they hit these boundaries.

I can understand the restrictions for running untrusted applets but
local trusted applications should have no local stack or memory limit.

There - that released some of the frustration...

Regards

Mark




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



Re: Java and Enlightenment

1999-10-01 Thread Mark O'Donohue

> > Here is my $.02:
> >
>

The problem I have with java and (possibly) Enlightenment is that presetting the
window location before the window is displayed does not work and they all appear
in the top left hand corner.

I had some code that would do a setLocation to the middle of the screen before
the window was displayed, and although the values were correct at setting time,
the window still appeared at location (0,0).

That is the only thing that was annoying.


> regards
>
>   [ bryce ]
>
> --
> 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]



Re: Blackdown JDK vs Sun JDK

1999-12-08 Thread Mark O'Donohue

>

Another big Ditto from me.

>
> James Seigel wrote:
>
> > I think this group knows who to credit for the work in the trenches when no one
> > else was supporting us developers on the Linux platform.  As always I give thanks
> > to blackdown for their supreme efforts to make this real!
> >

I also hope that some of the benefits flow back from the Sun/Imprise/IBM efforts to
the blackdown team.

I think it is imporant for Sun to ensure that this happens.  If efforts such as the
excellent effort put in by the blackdown team, ultimately end up being just a source
for exploitation by the commercial releases, so they can add 10% and release a better
product, then the people behind these efforts are going to be quickly disillusioned
and they will leave.   If the Sun Community process becomes a one way street, in this
fashon, then it will die a quick death.

The race between commercial vendors, while VERY helpful in providing focussed
resources and money on the problem, does miss out on the "Community" side of the
development fence,  the cooperation bits, the reduction of duplicated effort and
building a shared common product, rather than many similar products.

This may be a product of the Sun community licence.  Personally I believe the GNU
licence supports this community process better, but am interested to see how the Sun
licence develops.

Anyway, thanks again to all the blackdown developers, your efforts are much
appreciated and have done much for a long time a to fill a java void on linux.


Cheers

Mark



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