Java tutorial - helps, problem  is i don't understand the API

I don't understand the JAVA Tutorials or the API

Take two steps back.
Buy a book on basic Java Programming. You need to understand the concepts behind programming before you should start reading the API.
But kudos for at least trying to read the API.
Now look at the column on the left, and follow the link called [url http://developer.java.sun.com/developer/onlineTraining/] Tutorials 
and then the link titled [url http://java.sun.com/docs/books/tutorial/index.html]The Java Tutorial (Java Series).
And finally read through the sections starting with [url http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html]Your First Cup of Java.
Then once you have been through all of that, come back and ask for clarification
on any specific points that you have trouble understanding.
Finally (Because the Finally always gets executed) Try taking a class in java programming.
regards

Similar Messages

  • Java Access Helper problem

    I just downloaded Java Access Helper zip file, and unzipped, and run the following command in UNIX
    % java -jar jaccesshelper.jar -install
    I get the following error message, and the installation stopped.
    Exception in thread "main" java.lang.NumberFormatException: Empty version string
    at java.lang.Package.isCompatibleWith(Package.java:206)
    at jaccesshelper.main.JAccessHelperApp.checkJavaVersion(JAccessHelperApp.java:1156)
    at jaccesshelper.main.JAccessHelperApp.instanceMain(JAccessHelperApp.java:159)
    at JAccessHelper.main(JAccessHelper.java:39)
    If I try to run the jar file, I get the same error message.
    Does anyone know how I can fix this?
    Thanks

    sorry ab the multiple post, it was urgent for me to
    know the answer.
    I've JDK 1.4.2 and JAccessHelper should work with 1.3
    or later
    Can there be some kind of path problems?No, I doubt it. It's just some internal app failure - looks like it's trying to determine the running Java version, and is not doing a good job at it. But the failure has nothing per se to Java, it's that specific app - what are we supposed to know about that app though?

  • HT201363 I want to change security question but the problem is i don't know the rescue email what can i do ?

    I want to change security question but the problem is i don't know the rescue email what can i do ?
    Please answer me quickly

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
    Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                             Apple ID- All about Apple ID security questions.

  • Can anyone help me change fonts and size on my page? I don't understand the class questions?

    Can anyone help me change fonts and size on my page? I don't understand the class questions? All I want to do is change the font and size of a table or div.
    http://www.allgearinc.com/AG12SSWL-Swift.htm -One problem page

    If you want to change the fonts of the entire page then this code will do the trick:
    body {
        font-size: 16pt;
        color: silver;
         font-family: whatever, goes, here;
    If you want to change the fonts of ALL tables on a page then the code is something like this:
    table {
        font-size: 20pt;
        font-family: "Courier New", Courier, monospace;
        font-style: italic;
        font-weight: bold;
    what exactly do you want to change?  Can you be a bit specific so that Ben or Ken can give you the exact code and tell you about the short-hand method to write the code in one line.
    Have you bought a book on CSS yet?  If not, it is a good idea to get one as a reference.  Eric Meyer writes good books on CSS.

  • Itunes isnt recognising my iphone 4 after i restored my phone and updated it to ios7 on windows, but the computer recognises it...please help ppl..m done with all the recomendations given by apple

    itunes isnt recognising my iphone 4 after i restored my phone and updated it to ios7 on windows, but the computer recognises it...please help ppl..m done with all the recomendations given by apple

    if require the new itunes11.1.X
    if you already have that and it's windows then uninstall itunes
    use regEdit you can type that in run or the likes and search and delete all hits you get on itunes
    then reboot windows and install itunes again

  • Trying to resolve a blinking amber light on my Time Capsule. The problem is i don't see the airport utilities under Apps/Utilities..any ideas?

    trying to resolve a blinking amber light on my Time Capsule. The problem is i don't see the airport utilities under Apps/Utilities to try and reset..any ideas?

    AirPort Utility should be here:  Macintosh HD > Applications > Utilities > AirPort Utility
    If it is not there, you can download it from here:
    http://support.apple.com/downloads/#airport
    Temporarily, connect an Etherent cable from your Mac to one of the LAN <-> ports on the back of the Time Capsule
    Open AirPort Utility - Click Manual Setup
    Click directly on the word Status (2nd line) and a window will open to explain why the Time Capsule is complaining along with suggested actions to remedy the issue

  • HT204088 I don't understand the charges on my account for Itunes.  When I asked for history online, I get no results.  Please help.

    I don't understand the charges on my credit card for itunes.  please help

    Your credit card is only linked to one iTunes account, and you've checked the purchase history on it via your computer's iTunes as per the page that you posted from ? And you don't have iTunes Match or any auto-renewing subscriptions (I'm not sure if they show on the purchase history or not, I don't have any so I can't check) : http://support.apple.com/kb/HT4098
    And you haven't added or changed your credit card details on your iTunes account ? Each time that you do so a small temporary store holding charge may be applied to check that the card details are correct and valid and that it's registered to exactly the same name and address as on your iTunes account - it should disappear off your account within a few days or so. Store holding charge : http://support.apple.com/kb/HT3702
    If you can't find anything on your account's purchase history then you should probably contact your card issuer and get the card cancelled and replaced. You can also contact iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    I don't know what your second post means.

  • Don't understand the workflow in e-commerce

    Is there a place to see the backend of an online store working, or to see how it's supposed to be set up? My previous experience with shipping cart systems is that once the order is placed, it gives you the ability to change the status of the order, from something like "processing" to "shipped" or maybe "In Progress". Once you change it to "Shipped", it updates the customer via email and it takes the order off any WIP reports.
    I setup the online store in a dummy company, and ordered something from it, using "COD" for payment, then I went to see how all that worked. I can't see anything that moves the order through the process to the end. It looks like that might be something I have to setup with workflows. Is that correct? If not, how does the order go from a new order to a shipped order?
    I'm sure it does it or can do it, I just don't understand the way it all works. A tutorial or demo would be great, but I haven't been able to locate one.
    Thanks in advance for any help!

    Hi,
    The order status is changed as explained here -> http://kb.worldsecuresystems.com/kb/order-status.html
    and payment is applied to the cash order as explained here -> http://kb.worldsecuresystems.com/kb/order-payments.html
    Hope that helps!
    Please let us know for any further assistance.
    Kind Regards,

  • Filter don't work or I don't understand the workflow

    Hi.
    Mac OS X 10.6.8
    Aperture 3.2.4
    I use AP for long time without problems.
    Maybe I don't understand the workflow of filters.
    I edit some photos, make HDRs and use external Plugins from Nik.
    When I use the filter to show TIFFs or edit with external applications I don't see the fotos when I use both rules.
    When I use only TIFFs I see TIFFs but only BlackWhite fotos. The colored HDRs also TIFFs but I don't see it.
    When I use only External Edit I see HDRs but only colored HDRs.
    When I use both I see nothing, see screenshot.
    Make I a mistake  ?
    I will not use keyword AP should do his job.
    Jochen (.de)

    Maybe my question is not clear.
    A additionally screenshot is more clear.

  • Which Mac Pro? More cores=slower speeds? And most of us know the speed matters or FPU for music and I don't understand the faster is for the least amount of procs. And while I get the whole rendering thing and why it makes sense.

    Which Mac Pro? More cores=slower speeds? And most of us know the speed matters or FPU for music and I don't understand the faster is for the least amount of procs. And while I get the whole rendering thing and why it makes sense.
    The above is what the bar says. It's been a while and wondered, maybe Apple changed the format for forums. Then got this nice big blank canvas to air my concerns. Went to school for Computer Science, BSEE, even worked at Analog Devices in Newton Massachusetts, where they make something for apple. 
    The bottom line is fast CPU = more FPU = more headroom and still can't figure out why the more cores= the slower it gets unless it's to get us in to a 6 core then come out with faster cores down the road or a newer Mac that uses the GPU. Also. Few. I'm the guy who said a few years ago Mac has an FCP that looks like iMovie on Steroids. Having said that I called the campus one day to ask them something and while I used to work for Apple, I think she thought I still did as she asked me, "HOW ARE THE 32 CORES/1DYE COMING ALONG? Not wanting to embarrass her I said fine, fine and then hung up.  Makes the most sense as I never quite got the 2,6,12 cores when for years everything from memory to CPU's have been, in sets of 2 to the 2nd power.  2,4,8,16,32,64,120,256,512, 1024, 2048,4196,8192, 72,768.  Wow. W-O-W and will be using whatever I get with Apollo Quad. 
    Peace to all and hope someone can point us in THE RIGHT DIRECTION.  THANK YOU

    Thanks for your reply via email/msg. He wrote:
    If you are interested in the actual design data for the Xeon processor, go to the Intel site and the actual CPU part numbers are:
    Xeon 4 core - E5.1620v2
    Xeon 6 core - E5.1650v2
    Xeon 8 core - E5.1680v2
    Xeon 12 core - E5.2697v2
    I read that the CPU is easy to swap out but am sure something goes wrong at a certain point - even if solderedon they make material to absorb the solder, making your work area VERY clean.
    My Question now is this, get an 8 core, then replace with 2 3.7 QUAD CHIPS, what would happen?
    I also noticed that the 8 core Mac Pro is 3.0 when in fact they do have a 3.4 8 core chip, so 2 =16? Or if correct, wouldn't you be able to replace a QUAD CHIP WITH THAT?  I;M SURE THEY ARE UO TO SOMETHING AS 1) WE HAVE SEEN NO AUDIO FPU OR PERHAPS I SHOULD CHECK OUT PC MAKERS WINDOWS machines for Sisoft Sandra "B-E-N-C-H-M-A-R-K-S" -
    SOMETHINGS UP AND AM SURE WE'LL ALL BE PLEASED, AS the mac pro      was announced Last year, barely made the December mark, then pushed to January, then February and now April.
    Would rather wait and have it done correct than released to early only to have it benchmarked in audio and found to be slower in a few areas- - - the logical part of my brain is wondering what else I would have to swap out as I am sure it would run, and fine for a while, then, poof....
    PEACE===AM SURE APPLE WILL BLOW US AWAY - they have to figure out how to increase the power for 150 watts or make the GPU work which in regard to FPU, I thought was NVIDIA?

  • I don't understand the thing you call live bookmarks never used it, and most forums I have used notify VIA E-mail not giving out my E-mail address information when a reply has been made to the thread in question.

    So how do I get notified of updates in this forum? As I said: I don't understand the thing you call LIVE BOOKMARKS I have never used them, and most forums I have used notify VIA E-mail not giving out my E-mail address, or other private information when a reply has been made to the thread in question, so how do I get notified of updates in this forum? I have seen no normal options for setting my viewing preferences used for this forum. Thank You.

    Thanks for your reply via email/msg. He wrote:
    If you are interested in the actual design data for the Xeon processor, go to the Intel site and the actual CPU part numbers are:
    Xeon 4 core - E5.1620v2
    Xeon 6 core - E5.1650v2
    Xeon 8 core - E5.1680v2
    Xeon 12 core - E5.2697v2
    I read that the CPU is easy to swap out but am sure something goes wrong at a certain point - even if solderedon they make material to absorb the solder, making your work area VERY clean.
    My Question now is this, get an 8 core, then replace with 2 3.7 QUAD CHIPS, what would happen?
    I also noticed that the 8 core Mac Pro is 3.0 when in fact they do have a 3.4 8 core chip, so 2 =16? Or if correct, wouldn't you be able to replace a QUAD CHIP WITH THAT?  I;M SURE THEY ARE UO TO SOMETHING AS 1) WE HAVE SEEN NO AUDIO FPU OR PERHAPS I SHOULD CHECK OUT PC MAKERS WINDOWS machines for Sisoft Sandra "B-E-N-C-H-M-A-R-K-S" -
    SOMETHINGS UP AND AM SURE WE'LL ALL BE PLEASED, AS the mac pro      was announced Last year, barely made the December mark, then pushed to January, then February and now April.
    Would rather wait and have it done correct than released to early only to have it benchmarked in audio and found to be slower in a few areas- - - the logical part of my brain is wondering what else I would have to swap out as I am sure it would run, and fine for a while, then, poof....
    PEACE===AM SURE APPLE WILL BLOW US AWAY - they have to figure out how to increase the power for 150 watts or make the GPU work which in regard to FPU, I thought was NVIDIA?

  • I just downloaded Adobe Acrobat XI Pro, I am in the install process now and I am getting an Error message, Error 1303, stating I need to log on as an administrator ... this is my computer so I don't understand the issue??

    I just downloaded Adobe Acrobat XI Pro, I am in the install process now and I am getting an Error message, Error 1303, stating I need to log on as an administrator ... this is my computer so I don't understand the issue??

    Hi MAX22,
    Even though it's your computer but your user account might not have sufficient privileges to install the software.
    Please try the following :
    > Enable the hidden Admin Account on Windows 7 ( Ref :  http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista/ )
    Reboot and try installing in the new enabled Admin user account and check.
    Regards,
    Rave

  • HT4847 Don't understand the purpose of icloud storage

    Hello,
    Maybe I'm alone on this one, but even after reading Apple's articles on iCloud and iCloud storage, I don't understand the purpose of it.  I am only using 23.5 of a 25 Go storage (all of it is backup of all my apps and files (not sure the movies and music is covered even though the iPad general setting info implies this since I'm in Europe) and yet, if I delete the app files from the iPad, I also delete them from the cloud.  So for instance, I want to update to the latest iOS and it says I'm short 312 Mo and need to delete stuff from the iPad. 
    If I understand correctly, the only way to do this safely is to make sure a duplicate is on my PC via iTunes. So then what do I need the iCloud extra storage for (for which I am paying)?  Is this like a SkyDrive or Dropbox or not???
    Please someone clear this up in simple, step-by-step type language.  I feel like I'm getting a round around when I read or take to Apple folks via email.  Thanks in advance!

    Movies, music and apps are not part of your back ups, they are all available already on Apples servers as part of the iTunes Store. Backups consist of settings, photos and other data which cannot be obtained from elsewhere.
    iCloud is not general online storage like Dropbox, in addition to back ups it keeps all your app data from apps such as contacts, calendars etc so it can be accessed by all your devices and keep them in sync. But in keeping with the mobile system structure the data is accessed through the app rather than a folder structure.

  • HT5463 Don't understand the Silence section in Do Not Disturb.  I do NOT want to silence calls at any time.  How do I achieve this?

    Don't understand the Silence section in Do Not Disturb.  I do NOT want to silence the phone at all.  I have entered Allow Calls from 'Everyone". 

    If you do not want to silence the phone at all, you just need to set both Manual and Sheduled to off (not green). Those two switches turn Do Not Disturb on and off. The "Silence" section is only relevant when Do Not Disturb is On and determines whether it is active only while the screen is locked and Do Not Disturb is On or at all times that Do Not Disturb is On. Also, if Do Not Disturb is Off, it doesn't matter what the "Allow calls from" is set to.
    If Do Not Disturb is On you will see a moon icon on the right side of the status bar (somewhere left of the battery %). More information at: http://support.apple.com/kb/HT5463

  • Don't understand the java.lang.OutOfMemoryError

    Hi there,
    I try to create an 'About' frame for a small programm I created and I get an java.lang.OutOfMemoryError which I don't understand. Can somebody help?
    Here is my code:
    * TabbedPaneDemo.java is a 1.4 example that requires one additional file:
    *   images/middle.gif.
    import javax.swing.JTabbedPane;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JComponent;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.event.KeyEvent;
    import java.awt.Dimension;
    import java.awt.Rectangle;
    public class TabbedAbout extends JPanel {
              JLabel label=new JLabel("PRODUCT INFORMATION ");
                JLabel pv=new JLabel("Product version:");
                JLabel pvR=new JLabel("1.0");
                JLabel javav=new JLabel("Java Version:");
                JLabel javavR=new JLabel("1.4.2");
                JLabel sqlv=new JLabel("PostgreSQL Version:");
                JLabel sqlvR=new JLabel("8.1");
                JLabel pt=new JLabel("Programming Team:");
                JLabel onoma1=new JLabel("Gkisis Traianos");
                JLabel onoma2=new JLabel("Zafeiropoulos Ioannis");
                JLabel onoma3=new JLabel("Supervisor Teacher:");
                JLabel onoma3R=new JLabel("Stamatis Dimosthenis");
                JLabel alr=new JLabel("Product developed as dissertation for the ATEI");
                JLabel alr2=new JLabel("Thessaloniki on autumn 2006.");
                JLabel alr1=new JLabel("All rights reserved");
                ImageIcon icon = createImageIcon("images/folder_sticky.gif");
            ImageIcon icon2 = createImageIcon("images/tick.gif");
        public TabbedAbout() {
             JLabel panel1 = new JLabel();
             JFrame frame = new JFrame("About");
             JFrame.setDefaultLookAndFeelDecorated(true);
             frame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
             //super(new GridLayout(1, 1));
            JTabbedPane tabbedPane = new JTabbedPane();
            panel1.setIcon(new ImageIcon("images/TakeANoteProgress.jpg"));
            tabbedPane.addTab("About", icon, panel1);
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            JPanel panel2 = new JPanel();
            //JFrame frame2 = new JFrame();
            panel2.setLayout(null);
            label.setIcon(icon2);
            label.setBounds(new Rectangle(20, 20, 200, 25));
            pv.setBounds(new Rectangle(20, 40, 175, 45));
            pvR.setBounds(new Rectangle(180, 40, 175, 45));
            javav.setBounds(new Rectangle(20, 60, 175, 45));
            javavR.setBounds(new Rectangle(180, 60, 175, 45));
            sqlv.setBounds(new Rectangle(20, 80, 175, 45));
            sqlvR.setBounds(new Rectangle(180, 80, 175, 45));
            pt.setBounds(new Rectangle(20, 100, 175, 45));
            onoma1.setBounds(new Rectangle(180, 100, 175, 45));
            onoma2.setBounds(new Rectangle(180, 120, 175, 45));
            onoma3.setBounds(new Rectangle(20, 140, 175, 45));
            onoma3R.setBounds(new Rectangle(180, 140, 175, 45));
            alr.setBounds(new Rectangle(20, 190, 500, 45));
            alr2.setBounds(new Rectangle(20, 210, 500, 45));
            alr1.setBounds(new Rectangle(20, 250, 500, 45));
            panel2.add(label);
            panel2.add(pv);
            panel2.add(pvR);
            panel2.add(javav);
            panel2.add(javavR);
            panel2.add(sqlv);
            panel2.add(sqlvR);
            panel2.add(pt);
            panel2.add(onoma1);
            panel2.add(onoma2);
            panel2.add(onoma3);
            panel2.add(onoma3R);
            panel2.add(alr);
            panel2.add(alr2);
            panel2.add(alr1);
            tabbedPane.addTab("Detail", icon, panel2);
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.setSize(new Dimension(400, 300));
            //Add the tabbed pane to this panel.
            add(tabbedPane);
            //Uncomment the following line to use scrolling tabs.
            //tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
            //Create and set up the content pane.
            JComponent newContentPane = new TabbedAbout();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.getContentPane().add(new TabbedAbout(),
                                     BorderLayout.CENTER);
            //Display the window.
            frame.setLocationRelativeTo(super.getComponent(0));
            frame.pack();
            frame.setResizable(false);
            frame.setVisible(true);
        protected JComponent makeTextPanel(String text) {
            JPanel panel = new JPanel(false);
            JLabel filler = new JLabel(text);
            filler.setHorizontalAlignment(JLabel.CENTER);
            //panel.setLayout(new GridLayout(1, 1));
            panel.add(filler);
            return panel;
        /** Returns an ImageIcon, or null if the path was invalid. */
        protected static ImageIcon createImageIcon(String path) {
            java.net.URL imgURL = TabbedAbout.class.getResource(path);
            if (imgURL != null) {
                return new ImageIcon(imgURL);
            } else {
                System.err.println("Couldn't find file: " + path);
                return null;
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
       // private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            //Create and set up the window.
      public static void main(String[] args) {
      //      //Schedule a job for the event-dispatching thread:
        //    //creating and showing this application's GUI.
            //javax.swing.SwingUtilities.invokeLater(new Runnable() {
             // public void run() {
                   TabbedAbout a=new TabbedAbout();
        }Thanks in advance

    I will try your suggestions. But still I don't understand. It was running independently very ok and it was what I wanted. It was built excatly as the example in
    With run and main etc etc. But when I put it in my rest program it started and stack overflow error. Then I tried to change, change, change and got this last form.
    This is what I had before but didn't work with my rest program.
    * TabbedPaneDemo.java is a 1.4 example that requires one additional file:
    *   images/middle.gif.
    import javax.swing.JTabbedPane;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JComponent;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.event.KeyEvent;
    import java.awt.Dimension;
    import java.awt.Rectangle;
    public class TabbedAbout extends JPanel {
      JLabel label=new JLabel("PRODUCT INFORMATION ");
      JLabel pv=new JLabel("Product version:");
      JLabel pvR=new JLabel("1.0");
      JLabel javav=new JLabel("Java Version:");
      JLabel javavR=new JLabel("1.4.2");
      JLabel sqlv=new JLabel("PostgreSQL Version:");
      JLabel sqlvR=new JLabel("8.1");
      JLabel pt=new JLabel("Programming Team:");
      JLabel onoma1=new JLabel("Gkisis Traianos");
      JLabel onoma2=new JLabel("Zafeiropoulos Ioannis");
      JLabel onoma3=new JLabel("Supervisor Teacher:");
      JLabel onoma3R=new JLabel("Dimosthenis Stamatis");
      JLabel alr=new JLabel("Product developed as dissertation for the ATEI Thessaloniki on autumn 2006.");
      JLabel alr1=new JLabel("All rights reserved");
        public TabbedAbout() {
            //super(new GridLayout(1, 1));
            JTabbedPane tabbedPane = new JTabbedPane();
            ImageIcon icon = createImageIcon("images/folder_sticky.gif");
            JLabel panel1 = new JLabel();
            panel1.setIcon(new ImageIcon("images/TakeANote.jpg"));
            tabbedPane.addTab("About", icon, panel1);
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            JPanel panel2 = new JPanel();
            JFrame frame = new JFrame();
            panel2.setLayout(null);
             label.setBounds(new Rectangle(170, 20, 150, 25));
             pv.setBounds(new Rectangle(90, 40, 175, 45));
             pvR.setBounds(new Rectangle(220, 40, 175, 45));
             javav.setBounds(new Rectangle(90, 60, 175, 45));
             javavR.setBounds(new Rectangle(220, 60, 175, 45));
             sqlv.setBounds(new Rectangle(90, 80, 175, 45));
             sqlvR.setBounds(new Rectangle(220, 80, 175, 45));
             pt.setBounds(new Rectangle(90, 100, 175, 45));
             onoma1.setBounds(new Rectangle(220, 100, 175, 45));
             onoma2.setBounds(new Rectangle(220, 120, 175, 45));
             onoma3.setBounds(new Rectangle(90, 140, 175, 45));
             onoma3R.setBounds(new Rectangle(220, 140, 175, 45));
             alr.setBounds(new Rectangle(30, 170, 500, 45));
             alr1.setBounds(new Rectangle(170, 190, 500, 45));
            panel2.add(label);
            panel2.add(pv);
            panel2.add(pvR);
            panel2.add(javav);
            panel2.add(javavR);
            panel2.add(sqlv);
            panel2.add(sqlvR);
            panel2.add(pt);
            panel2.add(onoma1);
            panel2.add(onoma2);
            panel2.add(onoma3);
            panel2.add(onoma3R);
            panel2.add(alr);
            panel2.add(alr1);
            tabbedPane.addTab("Detail", icon, panel2);
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.setSize(new Dimension(400, 300));
            //Add the tabbed pane to this panel.
            add(tabbedPane);
            //Uncomment the following line to use scrolling tabs.
            //tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
        protected JComponent makeTextPanel(String text) {
            JPanel panel = new JPanel(false);
            JLabel filler = new JLabel(text);
            filler.setHorizontalAlignment(JLabel.CENTER);
            //panel.setLayout(new GridLayout(1, 1));
            panel.add(filler);
            return panel;
        /** Returns an ImageIcon, or null if the path was invalid. */
        protected static ImageIcon createImageIcon(String path) {
            java.net.URL imgURL = TabbedAbout.class.getResource(path);
            if (imgURL != null) {
                return new ImageIcon(imgURL);
            } else {
                System.err.println("Couldn't find file: " + path);
                return null;
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
            JFrame frame = new JFrame("About");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            JComponent newContentPane = new TabbedAbout();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.getContentPane().add(new TabbedAbout(),
                                     BorderLayout.CENTER);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }But independetly was working just fine. Excatly as I wanted
    Message was edited by:
    sickboy

Maybe you are looking for

  • Unable to install SQL SSRS add-in for SharePoint

    I am unable to install MS SQL SSRS add-in for SharePoint 2010 in a two tier architecture. The following message is displayed while running the Add-in installation: "Please ensure Microsoft SharePoint Technologies is installed" The environment setup i

  • Contract Generation question: Formatting, Numbering of clauses, variables

    Hi! I am trying to create a Contract Document Template (for Contract Generation) with Variables I created some Variable Collections, but when I link them to the Contract Template, they add on with a different formatting altogether, which is neither l

  • Custom structure grouping in crystal report 2008

    I have a Product Line revenue report, where it is reporting revenue and cost for various oilfield divisions such as oilfield us, oilfield egypt, oilfield oman etc.... and total at the end. say if iam developing a custom structure for each division in

  • Plz help asap....Solman 4.0 inst error

    hi.. i am doing the following inst.. solman 4.0 on win 2003 x64 standard abap and java on ibm db2 udb ver9 java 1.4.2.14 x64 win i am attaching the error below .................... java.lang.NullPointerException      at java.io.Reader.<init>(Reader.j

  • STO WITH EXCISE, RG23A - Register is not updating

    Hai experts, I have created stock transfer order, with reference to that order i have issued material to another plant. with reference to this document number i have created excise document in J1IS & J1IV... It has to update in RG23A Part II.. It is