[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-devel
Subject:    Re: [ jEdit-devel ] Macro: setVisible doesn't work
From:       Daniel Wunsch <the.gray () gmx ! net>
Date:       2004-09-21 17:06:13
Message-ID: 200409211906.13539.the.gray () gmx ! net
[Download RAW message or body]

hi!

> I have written a macro (I am a newbe), I expected "frame.setVisible(true)"
> to be sufficient to have the dialog window of my macro always on top of
> other windows (it is a frame containing several tabbed panes of buttons).
> But it doesn't work.

a frame is a normal window, so it behaves like a normal window ;)
you want to use a JDialog instead which knows in front of what
frame (or dialog) it should stay.

try
 JDialog frame = new JDialog(view, "LaTeX", false);
instead of
 JFrame frame = new JFrame("LaTeX");

daniel




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
-- 
-----------------------------------------------
jEdit Developers' List
jEdit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic