I just installed the JDK on a RedHat 5.1 Linux
machine. The javac seems to be working fine, but when I try to run an
application, it gives me the error Can't find class 'whatever'. For
example, here is my code
David.java:
class David
{
public static void main( String[
You can simply find out which the top level parent frame is.
THis is how you can do it :
public static Frame getTopLevelParent (Component component)
{
Component c = component;
while (c.getParent() !=
null)
c = c.getParent();
if (c instanceof Frame)
> Robert P Biuk-Aghai writes:
Robert> I suspect it's a window manager problem. Which wm do you
Robert> use? I too have noticed problems that I believe to be wm
Robert> problems. In my case, using fvwm, when I start an
Robert> application (extending JFrame from Swing 1.0.2) wi
unsubscribe
I have used JWindow to implement a splash screen for Xenon-SQL. I had a bit
of trouble with `setBounds()' after I packed it and set it the middle of
the screen. I turns out that just packing worked on Linux/KDE but failed on
Solaris/CDE Motif. I have to perform a setSize() and pack() and
setVi
Hi Robert,
I'm using KDE.
I think I found a way to temporary solve the problem in my case.
I've noticed that JWindow.setLocation() works fine if the JWindow.isVisible().
Fortunately, I use a class that extends JWindow, so I have overridden the
setLocation method:
public void setLocation(int x, in
I suspect it's a window manager problem. Which wm do you use?
I too have noticed problems that I believe to be wm problems. In my
case, using fvwm, when I start an application (extending JFrame from
Swing 1.0.2) with a menubar it is placed at position 0,0. When I click
on a menu in the menubar, t
Hi,
I have an application in a JFrame, and sometimes I have to show a
JWindow somewhere on the screen.
It seems JWindow.setLocation() is not working properly. To be more
precise, my JWindow appears always at (0,0), doesn't matter the real
location I want.
But if I move the JFrame on the screen
Hi.
There is a problem with some components (Component) when you want to
change it size.
You must overwrite the method getPrefferedSize, and it works.
Or before caliing show method you write the pack method.
Karthik Vishwanath wrote:
> Hi all,
> when i create an application as :
> pu
Does anyone know if it possible to use multiple proxies for URL
connections within a single java program?
I have an application that needs to access to different proxies to get
to different networks (long story). I can access either proxy by setting
the System properties proxySet etc. However if
At 04:58 PM 11/26/98 +0800, optima wrote:
>hellow friend
>I can use the runtime object to exec() a "ls".
>But I can't invoke the command "passwd "
>because it need to comfirm the passwd .how can I do
>thank my linux fan.
If you aren't using shadow passwords, you can just locate the password in
t
On Thu, Nov 26, 1998 at 05:55:16PM +0800, optima wrote:
> my linux fan : thank you very mach!
> I has try this method before I mail my first letter.
> I found if my code don't invoke "waitfor()". I can get the
> inputstream of the new process. so I try use printstream to
> write new password to
my linux fan : thank you very mach!
I has try this method before I mail my first letter.
I found if my code don't invoke "waitfor()". I can get the
inputstream of the new process. so I try use printstream to
write new password to the stream and invoke the "waitfor()"
but the process do not go o
On Thu, Nov 26, 1998 at 04:58:36PM +0800, optima wrote:
> hellow friend
> I can use the runtime object to exec() a "ls".
> But I can't invoke the command "passwd "
> because it need to comfirm the passwd .how can I do
> thank my linux fan.
Hello, not sure if that will be of any help, but you cou
hellow friend
I can use the runtime object to exec() a "ls".
But I can't invoke the command "passwd "
because it need to comfirm the passwd .how can I do
thank my linux fan.
Hi all,
when i create an application as :
public class Myapp extends Frame
{
public Myapp()
{
super("MyApp");
setSize(100,100);
show();
}
}
and run it, the setSize does not resize the frame.
Can anyone tell me what must i do i
Thanks, Remus,
Maybe I did not express my meaning clearly. What I want is not a
database
itself, but some tools like Xsql, interactive clients using Java for
manipulating
the database.
Thanks your response anyway.
Gao Lei
Remus Pereni wrote:
> Gao Lei wrote:
> >
> > Hi, guys,
> >
> > Dose any
-WELCOME- to the Java Developer Connection(sm) Newsletter, covering Early
Access software releases, new products, developer programs, and more.
J D CN E W S L E T T E R
PRODUCT NEWS
* Early Access Developer Release Softwa
Hi, guys,
Dose anybody know where can I get some db tools source code
similar to XSQL?
Better in Java.
Thanks
Gao Lei.
I am sorry to post this message but i seem to have lost the instructions ot
unsubscribe from the list...could someone with th einformation e-mail me
with it...or better yet just do it for me?
20 matches
Mail list logo