🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
4 messages
4 total messages Started by George Mon, 24 Nov 2003 19:32
handling JDialogs
#1452
Author: George
Date: Mon, 24 Nov 2003 19:32
15 lines
1495 bytes
I have this "problem" under Windows.  I open a modal JDialog subclass from
the menu of my frame window.

Now if I switch to some other task on the Windows task bar  and then return
to my app by clicking it in the task bar, I see only the frame window.  I
have to manually locate the dialog by closing the windows of other tasks.

I thought I could get the dialog to  stick to the frame by setting the frame
as the parent of the dialog.  But it doesnt seem to work.  I also notice
that the JBuilder IDE itself doesn't have this problem:  their dialogs
"adhere" to the frame window.

Can someone help me with the details on how this effect is achieved?

TIA
Re: handling JDialogs
#1453
Author: John McGrath [TeamB]
Date: Tue, 25 Nov 2003 05:19
18 lines
1375 bytes
On 11/24/2003 at 2:32:19 PM, George wrote:

> I thought I could get the dialog to  stick to the frame by setting
> the frame as the parent of the dialog.  But it doesnt seem to work.

That should do it.

What version of Java are you using and what platform are you running
on?  There were some problems in this area in earlier versions of Java.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Re: handling JDialogs
#1454
Author: George
Date: Tue, 25 Nov 2003 17:27
23 lines
1639 bytes
I am using Jbuilder 9 Personal with the associated JDK 1.4 on Windows 2000.


"John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message
news:3fc2f470@newsgroups.borland.com...
> On 11/24/2003 at 2:32:19 PM, George wrote:
>
> > I thought I could get the dialog to  stick to the frame by setting
> > the frame as the parent of the dialog.  But it doesnt seem to work.
>
> That should do it.
>
> What version of Java are you using and what platform are you running
> on?  There were some problems in this area in earlier versions of Java.
>
> -- 
> Regards,
>
> John McGrath [TeamB]
>
> ---------------------------------------------------
> Before sending me e-mail, please read:
>     http://www.JPMcGrath.net/newsgroups/e-mail.html
Re: handling JDialogs
#1455
Author: pNichols
Date: Tue, 25 Nov 2003 22:05
28 lines
1848 bytes
George wrote:

> I am using Jbuilder 9 Personal with the associated JDK 1.4 on Windows
> 2000.
> 
> 
> "John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message
> news:3fc2f470@newsgroups.borland.com...
>> On 11/24/2003 at 2:32:19 PM, George wrote:
>>
>> > I thought I could get the dialog to  stick to the frame by setting
>> > the frame as the parent of the dialog.  But it doesnt seem to work.
>>
>> That should do it.
>>
>> What version of Java are you using and what platform are you running
>> on?  There were some problems in this area in earlier versions of Java.
>>
>> --
>> Regards,
>>
>> John McGrath [TeamB]
>>
>> ---------------------------------------------------
>> Before sending me e-mail, please read:
>>     http://www.JPMcGrath.net/newsgroups/e-mail.html

Try upgrading to JDK 1.4.2 and see if the problem persists.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads