Hi Greg,

  Thanks for your suggestion. Doing womething like
JInternalFrame, I guess you would be able to iconize
the window, but you can only put on the desktop, and
not on the Windows taskbar.

  Just now I found out that JDK 1.4 solves this
problem by providing an API "setUndecorated(boolean
undecorated)" specifically for this purpose. All I
wanted was a very high level "Canvas", where I can
customize the look-and-feel of my application.

regards,
Bharat.


--- Greg Munt <[EMAIL PROTECTED]> wrote:
> You dont want a title bar, but you want all the
> functionality of the title
> bar without the actual title itself?
> 
> This sounds like you are complicating things for the
> sake of it. But.. I
> would solve this either by using JNI, or doing
> something similar to what is
> done with minimised JInternalFrames.
> 
> ----- Original Message -----
> From: "Bharatram Setti" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 11, 2002 9:02 AM
> Subject: RE: JWindow and system tray icon
> 
> 
> > Hi Amit,
> >
> >   Well, I want an interface without the title bar
> etc.
> > For the "close" and "minimize" buttons, I can
> write my
> > own code. Essentially, I want to create a custom
> GUI
> > for my application.
> >
> > Actually, I meant to say the task bar, not the
> system
> > tray as I had mentioned in my previous email.
> >
> > regards,
> > Bharat.
> >
> > --- Amit Rana <[EMAIL PROTECTED]> wrote:
> > > are there specific needs in your application for
> not
> > > to use JFrame?
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> Bharatram
> > > Setti
> > > Sent: Thursday, April 11, 2002 2:44 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: JWindow and system tray icon
> > >
> > >
> > > Hi All,
> > >
> > >   Is there any way for a JWindow to have a
> system
> > > tray
> > > icon of its own in Windows? The problem is that,
> > > when
> > > I write code to minimize the window, I don't
> know
> > > how
> > > to restore it. It does not show up in the task
> > > manager
> > > either. When the window is visible on the
> screen,
> > > then
> > > I am able to shift focus to this window using
> > > Alt-Tab,
> > > but when I hide the window, even this option
> goes
> > > away.
> > >
> > >   I would prefer not to use JNI, but if this is
> not
> > > possible in pure java implementation, then JNI
> > > solution is also ok. Any pointers woulf be
> greatly
> > > appreciated.
> > >
> > > TIA,
> > > Bharat.
> > >
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Tax Center - online filing with TurboTax
> > > http://taxes.yahoo.com/
> > > _______________________________________________
> > > Swing mailing list
> > > [EMAIL PROTECTED]
> > > http://eos.dk/mailman/listinfo/swing
> > >
> > > _______________________________________________
> > > Swing mailing list
> > > [EMAIL PROTECTED]
> > > http://eos.dk/mailman/listinfo/swing
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Tax Center - online filing with TurboTax
> > http://taxes.yahoo.com/
> > _______________________________________________
> > Swing mailing list
> > [EMAIL PROTECTED]
> > http://eos.dk/mailman/listinfo/swing
> >
> 
> 
> _______________________________________________
> Swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/swing


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to