Best way for gui programming? swing awt jfc swt ....

hi,
i have been programming java for some time but exclusively for web, servlets, jsp etc..
but now i have to do some �real� gui�s. I have no gui experience , (ok I did some basic examples just to see how things work) but/and I�m not able to determine which way I should go.
So I did some google search and read some threads here im forum on topics swing vs. awt (or so) and found lot of topics with lot of different opinions(some of them also a little bit out of date) so now im CONFUSED more then ever.
I read people asking questions like :what is better awt or swing and then getting the perfect technical answers like :
AWT components are NOT native components. AWT components are Java objects. Particular instances of AWT componets (Button, Label, etc.) MAY use peers to handle the rendering and event handling. Those peers do NOT have to be native components. And AWT components are NOT required to use peers for themselves at all.
Or
There are some significant differences between lightweight and heavyweight components. And, since all AWT components are heavyweight and all Swing components are lightweight (except for the top-level ones: JWindow, JFrame, JDialog, and JApplet), these differences become painfully apparent when you start mixing Swing components with AWT components.
But I don�t care that much(at least not now) about this detail answers.
I would simply like to know from some experienced gui guru, (due to the fact that we have 2005 and java 1.5) if u would like to learn gui in java quickly and know everything u know now which way would u choose:
AWT
JFC
SWING
SWT
And which IDE would u use.
I simply want to get quickly started and do some basic gui programming ,nothing special, but I would like to avoid that after weeks of doing one, then find out the was the wrong one and again learn the another one.
TIA Nermin

try swt vs swing and see what you think, its not really a decision someone else can make for you. as long as you don't try and mix the two, it should be a similar learning curve either way.

