Re: [Partially OT] A Java parser - part 2

1999-11-21 Thread Michael Emmel
Vincent Risi wrote: > Andreas Rueckert wrote: > > > Hi! > > > > On Thu, 18 Nov 1999 Paul Mclachlan wrote: > > > > The next problem occured when I wanted 2 parsers to use the same base classes > > for the AST. Never managed to do that, and I couldn't patch JavaCC, since there > > were no sources a

Re: Linux JVMs

1999-10-18 Thread Michael Emmel
som ranting near the end but do not compile shipping code with jikes. Also do not make IBM slow jikes down for shipping code : ) Michael Sinz wrote: > On Tue, 19 Oct 1999 00:03:18 +0200, Ian Corner wrote: > > >You mentioned in a previous email the ibmjdk, is that Jikes? If not what is > >Jik

Re: Const in java

1999-10-15 Thread Michael Emmel
> > > Such is the problem there are times where I dont want the user to be able > to alter a returned object's state. > Thats easy just add a lock variable that take the ( Caller) as a prameter to set. Or its not public. Check that on each method invoction which effects state. I'm not sure of

Re: Const in java

1999-10-13 Thread Michael Emmel
[EMAIL PROTECTED] wrote: > On Wed, 13 Oct 1999, Robert Simmons wrote: > > > Since everything in java is passed by reference this becomes even more of an issue. > > Therefore can I do the following to achieve the desired safety ? > > Well, everything is not passed by reference in Java. I believe

Re: Java and Enlightenment

1999-09-30 Thread Michael Emmel
Ron Yorston wrote: > Michael Emmel wrote: > > >Peter Graves wrote: > > > >> The authors of the Enlightenment window manager have some > >> interesting comments today about Java: > >> > >> http://www.enlightenment.org/news.html > >&g

Re: Java and Enlightenment

1999-09-29 Thread Michael Emmel
Peter Graves wrote: > The authors of the Enlightenment window manager have some > interesting comments today about Java: > > http://www.enlightenment.org/news.html > > Their basic point is that "Java under X (AWT) is Broken"; they > don't mention which Java implementation they're referring to

Re: swing and syntax question

1999-09-27 Thread Michael Emmel
berry wrote: > > > Another question: > > > > > > With Swing classes, at what point is native code actually > > > called to do drwing . If you could tell me, I am wondering what classes > it > > > happens in and what is specifically happening. In 1.1 it would be > > > the peer classes. > > > > I

Re: swing and syntax question

1999-09-25 Thread Michael Emmel
berry wrote: > Hi, > > I was wondering if anyone knows what this following > code means? > > public Rectangle getBounds() { > return JFrame.this.getBounds(); > } That sort of code is used in inner classes. One of the swing programmers seems to make a habit of it. If you have a lot of in

Popup Trigger

1999-09-01 Thread Michael Emmel
What is the popup mouse event trigger under Linux I tried a few combos nothing would set the popup flag ??? Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Background processes?

1999-08-27 Thread Michael Emmel
> > > > Dustin Lang wrote: > > > > > > Hi, > > > > > > Can anyone tell me if there is a way to Runtime.exec() a process that > > > lives longer than the Java process that spawns it? C example deleted And simple way is to call on Unix nohup procname & Works in all shell that I know of. NT I d

Re: Food for thought...

1999-08-18 Thread Michael Emmel
SHUDO Kazuyuki wrote: > Michael Emmel <[EMAIL PROTECTED]> wrote: > > > By splitting the JVM from the class libraries via a portable interface we gain >a lot ! > > I think if development was split between multiple JVM's and a open robust class >library &g

Re: Food for thought...

1999-08-17 Thread Michael Emmel
Jacob Nikom wrote: > I have feeling that for Sun Java is more important than Solaris. > IMHO they are targeting quickly growing embedded market to sell > more of their hardware. This market is good place for Java and > Linux, not Solaris. > > A lot of embedded and "real-time" software developers

Re: Food for thought...

1999-08-16 Thread Michael Emmel
Mike Christiansen wrote: > Riyad Kalla wrote: > > > These are good points.. and I think the reason Sun doesn't support Linux so readily > > is simply because it would be shooting its self right in the Solaris-Foot. If it > > provides a high performance, solaris quality Java implementation... they

Re: Dead lock in Graphics setFont

1999-08-07 Thread Michael Emmel
Michael Emmel wrote: Well I figured it out. Swing was handing out the same native graphics context twice. It look like theres a race condition in Swing Graphics wich allows it to hand out the same native graphics context twice in a threaded enviroment The pain is it results in deadlocks when

