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


Groups > comp.lang.java.gui > #1467 > unrolled thread

Referring to AWT toolkit

Started by"Qu0ll" <qu0ll@THRWHITE.remove-dii-this>
First post2011-04-27 15:33 +0000
Last post2011-04-27 15:33 +0000
Articles 3 — 2 participants

Back to article view | Back to comp.lang.java.gui


Contents

  Referring to AWT toolkit "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
    Re: Referring to AWT tool "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
      Re: Referring to AWT tool "Qu0ll" <qu0ll@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000

#1467 — Referring to AWT toolkit

From"Qu0ll" <qu0ll@THRWHITE.remove-dii-this>
Date2011-04-27 15:33 +0000
SubjectReferring to AWT toolkit
Message-ID<4624a851$0$25455$5a62ac22@per-qv1-newsreader-01.iinet.net.au>
  To: comp.lang.java.gui
Is it possible to get a reference to the current AWT toolkit before any GUI 
components/objects have been created?

-- 
And loving it,

-Q
_________________________________________________
Qu0llSixFour@gmail.com
(Replace the "SixFour" with numbers to email me)

---
 * 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

[toc] | [next] | [standalone]


#1468 — Re: Referring to AWT tool

From"Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Date2011-04-27 15:33 +0000
SubjectRe: Referring to AWT tool
Message-ID<70d60f9911612@uwe>
In reply to#1467
  To: comp.lang.java.gui
Qu0ll wrote:
>Is it possible to get a reference to the current AWT toolkit before any GUI 
>components/objects have been created?

class GetToolkit {
  public static void main(String[] args) {
    System.out.println(
      java.awt.Toolkit.getDefaultToolkit() );
  }
}

-- 
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-gui/200704/1

---
 * 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

[toc] | [prev] | [next] | [standalone]


#1469 — Re: Referring to AWT tool

From"Qu0ll" <qu0ll@THRWHITE.remove-dii-this>
Date2011-04-27 15:33 +0000
SubjectRe: Referring to AWT tool
Message-ID<4624ce58$0$25460$5a62ac22@per-qv1-newsreader-01.iinet.net.au>
In reply to#1468
  To: comp.lang.java.gui
"Andrew Thompson" <u32984@uwe> wrote in message news:70d60f9911612@uwe...
> Qu0ll wrote:
>>Is it possible to get a reference to the current AWT toolkit before any 
>>GUI
>>components/objects have been created?
>
> class GetToolkit {
>  public static void main(String[] args) {
>    System.out.println(
>      java.awt.Toolkit.getDefaultToolkit() );
>  }
> }


Duh! The old getDefaultToolkit trick eh?

-- 
And loving it,

-Q
_________________________________________________
Qu0llSixFour@gmail.com
(Replace the "SixFour" with numbers to email me)

---
 * 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web