Re: A question about understanding

From: SPG (steve.goodsell_at_nopoo.blueyonder.co.uk)
Date: 12/29/04

  • Next message: Axel Brünn: "Re: A question about understanding"
    Date: Wed, 29 Dec 2004 17:32:08 GMT
    
    

    Hi Tony,

    >From my limited knowledge I will assume this..

    You will always write your GUI code using either the AWT or SWING toolkit
    provided by the JAVA api. What I think is meant that how the windows are
    created and displayed is based on the underlying model of the OS's GUI
    implementation.

    For example, If on a windows OS, then the SWING api would interact with the
    MFCs of the windows toolkit..

    Therefore, you need not worry about the OS based implementation, just the
    SWING or AWT code. (Unless of course you are using PLAFs which is another
    story!)

    Steve

    "Tony Johansson" <johansson.andersson@telia.com> wrote in message
    news:npAAd.125606$dP1.451785@newsc.telia.net...
    > Hello!
    >
    > I'm reading in a document about Window System and there is some about Java
    > that I want to ask you about because I don't realy understand what they
    > mean.
    > It says the following: "Java creates only partial window object of its
    > own. For full functionality, it relies on peer objects that are taken from
    > whatever toolkit happens to be available in the system the program runs.
    >
    > What does it mean with "Java creates only partial window object of its
    > own".
    > What does it mean with "it relies on peer objects that are taken from
    > whatever toolkit happens to be available in the system the program runs."
    >
    > Assume you use java on MS windows what toolkit will java use then.?
    >
    > //Tony
    >


  • Next message: Axel Brünn: "Re: A question about understanding"

    Relevant Pages

    • Re: Java programmer lured back by .Net (Questions)
      ... Basically the Java lobby is spending all its efforts on the server side, but losing the battle on the desktop. ... Talking about Eclipse - have you seen how it suddenly seems to go to sleep on you - I don't remeber any windows program behaving like that. ... Of course, you *can* build some applications that try to look like Windows, but a novice VB programmer on his first day at work will be far much more productive than a Java programmer with several years SWING experience. ... basically, for serious windows apps, we've got to go and nestle at the teat of the great guy - he's got us where he wants and theres not a great deal we can do about it at the mement - since the tools are the most productive on his platform ... ...
      (microsoft.public.dotnet.general)
    • Re: Is Gnome becoming a Microsoft project?
      ... Swing provides native look and feel on Windows, GTK, and OSX. ... like not all C++ desktop apps use QT or GTK... ... Qt is a toolkit that I wish would receive much more ...
      (Fedora)
    • Re: Meine neue Programmiersprache zur GUI-Entwicklung
      ... Jedoch hat Swing ein Pluggable Look and Feel, ... Windows: Es wird zwar bei einem ausgeklappten Menü ... Standardkomponenten erstellen und dann nach-und-nach diese ... Ist doch auch Java Swing? ...
      (de.comp.lang.misc)
    • Re: swing comments from an ex-C++ motif programmer
      ... possibly with a GUI builder. ... how are you learning Swing? ... into Google Web Toolkit if you are developing AJAX based web apps. ... Otherwise, for regular old Java, Java WebStart is pretty much your cup of tea. ...
      (comp.lang.java.help)
    • Re: Restoring Swing applications after minimising
      ... I mainly use Windows platforms for development and running Java applications and I find that Swing applications really don't like being minimised for any length of time. ... This problem does not seem to affect SWT apps like Eclipse which always responds almost immediately after being minimised so what makes Swing apps so vulnerable to this problem? ...
      (comp.lang.java.programmer)