Re: Problems with JDB

1999-10-13 Thread Rachit Siamwalla
> > > Ever try System.out.print() or the "Ctrl-\" thing? > > > What is the "Ctrl-\" thing? Ctrl-\ or SIGQUIT will give you a "thread-dump" of the jvm. Consider it like a combination of "info threads" and "bt" in gdb rolled into one. Plus, you can call it anytime at will. It also prints out al

Re: Debugger

1999-10-12 Thread Rachit Siamwalla
Yes, ddd exists on linux and definitely works with C / C++ code. I don't know whether there is a hook into jdb (never used it). You can probably get it at most RPM repositories, ie. rufus, etc. I use JDE (plug-in to emacs) to debug java code, though. It is somewhat difficult to set up, but very r

Re: Applet transparency?

1999-10-07 Thread Rachit Siamwalla
Just so you know, the javafaq at www.afu.com claims its impossible. I have yet to find a mistake in the faq. -rchit Dustin Lang wrote: > > Hi, > > > Try setting the background color to null. > > One might suppose that what should happen is that the browser would leave > the background in its

Re: Drag and Drop

1999-09-28 Thread Rachit Siamwalla
Denny Lee wrote: > > Hello, > Thanks for your reply. I guess I did not make question clear. I am trying to write >a program that works with network nodes, basically a icon, and network links. In the >Visual Basic program that I wrote, during run time I can drag nodes around a canvas >and c

Re: JIT instability w.r.t. bad code?

1999-07-16 Thread Rachit Siamwalla
This is funny, because a while ago (quite a while), people said that this code: if (intArray == null) return intArray[3]; else return -1; was slower than this code: try{ return intArray[3]; } catch (NullPointerException e) { return -1 } precisely because the JVM

Re: Has Sun Overstretch Themselves With So Many APIs?

1999-07-13 Thread Rachit Siamwalla
> Now do you understand when I said, they may struggling with so many APIs. > If Sun can only commit 10 people to the overall Swing team, > which I find very very surprising. My goodness where is the technical author > is this team. Note, don't quote me on that "10 people" information. That infor

Re: Has Sun Overstretch Themselves With So Many APIs?

1999-07-12 Thread Rachit Siamwalla
True, but there is always room for improvement (like any product / API -- none is perfect). The thing I really gripe about is Sun's own turnaround time to fix some very basic bugs that plague the system. True, when everything was through AWT and everything was system dependent, it is hard to track

Re: Has Sun Overstretch Themselves With So Many APIs?

1999-07-09 Thread Rachit Siamwalla
> Agreed, Swing JFC is one of the best API design ever. Java 2D/ DnD is excellent > and JMF appears to be well though out. I await Java Sound with baited breath. > I don't 100% agree with the comment about JFC. Some things in JFC are well written like the JTree and the JTable and the Text compo

Re: Java IDE

1999-06-29 Thread Rachit Siamwalla
If you are used to emacs and are looking for something not much more than organization of files, build, syntax highlighting and step-through debugging / code browsing, JDE for Emacs works well. I use it all the time. Thing I hate about most IDE's is that they try to incorporate thier own editing

Re: jdk1.2pre-v2

1999-06-04 Thread Rachit Siamwalla
Can you email the list when it's out? Thanx a lot! -rchit Steve Byrne wrote: > > Justin Lee <[EMAIL PROTECTED]> writes: > > > > > Bruno Boettcher wrote: > > > thanks! downloading... > > > but unfortunately still no glibc2.1 build even if the subdirs are > > > present... > > > > I was a lit

Re: This works on Linux/ W95 not on NT. Why?

1999-03-31 Thread Rachit Siamwalla
> Are your apps using 3rd party libraries? Are the user interfaces built by > "hand" or using a GUI Builder? Our user interface is built by 95% hand (some minor dialog boxes are built using symantec cafe). If noone has had the same problem it may be the result of using some specific combination o

Re: This works on Linux/ W95 not on NT. Why?

1999-03-31 Thread Rachit Siamwalla
This talk has made me wonder. I always had problems running my Java Swing gui-intensive apps on non-Windows platforms. When the application is under "stress" ie. when clicking and draging and moving the mouse a lot, I have had java lock up on me all the time (main event loop just freezes). The de

Re: This works on Linux/ W95 not on NT. Why?

1999-03-30 Thread Rachit Siamwalla
Any error messages, exceptions thrown? Hangs? If so, blocks on what line? What version of JDK? I compiled it and ran it on my NT box with JDK1.2 (current release), and it seems to work fine. I have had problems before with JDK1.1 Process.waitFor() for some time on NT(blocks forever under some co

Re: Timer granularityn

1999-03-29 Thread Rachit Siamwalla
If you check the "ping" program, you get the same problem. So it's not a JDK problem. -rchit John Summerfield wrote: > > On Mon, 29 Mar 1999, Peter Kovacs wrote: > > > On linux the granularity of the timer (GregorianCalendar.time) seems to be on >millisecond level, while on Windows NT on 10 >

Re: grrrrrr.....

1999-03-29 Thread Rachit Siamwalla
> > Matthew: > > I don't know if this will work with JAVA1.2, but, with 1.1.7 we simply > copied swingall.jar to /netscape/java/classes and turned off javascript so > the document can't check for the plug-in. This lets us run swing1.1 applets > in netscape4.x. I don't think that would work,

Re: multi JVM's mem usage in linux?

1999-03-23 Thread Rachit Siamwalla
The problem is that most of the stuff that is loaded by the java interpreter isn't shared (.class .jar files). Unless the application is mission critical and / or shares a lot of static classes, it would be better to run them in seperate threads like the others have said. It's not so bad in java,

Re: Object.sizeOf()?

1999-03-19 Thread Rachit Siamwalla
I believe that is very difficult. This is mentioned in the Java FAQ http://www.afu.com/java somewhere. There are hacks to do this mentioned in there, but it doesn't give you the "implementation dependent" size, it just gives you the size of the object when you serialize it. -rchit Bernd Kreimeie

Re: Problem Downloading JDK

1999-03-18 Thread Rachit Siamwalla
Your browser thinks it's just a big text file, and tries to display it. Right clicking on the link should bring up a pop-up menu that allows to "Save link As..." and then you can save it to a file. -rchit Steven Rubenstein wrote: > > Why, when I try to download the JDK (bz2 files) from > >

a few issues with jdk1.2 pre release

1999-03-18 Thread Rachit Siamwalla
Hi, I was playing around with the pre-release JDK 1.2 and it seems very well done. However, I had a few problems and was wondering whether others had similar problems (I looked at the bug report and none of these were on there). I haven't looked too deeply into these problems yet (but will soon a