Similar Messages

  • I am looking to start developing apps for the iTunes Store, but I have no previous experience. What is the best way for me to start on this? As in which programs and materials must I need and what I need to know. Thanks!

    I am looking to start developing apps for the iTunes Store, but I have no previous experience. What is the best way for me to start on this? As in which programs and materials must I need and what I need to know. Thanks!

    You will need a Mac, with OS X 10.6+ on it, to be able to develop iOS apps.
    There is some info on these pages :
    developer site : https://developer.apple.com
    developing for iOS 7 : https://developer.apple.com/ios7/
    developer support : https://developer.apple.com/support/
    developer forums : https://devforums.apple.com/index.jspa (you will need to be a registered developer to access them)

  • Best way for building an application main frame

    I'm about to program a desktop application.
    The main frame will have menus, toolbar, status bar etc.
    There will be a lot of interaction between the menus, toolbar buttons and other custom gui components (such as an editor).
    My question is which is the best way for building it.
    Cramming all the code in one class file is out of the question.
    I thought about making my own custom JFrame and add API functions like for it so different GUI elements can be accessed.
    Each component which will be manipulated will be in its own class file with the constructor accepting a reference to my custom JFrame object which it is contained in.
    Any suggestions on the matter would be of great help since I've never done extensive Swing programming before.
    P.S.
    The application makes extensive use of RMI.
    What considerations should I take into account (except using SwingUtilities.invokeLater()) ?

    Hi,
    I have replied on this subject somewhere else today but what I do is have one simple entry point where I just instanciate a JFrame.
    On that frame I have a main JPanel. On that panel I add new objects like JPanels, tabs etc.
    I keep each new panel in a separate source as it is easier when the application grows, and it will. That also means that several programers can work with the same application without interfearing each other.
    I hope you understand what I mean the the thing is to split up the code into several sources.
    It may not suit everyone but I found this approach to be the best for me.
    Klint

  • Free ide for gui programming

    can someone tell me what's the best free java ide for gui programming?

    No one can answer the question of which one is better. It's like answering the question - is red more beautiful than yellow?
    I can however say that the plugins into eclipse which lets you build swing ui by drag and drop are not mature, and I don't think they work if you modify the code by hand, and then want to go back into "drag % drop" mode. The ui builder in jbuilder is nice, and doesn't clutter the code, and it works even if you have modified the code by hand.
    /kaj

  • What is the best  way for using a  C++ in the EJB?

    What is the best way for using C++ in the EJB ie
    either 1. Socket programming
    2. JNI

    To what purpose?
    To use C++ in the client you could generate IDL from your remote interfaces and run that through your vendor's IDL-to-C++ processor.

  • What is the best IDE for database programming in java?

    im just new to java, i have experience in powerbuilder and visual basic. Im looking for an IDE for JAVA Database Programming that have same ease of use of the GUI builder of visual basic and power of the Datawindow in Powerbuilder.
    What is the best IDE for database programming in java?

    hey sabre why not just help me? instead of posting
    annoying replies. You want me to browse all the post
    two weeks ago to find what im looking for. stoopsMost regulars to this forum find X-posting annoying. Since you are lazy and want me to search the posts of the last couple of week for you, I find you very annoying.

  • Best way for  data uload for vendor master

    what is the best way to upload. when i try to an lsmw by recording the screen is not the same and mobile number does not come while recording. what is the best way for the upload

    try with this program  RFBIKR00
    or you have to a BDC recording

  • Best Way for login???

    I was just wondering what everyone thought would be the best
    way for a secure login with 4 different access levels. It's going
    to do just how it sounds, different levels see/have different
    access to different functions and components in the program. Would
    an initial php login work? Would it be difficult to implement it
    inside Flex?? Any input would be greatly appreciated. TIA!!!

    It is absolutely possible using states. What you do is assign
    certain access level to the different states for example...
    <mx:states>
    <mx:State name="Visitor">
    <mx:RemoveChild target="{myLoginHBox}"/>
    <mx:AddChild relativeTo="{mainMenuHBox}"
    position="lastChild">
    <view:LogoutHBox/>
    </mx:AddChild>
    <mx:AddChild relativeTo="{mainMenuViewstack}"
    position="lastChild">
    <mx:Canvas label="Visitor Area" width="100%"
    height="100%" id="canvas1">
    </mx:Canvas>
    </mx:AddChild>
    </mx:State>
    <mx:State name="Youth" basedOn="Visitor">
    <mx:RemoveChild target="{canvas1}"/>
    <mx:AddChild relativeTo="{mainMenuViewstack}"
    position="lastChild">
    <mx:Canvas label="Youth Area" width="100%" height="100%"
    id="canvas2">
    </mx:Canvas>
    </mx:AddChild>
    </mx:State>
    <mx:State name="Member" basedOn="Youth">
    <mx:RemoveChild target="{canvas2}"/>
    <mx:AddChild relativeTo="{mainMenuViewstack}"
    position="lastChild">
    <mx:Canvas label="Member Area" width="100%" height="100%"
    id="canvas3">
    </mx:Canvas>
    </mx:AddChild>
    </mx:State>
    <mx:State name="PowerMember" basedOn="Member">
    <mx:RemoveChild target="{canvas3}"/>
    <mx:AddChild relativeTo="{mainMenuViewstack}"
    position="lastChild">
    <mx:Canvas label="Power Member Area" width="100%"
    height="100%" id="canvas4">
    </mx:Canvas>
    </mx:AddChild>
    </mx:State>
    <mx:State name="AssistantAdministrator"
    basedOn="PowerMember">
    <mx:RemoveChild target="{canvas4}"/>
    <mx:AddChild relativeTo="{mainMenuViewstack}"
    position="lastChild">
    <mx:Canvas label="Assistant Administrator Area"
    width="100%" height="100%" id="canvas5">
    </mx:Canvas>
    </mx:AddChild>
    </mx:State>
    <mx:State name="SeniorAdministrator"
    basedOn="AssistantAdministrator">
    <mx:RemoveChild target="{canvas5}"/>
    <mx:AddChild relativeTo="{mainMenuViewstack}"
    position="lastChild">
    <mx:Canvas label="Senior Administrator Area" width="100%"
    height="100%" id="canvas6">
    </mx:Canvas>
    </mx:AddChild>
    </mx:State>
    </mx:states>
    Then you create a loginResultHandler that first checks to see
    if the user is logged in. If the user is logged you then check for
    their access level. Personally I used digits (in my example roles 1
    through 6). The digit is what I store in my database. Once the
    logged in user's role is established the state is changed
    accordingly. Do some research on using states! It will absolutely
    help you to do what you are looking to do. An example of the code
    for the loginResultHandler is...
    // loginResultHandler function
    private function loginResultHandler(event:ResultEvent):void
    currentUser = event.result as User;
    if (currentUser.loggedIn)
    // If login successful
    if (currentUser.roles == "5")
    this.currentState='Youth';
    else if (currentUser.roles == "4")
    this.currentState='Member';
    else if (currentUser.roles == "3")
    this.currentState='PowerMember';
    else if (currentUser.roles == "2")
    this.currentState='AssistantAdministrator';
    else if (currentUser.roles == "1")
    this.currentState='SeniorAdministrator';
    else
    currentUser.roles == "6";
    this.currentState='Visitor';
    myLoginHBox.visible=false;
    else
    // If login unsuccessful
    Alert.show("Login unsuccessful", "Server Authentication");
    I just finished setting up role based authentication using a
    combination of Flex 2, ColdFusion MX 7.02 and MS SQL Server Express
    2005. It took my two weeks to set up my CFC's (ColdFusion
    Components) and ActionScript files properly.
    My user login form is authenticated against my database. If
    the user is properly logged in he can only view what he is
    authorized to view. :)
    John

  • What are the best ways (for best performance) in MII to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?

    Hi All,
    Can you please suggest to choose the best ways (for best performance) in MII (12.2 on NW 7.3), to process the incoming process messages from shop floor systems to SAP ECC 6.0 and vice versa?
    Thanks

    Hi Surya,
    Best practices for flow of data from ECC --> SAP MII --> Shop floor & Vice verse:
    1. Send ECC data through IDOC's/RFC's as messages to SAP MII message listener and BSL transaction process data and update directly on shop floor database as if you configured in Data services or later send those data by web service to shop floor system (i.e. depends on Shop floor machines).
    From Shop floor:
    shop floor --> SAP MII --> ECC
    1. Use either Web service or fetch data from DB and pass data to BAPI's  for sending to ECC through BLS transaction.
    Regards,
    Praveen Reddy

  • WHat is the best way for other iphone users to share pictures with me?  I am doing a project which req. people to send me 100 pictures at a time that I'll be putting in my iphoto?

    WHat is the best way for other iphone users to share pictures with me?  I am doing a project which req. people to send me 100 pictures at a time that I'll be putting in my iphoto? thank you.

    ingridlisa,
    I'd suggest to ask them to create Shared PhotoStreams and to invite you to view the streams, see:
    iCloud: Using and troubleshooting Shared Photo Streams
    Regards
    Léonie
    Added:
    that I'll be putting in my iphoto?
    Will you be collecting the photos in iPhoto on your iPhone or on a Mac? On a Mac a Shared PhotoStream requires Mac OS X 10.8.2.

  • Acrobat Standard XI, but can only find the CD for windows.  I have a mac (I have access to an external CD drive and I have the product keys for windows).  What is the best way for me to install it?

    Hi, I purchased Acrobat Standard XI, but can only find the CD for windows.  I have a mac (I have access to an external CD drive and I have the product keys for windows).  I have never installed it anywhere else.  What is the best way for me to install it?

    Hi lintonm86921521,
    I can understand your concern & will guide you through this.
    I am so sorry to inform you that Acrobat XI Standard is not available on Mac, you can only use it on your Windows computer.
    You can also refer to the system requirements at : System requirements | Acrobat family of products—older versions (XI, X, 9)
    In case if you have any further query please let us know, we will be happy to help you.
    Regards,
    Aadesh

  • HT4914 I purchased iMatch because my old computer was failing and I was afraid of losing my music library. Now I bought a new laptop; what is the best way for me to transfer my library to my new laptop? Will iMatch help me do this?

    I purchased iMatch because my old computer was failing and I was afraid of losing my music library. Now I bought a new laptop; what is the best way for me to transfer my library to my new laptop? Will iMatch help me do this?

    Is/was failing or has failed?
    If the old computer still runs one of these methods may be best.
    Method 1
    Backup the library with this User Tip.
    Restore the backup to your new computer using the same tool used to back it up.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    I don't have personal experience with iTunes Match, but in principle you should be able to download all the tracks currently registered to your iTunes Match account. This isn't quite the same as restoring your previous library exactly as it was. There is always the potential for iTunes match to provide the wrong version of a song and could be content such as movies, podcasts, audiobooks etc. that would have been excluded.
    tt2

  • Hello, what is the best way for me to convert RW2 raw format for use in Photoshop CC

    Hello, what is the best way for me to convert RW2 raw format for use in Photoshop CC. I would appreciate any help with this.

    Thanks for the quick help. I do have to leave for work. When I try to
    download the images from the camera they seem to only be in jpeg (I don't
    see any rw2 or raw files to download). If I select the jpeg file it seems
    to only download a jpeg file. I do understand that I do have the option to
    open the jpeg in RAW. In doing this, is all the extra information included
    in the RAW file there or is it lost coming from the camera
    Once again thank you for trying to make me understand how this works.
    Have a great day.
    On Sat, Sep 13, 2014 at 12:14 PM, ssprengel <[email protected]>

  • Best way for capturing HDV

    Best way for capturing HDV
    using easy setup setted to HDV1080 50i (camera is a Sony HDV HC1) captured video look like sh...
    and when exported with compressor is worst!
    some idea?

    Ok fantastic ! you are right (the frustration was talking for me)
    video is shooted in 16:9 HDV 1080 50i
    Captured video looks:
    full of orizontal lines (that look like scan lines) expecially evident on figure edges and on motion subjects
    and
    like it was resized 1440x1080i from a different lower resolution
    video is exported with compressor
    MPEG-2 3.7Mbps 2-pass 16:9
    Description: Fits up to 150 minutes of video with Dolby Digital audio at 192 Kbps or 120 minutes with AIFF audio on a DVD-5
    File Extension: m2v
    Video Encoder
    Format: M2V
    Width and Height: Automatic
    Pixel aspect ratio: default
    Crop: None
    Frame rate: (100% of source)
    Frame Controls: Automatic
    Aspect ratio: 16:9
    Field dominance: Auto detect
    Average data rate: 3.7 (Mbps)
    2 Pass VBR enabled
    Maximum data rate: 7.5 (Mbps)
    High quality
    Best motion estimation
    Closed GOP Size: 1/2 second, Structure: IBBP
    DVD Studio Pro meta-data enabled
    In these case the first problem is i can't obtain 16:9 format an the lines becomes more more evidents
    software is Final cut Studio HD
    camera is Sony HDV HC1e
    hope I wrote all the info
    Thx

  • Best way for Email Notifications in EWS Managed API 2.0 [ Exchange Server 2013]

    Hi ,
    I want to know best way for Email Notifications in Exchange server. My
    organisation has 
    10 users, i want to get notification if any user mailbox got any new mail.
    i need to create API,
    that was consumed by another Team in their Application.
    I am using Exchange server 2013.
    Please share Your Ideas.
    Thank you

    Take a look at EWS Notifications
    http://msdn.microsoft.com/en-us/library/office/dn458791(v=exchg.150).aspx .
    Cheers
    Glen

Maybe you are looking for

  • Old imac hard drive crashed... how to put ipod tunes into new imac's itunes

    I'm sure this is something that's been revisited a number of times already... My "old" imac (2 years old -- yes I'm ****** but let's not go there) hard drive ceased living. I literally lost everything (had all data backed up, whew!). Anyway, how can

  • AWR Report - no data!!

    Oracle Version: 11.1.0.7 64x OS Version: Windows 2008 Server 64x Hi There, We're just trying to generate a awr report for one of our databases and the report is coming out with no data. statistics_level parameter is set to "TYPICAL"; any idea to what

  • After a recent upgrade I am no longer able to open NEF files from Lightroom to Photoshop

    I receive the error: The file could not be edited because Adobe Photoshop CS6 could not be launched. After the error, LR creates a tif file and that does open up in PS. I have uninstalled and reinstalled PS and LR but the error comes back. I am runni

  • How do I get msm on my iPhone

    how do I get msm on my iPhone 3GS I can send but I can't reseve

  • Strange lines appear in tables?

    Whenever I delete a row or column at the end of a table a strange black line appears, I have to keep going back to strokes and fills to adjust the table to have I want it. Is there something I am doing wrong?