Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1588

Re: A DesktopPane and Int

From "D.M.Jackson" <d.m.jackson@THRWHITE.remove-dii-this>
Subject Re: A DesktopPane and Int
Message-ID <133tfo757kd52dc@corp.supernews.com> (permalink)
Newsgroups comp.lang.java.gui
References <71ce00fa6858a@uwe>
Date 2011-04-27 15:34 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui

"Andrew Thompson" <u32984@uwe> wrote in message news:71ce00fa6858a@uwe...
> D.M.Jackson wrote:

> If you actually mean JPanel, JDesktopPane and JFrame
> (classes in the J2SE - cannot speak for the ones you
> mentioned), then I will add that I am entirely capable of
> adding a JPanel (or many) to a JFrame (JDialog,
> JOptionPane, JWindow, JApplet etc.).

I find that I am unable to add a JFrame to a JDesktopPane and get anything 
useful during design time.



> > I cannot immediately explain why you are not able to
> do it.  Several possiblilities spring to mind, but it
> would probably be considered 'rude' to mention them.

By all means do.  Certainly you wouldn't want to miss an opportunity.

>
>>I wanted to set the "undecorated" property in my
>> jInternalFrame to TRUE, ..
>
> Stop, ..STOP.  Besides hurting my head with the
> constant use of the lower case 'j', I read your entire
> paragraphs of 'what you want to do' but still do not
> understand what you want to offer the end user.

I am the end user.

> What amazing ability do you wish to offer the end
> user?  What can this GUI do for them that others
> cannot?

See above

> Assuming the application had a group of floating,
> undecorated areas contained within a larger GUI
> element.  How do I (as potential user) control these
> elements?

Ditto

> How do I close them, or drag them around to
> rearrange them?  Assuming the areas are opened
> and closed by other application logic (buttons, menu
> items, the end of a long running process), that really
> only leaves positioning.  Using a group of JInternalFrame
> instances does not makes much sense unless the
> user can rearrange the order, or drag them about.

I intended to handle that through code.


> Assuming only one of the undecorated areas needs to
> be viewed at a time, a CardLayout or JTabbedPane that flips
> between them, might be better.   Otherwise putting the GUI
> Elements in a layout where they can all be viewed, such as a
> GridLayout in a JScrollPane might be best.
>
> All this might occur within a JFrame or JWindow or JApplet..
> as most appropriate, but I cannot understand the use of a
> JDesktopPane with undecorated GUI elements floating inside
> it.
> ..
>>I want ..
>
> Yes yes.  'You want', 'you need'.. tell us what the user
> is supposed to get on-screen (on terms of what it looks
> like and how it works) and we might be able to assist
> further.

Yes, I do want.  I am the end user and I am doing it for my own edification 
as a learning experience.  Feel free to preen and strut about displaying 
your obvious superiority, maybe I'll even be able to pick up something 
useful buried in all the noise.  Possibly you could help me learn java and 
in return I'll try to help you become a human being.

Thank You,
Mark



> -- 
> Andrew Thompson
> http://www.athompson.info/andrew/
>
> Message posted via http://www.javakb.com
>

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

A DesktopPane and Interna "D.M.Jackson" <d.m.jackson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
  Re: A DesktopPane and Int "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
    Re: A DesktopPane and Int "D.M.Jackson" <d.m.jackson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
      Re: A DesktopPane and Int "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
        Re: A DesktopPane and Int "D.M.Jackson" <d.m.jackson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
      Re: A DesktopPane and Int "Ian Wilson" <ian.wilson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
        Re: A DesktopPane and Int "D.M.Jackson" <d.m.jackson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000

csiph-web