Dead lock in Graphics setFont

1999-08-06 Thread Michael Emmel
Hi I'm dead locking in Graphics on a call to setFont It enters g.setFont and never ruturns theu funny thing is it succeeds many times and this is the only thread in the setFont call ?? I synchronized on the graphics but no luck. java version "1.1.7B" Good call 0 SET FONT CALLED java.awt.Font[f

Re: Working with many .java files jikes Compiler

1999-07-30 Thread Michael Emmel
> > We use make to great advantage. Our system has ~1000 java files and > make reduces compile time dramatically. ( We use jikes, too, so that > helps. ) Using production rules, make will only compile a java file > when the timestamp on the .java file is later than the timestamp on the > .cla

Re: Segmentation Fault and 1024-bit reselotion?

1999-07-22 Thread Michael Emmel
Nathan Meyers wrote: > Rob Clark wrote: > > > > For what it is worth, I see the same problem under xfree86 at 16bpp, > > so I am not sure that it is an Xvnc problem. > > > > What is involved in adding support for new color depths? I would like > > to drop support for older versions of JDK for an

Re: NoClassDefFoundError... argh!

1999-07-21 Thread Michael Emmel
Dustin Lang wrote: > Hi, > > An ammendment to my original post: > > The ClassNotFoundException is successfully caught and execution continues > (same as it would if a really nonexistant class name was given in the > config file), but immediately after it comes the error everyone loves, > Umm I f

Re: Swing Priority

1999-07-21 Thread Michael Emmel
BAZLEY Sebastian wrote: > In case anyone is interested, there is a useful description of such issues > in the O'Reilly book "Java Threads", chapter 6 "Java Thread Scheduling", > which discusses some popular scheduling implementations. > > A couple of suggestions (not tested): > > If you don't wan

Re: Something Special for Linux Developers on alphaWorks

1999-06-10 Thread Michael Emmel
Ulli Kortenkamp wrote: > Hi, > > I just got this announcement from IBM Alphaworks. Sounds > interesting. We should use the remaing time until Friday evening for > wild speculations, bets and guesses...: > > - > > Some

Re: sunwjit slows down JDK

1999-06-09 Thread Michael Emmel
Steve Byrne wrote: > Scott Murray <[EMAIL PROTECTED]> writes: > > > > > On Tue, 8 Jun 1999, Bob Cadenza wrote: > > > > [snip] > > > For images this is almost 5 times as slow in jdk1.2. You can even see > > > it, the benchmark even redraws itself noticably slow. > > > > You can chalk that differe

Re: [OT] Proposal: select ..

1999-05-31 Thread Michael Emmel
Per Widerlund wrote: > Michael Sinz wrote: > > MS> You may find out that it ends up being easier since you > MS> write your code to deal with one file and that one file > MS> only and just get multiple objects or different classes > MS> together to handle the whole combination. > > Yes, it is

Re: position of java applications starting up.

1999-05-13 Thread Michael Emmel
Nelson Minar wrote: > >i was wondering if it is possible to set the position of > >a java GUI once it starts up. Whenever i run a application > >it starts up in the corner of the screen. > > Like people said, setLocation() will do that. But I have a related > question - how do I *not* set the pos

Re: Call To Action on Java Lobby

1999-05-08 Thread Michael Emmel
Bernd Kreimeier wrote: > Michael Emmel writes: > > There has been a request on the Java Lobby www.javalobby.org > > To reform the java lobby into a grass roots campaign to allow > > Java developers to take a lager role in the determination of > > java's future

Re: Call To Action on Java Lobby

1999-05-07 Thread Michael Emmel
Hamdi Mohd Yusof wrote: > Sorry, but I don't quite understand what is needed here. What is the action that > JL members should take? If it's about voting on JL issues, that I do quite > often. If it's more than that, then what is it actually? > > hamdi I think the actual action depend on Sun. T

Call To Action on Java Lobby

1999-05-06 Thread Michael Emmel
There has been a request on the Java Lobby www.javalobby.org To reform the java lobby into a grass roots campaign to allow Java developers to take a lager role in the determination of java's future. I urge all the members of this list to look at the request and join the Java Lobby in its effor

Re: Swing never waits?

1999-05-05 Thread Michael Emmel
Nathan Meyers wrote: > Ted Neward wrote: > > Because Swing is a fully lightweight library, it can't rely on any of the > > operating-system-specific constructs underneath the JVM to more efficiently > > make use of the CPU. Instead, it spins off a daemon thread to (basically) > > poll the OS for

Re: Possible Java Bug ?

1999-05-03 Thread Michael Emmel
testOut(this); > } > } > > public InnerOuter() { > testOut(this); > Parent2 p2 = new Parent2(); > } > > public void testOut(Object ob) { >System.out.println("TEST OUT: "+ob); > } > > public static void main( String[] args ) { > InnerOuter test1

Re: Possible Java Bug ?

1999-05-01 Thread Michael Emmel
ot; +OuterClass.this); } } Anyway I think it is a bug. Michael Emmel wrote: > This generates the following output .. > > Parent2 Foobar null > > I understand why but it compiles and fails at runtime. > Thus if you subclass a class with and inner class any me

Re: Sun Bashing 2

1999-04-30 Thread Michael Emmel
Matt Welsh wrote: > I usually can't stand flame bait like this but I wanted to point out one > thing. > > Sun has clearly recognized some of the advantages of the Open Source model, > which is the entire reason why they have adopted the 'Sun Community Source > License' for a large number of their

What could happen if Sun opened up Java ?

1999-04-30 Thread Michael Emmel
Well now that the Sun "Bashing" is back. Let me give you my dream of what would be possible if Sun opened up Java. First the spec for a server side Java implementation would be completed rapidly. second work begins on a distributed server side VM. WHat does this mean ?? Think about Java based

Possible Java Bug ?

1999-04-30 Thread Michael Emmel
This generates the following output .. Parent2 Foobar null I understand why but it compiles and fails at runtime. Thus if you subclass a class with and inner class any method used is the parents consturctor cannont acces the Outer class. Of course I may be doing something stupid but I know th

Re: Status updates [Was: Re: ...]

1999-04-21 Thread Michael Emmel
Wes Biggs wrote: > > All your arguments are factually right. But pyschology is at work here, and > > especially in an extremely important project like JDK porting (from my > > perspective, it is the second most important project after the kernel and at > > times more important), you have to acco

Re: I have a big problem with Sun I retract !

1999-04-06 Thread Michael Emmel
Dimitris Vyzovitis wrote: > Rob Nugent wrote: > > > Mike, > > > > In my experience the Sun bug reporting system does not work well. I stopped using >it > > since I was just burning cycles and getting annoyed. > > > > I even had a generic defect returned as 'user error' which the Blackdown folks

Re: Non mofit AWT.

1999-04-06 Thread Michael Emmel
[EMAIL PROTECTED] wrote: > "Java to have it own windowing system" > > H ... Well I think it needs to write a some new API calls like below: > > void java.awt.Frame.iconifyWindow() > " java.awt.Frame.deiconifyWindow() > " java.awt.Frame.raiseWindow() > java.awt.Frame.low

I have a big problem with Sun

1999-04-05 Thread Michael Emmel
It seems that Sun will not support bug reports that occur in the platform independent parts of Java since I'm using Linux. If you report a bug and say your on Linux they say its not a supported platform. Even though I've been reporting bugs in the Swing. I can't believe Sun forces me to use NT

Re: Non mofit AWT.

1999-04-04 Thread Michael Emmel
Nigel Gamble wrote: > On Sun, 4 Apr 1999, Michael Emmel wrote: > > The next thing I did was write a driver in Java for the CirrusLogic 5430 and > > got IFC then JFC running on it. > > It wasn't much slower than Swing on top of a Windowing system and this was on >

Re: Non mofit AWT.

1999-04-04 Thread Michael Emmel
ative windowing systems. But I don't think Sun wants Java to have it own windowing system. IMHO Mike > > > --Jeff > > Michael Emmel wrote: > > > > Ulli Kortenkamp wrote: > > > > > >>>>> "Jeff" == Jeff Gal

Re: Non mofit AWT.

1999-04-03 Thread Michael Emmel
Ulli Kortenkamp wrote: > > "Jeff" == Jeff Galyan <[EMAIL PROTECTED]> writes: > > Jeff> That's a question you should pose to Sun. Matthew Panetta > Jeff> wrote: > >> Given that there are a few good windowing toolkit out now for > >> linux (GTK, QT, JX) could the JDK be proted

Re: KDE PLAF

1999-03-24 Thread Michael Emmel
Andreas Rueckert wrote: > Hi! > > Somewhat OT(?): > Since I don't like the other PLAFs, I've started to create a KDE PLAF. Far from > completion, but some stuff already works (on JDK 1.1.7 + Swing 1.1B3 + > KDE 1.0). If you are interested in contributing or testing, please drop me a > p-mail. >

JDK 1.2

1999-03-04 Thread Michael Emmel
Last ! Where is JDK 1.2 Just I joke I wanted the honor of posting the last of the WHERE JDK 1.2 messages : ) No rush I'll be on vaction this weekend : ) Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: A Java VM that uses svgalib?

1999-03-03 Thread Michael Emmel
I've already done it : ) I've written a java windowing system called shark windows. The AWT peers are implemented on top of the Swing. I have a driver written on top of a Java device dirver for the Cirrus Logic 5430 it's currently not functional I haven't upgred its api. One on top of a XLIB r

Re: HotSpot (was Re: Linux jdk 1.,2 Jit )

1999-02-25 Thread Michael Emmel
re research goals. Hopefully I'm mistaken. If there is any interest at Sun in my Windowing system its called Shark Windows It freely available via CVS at www.gjt.org cvs directory java/org/gjt/shark. Thanks for your time. Michael Emmel Oliver Fels wrote: > > Sorry but that who

Swing 1.1.1b1 does not compile under Linux

1999-01-31 Thread Michael Emmel
Hi I need to add patches to Swing to fix show stopper bugs but the new 1.1.1b1 does not compile under linux using jdk1.1.7 Jikes also fails. Anyone have any luck. The problem seems to be in BasicTableUI.java The private inner class access seems to fail. Under both Jikes and javac. Anyway Jikes

Re: [Partially OT] A Java parser - part 2

1999-01-17 Thread Michael Emmel
Andreas Rueckert wrote: > Hi! > > On Thu, 18 Nov 1999 Paul Mclachlan wrote: > > > > >Having said that, if I wanted to do something like this, I would use > >JavaCC, or, specifically, the "jjtree" tool in JavaCC. jjtree will > >automatically parse the file into an OO structure ready for mani

Re: [Partially OT] A Java parser - part 2

1999-01-16 Thread Michael Emmel
Kontorotsui wrote: > Hello, > first of all many thanks to all the people who kindly answered. > > I've collected many different advices on Java parsers, so maybe it is wiser to > explain my purpose. > I noticed that java performance decreases dramatically as more and more classes > and ob

Re: diffs for i386/non-comm 1.2 sources.

1998-12-31 Thread Michael Emmel
This is funny when I worked on the 1.02 JDK port to NextStep I wrote a driver that allowed you to do DPS calles from Java. I felt it was th "way to go" Looks like Sun is moving in that direction. I suspect this is for Graphics2D support. The driver is Mach based so not that useful. But if Sun is

A Scenerio

1998-11-04 Thread Michael Emmel
5 years from now you walk up to a street corner and a guy in a dirty coat approaches you. He say hey man I've got all the sources for JDK 1.2 for sell. How much would you give him How much is 1.02 worth today... Mike

Re: JDK for 21064?

1998-11-04 Thread Michael Emmel
Uncle George wrote: > u have my permission to post all those emails on this list. i'd like to see them >myself. I > think the previous offer was " who would u like to support ( with regard to the linux > porting project takeover ) u or the guy from javaworld ( i think ), i beleive my ans >was >

Re: Swing and Threads

1998-10-11 Thread Michael Emmel
Gerald Gutierrez wrote: > > > Well that illustrates my point. A developer should not have to do that. > > > The Swing team should provide the queue interface it should not have to be > > > cobbled together by every developer that wants to write a complex graphics > > > program. > > > I never had

Re: Java Awt/Swing is fatally flawed

1998-10-11 Thread Michael Emmel
Dan Kegel wrote: > Michael Emmel wrote: > > Hello I've been working for a while on and all java Windowing system. > > My current version is written on top of the Swing toolkit. Which is > > practically all Java. > > Well it turns out even Swing is flawed. >

Java Awt/Swing is fatally flawed

1998-10-11 Thread Michael Emmel
Hello I've been working for a while on and all java Windowing system. My current version is written on top of the Swing toolkit. Which is practically all Java. Well it turns out even Swing is flawed. The problem with Swing is the attempt to reuse Graphics context and not being thread safe. P

Windowing System

1998-09-02 Thread Michael Emmel
I've written a complete Windowing System in Java . The top layer is the Swing. It contains a hardware driver a bootstrap awt driver, And a driver using XTC a all java XLIB. It is available at http://www.fdc.co.uk/jos/src/graphics.tar.gz I hope some members of this group are intrested. I'm currentl