GUI not displaying upon init

slightly newbie question I think:
I've written a small application (swing) which compiles fine. Upon running, the window that appears is blank. clicking anywhere on the title bar or in the window itself does nothing. However, resizing the window causes the GUI to appear and things function normaly after that. What am I missing here? I don't think i've ever had this happen before...
thanks

here it is:
import javax.swing.*;
import java.awt.*;
* @author  dsmolin
public class Wizard2 extends javax.swing.JFrame {
    public Wizard2() {
        init();
        repaint();
    private void init() {
        this.setLayout(null);
          this.setVisible(true);
          this.setSize(400, 400);
        this.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
          //this.add(jPanel1);
          this.add(CARDS);
          this.add(jPanel2);
          this.setTitle("title");
          getRootPane().setDefaultButton(NEXTBUTTON);
          CARDS.add(jPanel1, P0);
          CARDS.add(Q1);
          CARDS.add(Q2);
          CARDS.add(Q3);
          CARDS.add(Q4);
          CARDS.add(PP);
          CARDS.setLayout(null);
          CARDS.setVisible(true);
          CARDS.setBounds(0, 0, 390, 280);
        jPanel1.setLayout(null);
          jPanel1.add(jScrollPane1);
        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder("Select Module")));
        jPanel1.add(jTextArea1);
        jPanel1.setBounds(0, 0, 390, 280);
          Q1.setBounds(0, 0, 390, 280);
          Q2.setBounds(0, 0, 390, 280);
          Q3.setBounds(0, 0, 390, 280);
          Q4.setBounds(0, 0, 390, 280);
          PP.setBounds(0, 0, 390, 280);
          Q1.setVisible(false);
          Q2.setVisible(false);
          Q3.setVisible(false);
          Q4.setVisible(false);
          PP.setVisible(false);
          jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createTitledBorder("text")));
          jPanel2.setLayout(null);
          jPanel2.add(EXITBUTTON);
          jPanel2.add(NEXTBUTTON);
          jPanel2.add(BACKBUTTON);
          jPanel2.setBounds(0, 280, 390, 50);
        //jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jList1.setModel(new javax.swing.AbstractListModel()
            String[] strings = { "Vitamin A Calculator", "Drink Formulator", "Pearson Square", "Milk & Mix formulator" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings; }
jList1.addListSelectionListener(new javax.swing.event.ListSelectionListener()
public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
jList1ValueChanged(evt);
jScrollPane1.setViewportView(jList1);
jScrollPane1.setBounds(10, 20, 110, 250);
jTextArea1.setBackground(new java.awt.Color(212, 208, 200));
jTextArea1.setText("Please select a Module and press Next.");
jTextArea1.setBorder(null);
jTextArea1.setBounds(130, 84, 250, 110);
          jTextArea1.setLineWrap(true);
          jTextArea1.setFont(new JTextField().getFont());
          EXITBUTTON.setBounds(330, 12, 50, 30);
EXITBUTTON.setText("Cancel");
EXITBUTTON.setBorder(javax.swing.BorderFactory.createEtchedBorder());
EXITBUTTON.addActionListener(Action);
          NEXTBUTTON.setBounds(240, 12, 50, 30);
NEXTBUTTON.setText("Next >");
NEXTBUTTON.setBorder(javax.swing.BorderFactory.createEtchedBorder());
NEXTBUTTON.setEnabled(false);
NEXTBUTTON.addActionListener(Action);
          BACKBUTTON.setBounds(180, 12, 50, 30);
BACKBUTTON.setText("< Back");
BACKBUTTON.setBorder(javax.swing.BorderFactory.createEtchedBorder());
BACKBUTTON.setEnabled(false);
BACKBUTTON.addActionListener(Action);
          QPanel[] PANES = {Q1, Q2, Q3, Q4};
          for(int i=0; i<4; i++)
               //PANES[i].jTextArea1.addActionListener(Action);
     int CurrentCard = 0;
     private QPanel Q1 = new QPanel();
     private QPanel Q2 = new QPanel("Step 2: Weight","Weight per Gallon: ","info: please enter the Weight per Gallon of the new Mix. For example, Enter 9.32");
     private QPanel Q3 = new QPanel("Step 3: Butterfat Test","Butterfat Test of Standard: ","info: please enter the Butterfat Test of Standard being compared. For example, Enter 10.00");
     private QPanel Q4 = new QPanel("Step 4: Vitamin A","Vitamin A Concentration: ","info: please enter the Concentration of Vitamin A being used in I.U's per ml. Please do not use commas. For example, Enter 12000");
     private VitaminAProofPanel PP = new VitaminAProofPanel();
     private JButton EXITBUTTON = new JButton();
private JButton NEXTBUTTON = new JButton();
private JButton BACKBUTTON = new JButton();
private JList jList1 = new JList();
private JPanel jPanel1 = new JPanel();
private JPanel jPanel2 = new JPanel();
     private QPanel[] PANES;// = new JPanel[5];
private JScrollPane jScrollPane1 = new JScrollPane();
private JTextArea jTextArea1 = new JTextArea();
     JPanel CARDS = new JPanel();
     String P1 = new String("1");
     String P2 = new String("2");
     String P3 = new String("3");
     String P4 = new String("4");
     String P0 = new String("0");
     public SymAction Action = new SymAction();
     double D1;
     double D2;
     double D3;
     double D4;
     public class SymAction implements java.awt.event.ActionListener
          public void actionPerformed(java.awt.event.ActionEvent event)
               Object object = event.getSource();
               if (object == EXITBUTTON)
                         System.exit(1);
               if (object == BACKBUTTON)
               if (object == NEXTBUTTON)
private void jList1ValueChanged(javax.swing.event.ListSelectionEvent evt) {
          // if something is selected, make next enabled, else, make next disabled.
          NEXTBUTTON.setEnabled(true);
public static void main(String args[]) {
          try
     //UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
                    //UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
                    //UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
                    UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
                    //UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
     } catch (Exception e) { }
new Wizard2();

Similar Messages

  • Mediatomb GUI not displaying in Midori

    As in the title, when opening the Mediatomb web-based GUI in Midori, I can see just the background, top banner image and frames, but no text at all. It's the first time a website is not displaying properly, although I've only been using Midori for a couple of weeks.
    It opens properly with Firefox.
    I'm guessing it's something to do with JS/AJAX, but not sure how to check that. No errors get printed from Midori.
    Any help/advice/solutions would be much appreciated.
    EDIT: gRammer
    Last edited by lukaszan (2011-05-29 16:17:07)

    What is EPG?Embedded PL/SQL Gateway:
    http://www.oracle.com/technology/products/database/application_express/html/apex_arch.html
    >
    The pages use a template that references a CSS with this:
    href="#IMAGE_PREFIX#themes/theme_2/theme_3_1_GNT.css"
    So what exactly is the URL that I should paste into the browser?
    >
    Look in the source of the page as displayed: I don't know what your #IMAGE_PREFIX# is, nor (as that will produce a relative URL) what the rest of the URL will be. Something like:
    http://your.server:port/i/themes/theme_2/theme_3_1_GNT.css

  • Server Admin GUI not displaying complete information

    Recently, the Server Admin GUI stopped displaying complete information for one of our servers. It works fine for the other.
    All servers are set up very much the same, other than one is an Xserve and one is a G5 tower. The one giving the grief is the G5 tower.
    Server Admin is version 10.4.7 and was working fine until a few days ago.
    When I click on the computer name (or IP) in the "Computers and Services" list, then look at any of the tabs > "Overview" "Logs" "System" "Graphs" or "Update" no information is retrieved. With the exception of Hard Drive capacity.
    All other services (Web, VPN, Mail) report all info without problems.
    Weird, hey? Any thoughts appreciated.
    Message was edited by: mebs2

    Well it pretty easy. I've taken out the code that is unused so you can see what is going on.
    import javax.swing.* ;
    public class Shareddilog extends JDialog
    public static void main(String[] args)
    Shareddilog s=new Shareddilog();
    s.show();
    }This is the only code that is executed in your program. It created a JDialog and then shows it. What you want to do, I imagine, is to put all the GUI stuff in your constructor and make sure you call pack() on it before you are done.

  • GUI not displaying correctly

    My DBA is moving all apps to a new server, so I just moved my APEX app from one server to another using Import/Export and now the GUI looks all wrong. The background is no longer blue, the regions don't look the same as before and the tabs don't show up.
    On the new server, all my pages are still based on the same template as they were in the original location, and that template references a modified CSS. I'm not quite sure exactly what went wrong and how to fix it. Can somebody give me some guidelines on how to fix this?
    Edited by: Prohan on May 13, 2010 12:56 PM

    What is EPG?Embedded PL/SQL Gateway:
    http://www.oracle.com/technology/products/database/application_express/html/apex_arch.html
    >
    The pages use a template that references a CSS with this:
    href="#IMAGE_PREFIX#themes/theme_2/theme_3_1_GNT.css"
    So what exactly is the URL that I should paste into the browser?
    >
    Look in the source of the page as displayed: I don't know what your #IMAGE_PREFIX# is, nor (as that will produce a relative URL) what the rest of the URL will be. Something like:
    http://your.server:port/i/themes/theme_2/theme_3_1_GNT.css

  • GUI not displaying

    I cannot get the GUI for this class to display at all. The could will compile and run but only a small GUI appears with none of my buttons or controls on it. The complete GUI code is below. Any ideas?
    Thanks
    Mick
    package shareddilog;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    /*This class is used for sharing files and folders and is a GUI class. It is mainly
    used for sharing files and directories for users to use. Through this class the
    listener can add files and directories for sharing */
    public class Shareddilog extends JDialog implements ActionListener
    public void actionPerformed(ActionEvent e)
    public void shared_files()
    //Create an object of the JDialog class
    sharedilog = new JDialog();
    //Set the layout as null and draw the GUI components as needed
    sharedilog.getContentPane().setLayout(null);
    sharedilog.setTitle("Share Dialog");
    //adding the window listener
    addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e)
    dispose();
    //Initialising the GUI Component
    share_file=new JButton("Share File");
    //Positioning the the GUI Component
    share_file.setBounds(10,7,100,20);
    //Adding an ActionListener
    share_file.addActionListener(this);
    //Adding the button
    sharedilog.getContentPane().add(share_file);
    share_folder=new JButton("Share Folder");
    share_folder.setBounds(110,7,150,20);
    share_file.addActionListener(this);
    sharedilog.getContentPane().add(share_folder);
    l_type=new JLabel();
    l_type.setText("Type a filename here or click browse to select");
    l_type.setBounds(15,35,380,20);
    sharedilog.getContentPane().add(l_type);
    t_type=new JTextField(150);
    t_type.setBounds(15,60,380,20);
    sharedilog.getContentPane().add(t_type);
    browse=new JButton("Browse");
    browse.setBounds(315,85,80,20);
    browse.add(this);
    sharedilog.getContentPane().add(browse);
    c_entry=new JCheckBox("Add this entry only");
    c_entry.setBounds(275,110,150,20);
    sharedilog.getContentPane().add(c_entry);
    /*When this button is pressed the information regarding the file/folder share
    will be added to the share.ini file*/
    shared_it=new JButton("Share it");
    shared_it.setBounds(250,165,80,20);
    shared_it.addActionListener(this);
    sharedilog.getContentPane().add(shared_it);
    /*This button is for closing the Dialog */
    close=new JButton("Close");
    close.setBounds(340,165,80,20);
    close.addActionListener(this);
    sharedilog.getContentPane().add(close);
    //This RadioButton gives read only permission to the file
    read_only=new JRadioButton("Read Only",true);
    read_only.setBounds(10,140,80,20);
    sharedilog.getContentPane().add(read_only);
    //This RadioButton gives gives read/write permissions to the file
    read_write=new JRadioButton("Read/Write",false);
    read_write.setBounds(10,165,80,20);
    sharedilog.getContentPane().add(read_write);
    group=new ButtonGroup();
    //Adding RadioButtons to the group so only one can be selected
    group.add(read_only);
    group.add(read_write);
    JDialog sharedilog;
    JButton share_file;
    JButton share_folder;
    JLabel l_type;
    JTextField t_type;
    JButton browse;
    JCheckBox c_entry;
    JButton shared_it;
    JButton close;
    JRadioButton read_only;
    JRadioButton read_write;
    ButtonGroup group;
    Vector v_file_list;
    DataInputStream data_in;
    BufferedReader data_buffer_in;
    static boolean b_cho_f=false;
    static boolean b_cho_d=false;
    JFileChooser fileselection;
    String r_reights;
    long lengthoffile;
    static File file_list;
    static boolean value_all_ready_present = false;
    StringTokenizer st;
    String s_line;
    static boolean first_time_entry = false;
    DataOutputStream data_out;
    public static void main(String[] args)
    Shareddilog s=new Shareddilog();
    s.show();

    Well it pretty easy. I've taken out the code that is unused so you can see what is going on.
    import javax.swing.* ;
    public class Shareddilog extends JDialog
    public static void main(String[] args)
    Shareddilog s=new Shareddilog();
    s.show();
    }This is the only code that is executed in your program. It created a JDialog and then shows it. What you want to do, I imagine, is to put all the GUI stuff in your constructor and make sure you call pack() on it before you are done.

  • Transacction types not displaying in the popup

    Hi Experts,
    After system upgrade from crm 7.0 to ehp3, transaction types are not displaying upon clicking New button and create follow up buttons. I have checked the spro settings and compared with 7.0 system. There are no changes.
    In the debugging in the  method GET_PROC_TYPE_CUST of class CL_CRM_UIU_BT_GET_PROC_TYPES, i found the entries in the internal table getting deleted as the navigation is not supported. Am having the entries in lt_proc_type_t.
    * Retrive the possible proc types for given bus type
       CALL FUNCTION 'CRM_BSP_SALES_GET_PROC_TYPE'
         EXPORTING
           iv_bus_category     = iv_bus_category
           iv_templates_only   = iv_template_only
           iv_process_mode     = lv_process_mode
           iv_btx_class        = iv_btx_class
           iv_btx_all          = iv_btx_all
         IMPORTING
           et_process_type_txt = lt_proc_type_t.
       LOOP AT lt_proc_type_t INTO ls_proc_type_t.
         IF iv_mixed_quot_order EQ abap_false.
    *** Filter out mixed types
           lv_delete = abap_false.
    *     check item types mixed or not
           cl_crm_uiu_bt_get_proctypes=>is_quotation(
             EXPORTING iv_proc_type         = ls_proc_type_t-process_type
                       iv_bus_category      = iv_bus_category
             IMPORTING ev_quotation_only    = lv_quotation_only
                       ev_mixed_quot_order  = lv_mixed_quot_order ).
           IF lv_mixed_quot_order EQ abap_true AND
              iv_quotation_only EQ abap_true.
    *** Mixed Types for sales + quotation items(Considered as sales order 1299189) -> exclude if quotation_only is true
             lv_delete = abap_true.
           ELSE.
    *** Pure Types
             IF lv_quotation_only EQ abap_true.
               IF iv_quotation_only EQ abap_false.
    *** only pure quotations required
                 lv_delete = abap_true.
               ENDIF.
             ELSE.
               IF iv_quotation_only EQ abap_true.
    *** only pure orders required
                 lv_delete = abap_true.
               ENDIF.
             ENDIF.
           ENDIF.
           IF lv_delete = abap_true.
             DELETE lt_proc_type_t.
             CONTINUE.
           ENDIF.
         ENDIF.
    *   Check whether the naviagtion is supported
         IF cl_crm_uiu_bt_get_proctypes=>is_navigation_supported(
              iv_bus_category = iv_bus_category
              iv_proc_type    = ls_proc_type_t-process_type
              iv_btx_class    = iv_btx_class ) NE abap_true.
           DELETE lt_proc_type_t.
         ENDIF.
       ENDLOOP.
       SORT lt_proc_type_t BY p_description_20 AS TEXT.
       LOOP AT lt_proc_type_t ASSIGNING <proc_type_t>.
         ls_value-key = <proc_type_t>-process_type.
         ls_value-value = <proc_type_t>-p_description_20.
         INSERT ls_value INTO TABLE rt_proc_types.
       ENDLOOP.
    Can anyone please guide me what navigation it is checking for transaction types. Can i find it anywhere in the configuration.
    Thanks & regards,
    Chiru

    Hi Chiru,
    please check below configuration.
    1. go to spro>crm>transactions>basic settings>define transaction types
    2. mark your Z transaction type
    3. in navigation bar on the left side click on Channel
    4. add channel GUI CRM WEBCLIENT UI
    and one more thing check inactive check box should be empty.
    check below link also
    http://scn.sap.com/community/crm/sales/blog/2013/08/23/quotation-transaction-type-not-shown-in-webui
    http://scn.sap.com/thread/1648811
    http://scn.sap.com/thread/2130867
    regards,
    vishwa.

  • GUI status items are not displayed

    Hi all,
    Some parts of gui status are not displayed but some of them are displayed.
    What is the problem?
    Thanks.
    deniz.

    Hi snehi chouhan,
    I have created a program and two gui statuses for this.
    One of them is set at first display of report but not all items.
    Thanks.

  • Radio Buttons / Check box of Gui Transaction not displaying in WEB UI

    HI,
    We are using CRM 7.0 / ECC 6.0, i am launching some ECC transaction in WEB UI using transaction launcher, Radio button and Checkbox are displaying properly in Dev CRM system but it is not displaying in Quality system.
    I compared both systems, everything is the same. I also checked the ITS URL, we are using transaction IC_LTXE.
    /sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE&sap-client=100
    Please Advise ?.
    Thanks & Regards,
    Rajanidhi Rajasekeran.

    Hi,
    We are working on an upgrade project and have used transaction launcher to give SAP GUI transactions in Web UI.
    We are facing a similar issue.
    We have a report program with several checkboxes. User will select few checkbox and perform further processing.
    In development system it is working fine but in quality system if we scroll down or up after clicking on checkbox the page is getting refreshed and check is cleared.
    Did you come up with a reasonable solution to this issue?
    Do you know any way around this issue?
    Thanks in advance
    Regards,
    Sayan

  • MOTD displays upon logout, not login

    Hi all
    I need the MOTD to display upon login to the CDE or Java Desktop in Solaris 10 - everything is set in /etc/profile, /etc/motd, /etc/issue - yet you only see the MOTD when logging off and before the login screen comes back up waiting for a new user. When you login the screen blinks several times and goes straight to the CDE desktop. Is it possible that the MOTD is displaying so quickly that it cannot be viewed - if so, how to make it pause so that the user must be forced to hit a key to continue after its displayed? This is for security reasons and the banner must be displayed. There is no .hushlogin file in the users directory. There are no errors in the users .dt/startlog to indicate that the /etc/motd did not display, however I did notice that in the /root/.dt/startlog, the MOTD is in the startlog, while in the users it is not. Is this significant?
    thanks
    Mark C.
    AZ

    I've checked a number of other things, including adding a file to the /usr/dt/config/Xsession.d directory and adding the file 0050.dthello with the statement dtstart_hello[0]="/usr/dt/bin/dthello -file /etc/motd &" - the startlog at $HOME/.dt/ indicates that the file was read and processed with no errors. The file also exists at /etc/dt/config/Xsession.d but the startlog indicates that it is sourcing the one at /usr/dt/config/Xsession.d. I've tried editing the Xconfig file to add INFO_PATH=/etc/motd to the Dtlogin*environment but to no avail.
    After all this, you still only see the MOTD when logging out of CDE/Java desktop, not when logging in. Any ideas?

  • Imqsvcadmin.exe does not display GUI under Windows XP

    I installed 4.3 on Windows XP. I want to start IMQ as service. When I try to run imqsvcadmin.exe it shows up in Task Manager but does not display a GUI

    Hi,
    We can file a bug but we will need more information.
    Please send us the exact imqsvcadmin command you used,
    the invalid file it created and its location, and the exact steps
    you used to clean it up and get it to work in the end. Thanks.

  • Third party apps will not display pictures upon OS upgrade

    Hi
    I recently upgraded my 8520 to OS 5 and I've noticed that my Time Mobile App and Viigo will not display pictures in the articles or news feeds anymore. I've tried the apps support but no luck.
    Is there a possible solution for this?

    I don't know about Time Mobile, but I noticed that Viigo started having some issues with displaying photos correctly a while back after an OS update as well.  One suggestion you can try is to simply do a battery pull - while the phone is on, remove the battery for 15-30 seconds and reinsert.  After the phone has rebooted, see if you have any better luck.
    Now then, Viigo is still intermittent for me - some feeds load pictures no problem, while others have a lot of issues (or simply don't load pictures period).  My guess is that there is something that changed slightly in the OS update that is influencing how pictures are downloaded from the internet and to these apps.  Unfortunately there is little that can be done though unless the developer(s) update their apps as well.
    If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
    If your issue is resolved, don't forget to click the Solution button on the resolution!

  • Object Manager running but will not display

    Hi I was wandering if anyone can help
    I'm running TTA Enterprise 3.40.911 on SuSe Linx 8 enterprise server.
    Intel Linux Kernal 2.4+
    The problem I'm having is that I�m having problems displaying the object
    manager.
    The web top show that it is running but I'm not getting a display. I have
    tried from a client pc and from the server itself.
    I have also tried using the native client, this has the same problem.
    Any ideas?
    Thanks in advance
    Dal

    after making changes to SSH config, you need to restart sshd.
    Also see if disabling Xsecurity on the EE server helps.
         $ tarantella config edit --security-xsecurity 0
    Regards,
    Dal wrote:
    Thanks but no joy, I downloaded openssh and changed the x app to yes in
    the config. Still no joy in displaying the object manager, or any other
    webtop application.
    I've managed to catch the error if this is any help.
    ./.././bin/bin/ttaxset: unable to open display ""
    Exception in thread "main" java.lang.InternalError: Can't connect to X11
    window server using ':0.0' as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at
    sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
         at java.awt.Window.init(Window.java:231)
         at java.awt.Window.<init>(Window.java:275)
         at java.awt.Frame.<init>(Frame.java:401)
         at java.awt.Frame.<init>(Frame.java:366)
         at javax.swing.JFrame.<init>(JFrame.java:154)
         at
    com.sco.tta.admin.gui.RunAdminGui$AdminFrame.<init>(RunAdminGui.java:260)
         at com.sco.tta.admin.gui.RunAdminGui.<clinit>(RunAdminGui.java:68)
    Connection to pcms-tta2.local closed.
    Regards
    Dal
    David wrote:
    Dal,
    Try this:
    http://www.tarantella.com/support/documentation/sgd/ee/3.42/help/en-us/base/gettingstarted/ssh_install.html
    Regards,
    David
    "Dal Sandhu" <[email protected]> wrote in message
    news:[email protected]...
    Hi I was wandering if anyone can help
    I'm running TTA Enterprise 3.40.911 on SuSe Linx 8 enterprise server.
    Intel Linux Kernal 2.4+
    The problem I'm having is that I'm having problems displaying the object
    manager.
    The web top show that it is running but I'm not getting a display. I have
    tried from a client pc and from the server itself.
    I have also tried using the native client, this has the same problem.
    Any ideas?
    Thanks in advance
    Dal

  • JApplet Form NOT Displayed on Web Page

    It is my JApplet code (that has been solved in this forum; refer to my previous Q) that is being successfully deployed, started, however, does not display the expected GUI (which is being displayed fine if is run as an Applet).
    The error message displayed in "Java Console" is below.
    java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(Unknown Source)
        at xmlAnalyticsPackage.XMLAnalysisToolBuilder.init(XMLAnalysisToolBuilder.java:36)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.shell.Win32ShellFolder2$ComTaskExecutor
        at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Unknown Source)
        at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Unknown Source)
        at sun.awt.shell.Win32ShellFolder2.composePathForCsidl(Unknown Source)
        at sun.awt.shell.Win32ShellFolder2.<init>(Unknown Source)
        at sun.awt.shell.Win32ShellFolderManager2.getDesktop(Unknown Source)
        at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source)
        at sun.awt.shell.ShellFolder.get(Unknown Source)
        at javax.swing.filechooser.FileSystemView.getRoots(Unknown Source)
        at javax.swing.plaf.metal.MetalFileChooserUI.updateUseShellFolder(Unknown Source)
        at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(Unknown Source)
        at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
        at javax.swing.plaf.metal.MetalFileChooserUI.installUI(Unknown Source)
        at javax.swing.JComponent.setUI(Unknown Source)
        at javax.swing.JFileChooser.updateUI(Unknown Source)
        at javax.swing.JFileChooser.setup(Unknown Source)
        at javax.swing.JFileChooser.<init>(Unknown Source)
        at javax.swing.JFileChooser.<init>(Unknown Source)
        at xmlAnalyticsPackage.XMLAnalysisToolBuilder.initComponents(XMLAnalysisToolBuilder.java:63)
        at xmlAnalyticsPackage.XMLAnalysisToolBuilder.access$000(XMLAnalysisToolBuilder.java:30)
        at xmlAnalyticsPackage.XMLAnalysisToolBuilder$1.run(XMLAnalysisToolBuilder.java:38)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(Unknown Source)
        at xmlAnalyticsPackage.XMLAnalysisToolBuilder.init(XMLAnalysisToolBuilder.java:36)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.shell.Win32ShellFolder2$ComTaskExecutor
        at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Unknown Source)
        at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Unknown Source)
        at sun.awt.shell.Win32ShellFolder2.composePathForCsidl(Unknown Source)
        at sun.awt.shell.Win32ShellFolder2.<init>(Unknown Source)
        at sun.awt.shell.Win32ShellFolderManager2.getDesktop(Unknown Source)
        at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source)
        at sun.awt.shell.ShellFolder.get(Unknown Source)
        at javax.swing.filechooser.FileSystemView.getRoots(Unknown Source)
        at javax.swing.plaf.metal.MetalFileChooserUI.updateUseShellFolder(Unknown Source)
        at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(Unknown Source)
        at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
        at javax.swing.plaf.metal.MetalFileChooserUI.installUI(Unknown Source)
        at javax.swing.JComponent.setUI(Unknown Source)
        at javax.swing.JFileChooser.updateUI(Unknown Source)
        at javax.swing.JFileChooser.setup(Unknown Source)
        at javax.swing.JFileChooser.<init>(Unknown Source)
        at javax.swing.JFileChooser.<init>(Unknown Source)
        at xmlAnalyticsPackage.XMLAnalysisToolBuilder.initComponents(XMLAnalysisToolBuilder.java:63)
        at xmlAnalyticsPackage.XMLAnalysisToolBuilder.access$000(XMLAnalysisToolBuilder.java:30)
        at xmlAnalyticsPackage.XMLAnalysisToolBuilder$1.run(XMLAnalysisToolBuilder.java:38)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)Please help on this.
    Nilanjan

    May be this bug has to do with you:
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6544857]

  • OID can not display some users - java.lang.ArrayIndexOutOfBoundsException:0

    We have set up AD to OID synchronization for users and groups using Import connector, and it worked fine. The users in OID can log into applications protected by OAM. But recently I found that some users that could be displayed in OID before can not be displayed now. If I click on the DN in Oracle Directory Manager, a error window pops up. It is a long error message, and the first a few lines are as follows :
    0
    java.lang.ArrayIndexOutOfBoundsException:0
    at oracle.ldap.admin.AttrOptions.<init>(entry.jave:3151)
    at Oracle.ldap.admin.Entry.getProp(entry.java:457)
    I don't see any error message in the integration profile or log files. I am testing things on an account that is having this trouble, and the strange thing is that it can not log into application protected by OAM any more, but it can log into OAM console.
    We use OID 10.1.2.3 on Windows, and OAM 10.1.4.0.1.
    I searched in Metalink but didn't find anything helpful. Any help is appreciated. Thanks for your time.
    Hailie

    Pramod,
    Thank you for your reply. Please see below my answers to your questions:
    -> Do you see any pattern in the users (DN) that are unable to be displayed/login?
    Yes I do see some pattern. There is one change on the problem user's dn - the "\" after the last name is gone.
    Before: cn=smith\, john, cn=users,dc=abc,dc=com
    Now: cn=smith, john, cn=users,dc=abc,dc=com
    However I check in Active directory "\" is presented. In OID if I right click on cn=smith, john and try to delete it, I got a error message "LDAP: error code 34 - Error in DN Normalization". Is that caused by the missing of "\"?
    -> Does ldapsearch on these users (with all attributes) show something (special chars, etc)?
    ldapsearch on cn=cn=smith, john,cn=users,dc=abc,dc=com returns no objects:
    $ldapsearch -L -D "cn=orcladmin" -w "*****" -h host -p 389 -b "cn=smith, john,cn=users,dc=abc,dc=com" -s sub "objectclass=*"
    ldap_search: No such object
    ldap_search: matched: cn=Users, dc=abc,dc=com
    Ldap search on cn=smith\, john,cn=users,dc=abc,dc=com:
    $ldapsearch -L -D "cn=orcladmin" -w "*****" -h host -p 389 -b "cn=smith\, john,cn=users,dc=abc,dc=com" -s sub "objectclass=*"
    dn: cn="smith, john",cn=users,dc=abc,dc=com
    uid: [email protected]
    employeenumber: 916963
    cn: smith, john
    registeredaddress: 512
    krbprincipalname: [email protected]
    orclsamaccountname: ABC.COM$JSmith
    sn: johnsmith
    displayname: John
    orclobjectguid: lJO0N+8H4UW/30yHukSfsw==
    orclobjectsid: AQUAAAAAAAUVAAAAohxTYWIV3XFeP55cYjwAAA==
    orcluserprincipalname: [email protected]
    objectclass: oblixorgperson
    objectclass: inetorgperson
    objectclass: orcluserv2
    objectclass: person
    objectclass: orcladuser
    objectclass: organizationalPerson
    objectclass: top
    obver: 10.1.4.0
    -> Do you see the same behavior when you use any generic LDAP browser (Ex: Apache Directory Studio) instead of ODM?
    I don't have Apache Directory Studio installed yet. I will try that later.
    -> Does the changelog for the particular synch (for the affected users) show something?
    Here is what I found in ActiveChgImp.aud
    (weeks ago)
    97426524 : Success : MODIFY : cn=smith\, john,cn=users,dc=abc,dc=com
    (Recently change - The back slach after smith was gone, and "" showed up)
    97469970 : Success : MODIFY : cn="smith, john",cn=users,dc=abc,dc=com
    -> If login to OAM is possible, can the user modify his/her profile, and does it save the changes? If it does, can you try logging in to apps?
    This user can log into OAM identity system, but when I click on "My profile" under "User manager", I got a error message "You do not have sufficient access rights".
    If I log into identity system as orcladmin, I was able to modify it and save the changes. But in OID the user is still not displayed. Same error message. When I tried to add it as administrator, I could search on it, add it, but when I press "done", it didn't show up on the admin list. The users that can be displayed in OID can be added to admin list without a problem.
    Thanks,
    Hailie

  • Can not display Connection dialog.

    Hi There,
    Verry strange what happen.
    My Sqldeveloper stop working for an unknown raison.
    I could not see my connections, got stranger error When I try to create an Sql Sheet
    java.lang.NullPointerException
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.listConnections(ConnectionPanelUI.java:426)
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.resetConnections(ConnectionPanelUI.java:440)
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.<init>(ConnectionPanelUI.java:120)
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.<init>(ConnectionPanelUI.java:101)
         at oracle.dbtools.raptor.controls.ConnectionSelectorUI.<init>(ConnectionSelectorUI.java:36)
         at oracle.dbtools.raptor.controls.ConnectionSelectorUI.getConnection(ConnectionSelectorUI.java:59)
         at oracle.dbtools.raptor.controls.ConnectionSelectorUI.getConnection(ConnectionSelectorUI.java:42)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorWizard.invoke(SqlEditorWizard.java:108)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:317)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorAddin$2.actionPerformed(SqlEditorAddin.java:248)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    I have try to downlod the latest version but I am getting the same error.
    When I try to see parameters in the preference dialog, the righ pane of the preference screen it not changing when I select other options.
    I am a litle bit lost...
    This is installed on Windows Server 2008 R2. What is strange is that the problem occurs only with the administrator user and not with an other user who is also member of the administrators group.
    Many thank for your help
    Jko
    Edited by: JkoFr on 4 avr. 2010 06:24

    When I click on View > Connections, Raptor does not do anything.
    My coworker system has Windows 2000 and the same version of java. Beside that, there are so many other variables. I am not sure what to look for. Could you please give me more information on what to look for?
    When I open Raptor, it does not display Connection Tab by default.
    When I run Raptor from C:\Program Files\raptor\jdev\bin\raptor.exe, I get this output. Does it look normal?
    AWT Tree Lock Assert enabled
    java.lang.NullPointerException
    at oracle.ideimpl.docking.DockStationImpl.stateChanged(DockStationImpl.j
    ava:1854)
    at oracle.ideimpl.docking.DockStationImpl.initialize(DockStationImpl.jav
    a:258)
    at oracle.ide.IdeCore.initializeModules(IdeCore.java:1417)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1198)
    at oracle.ide.Ide.startup(Ide.java:672)
    at oracle.ideimpl.Main.start(Main.java:49)
    at oracle.ideimpl.Main.main(Main.java:25)
    Assert: Unknown Node:8: item type="PROCEDURE" reloadparent="true">
    <title>Rename</title>
    <prompt><label>New_Procedure_Name</label></prompt>
    <sql><![CDATA[rename "#OBJECT_NAME#" to #0#]]></sql>
    <help>Renames the selected procedure.</help>
    <confirmation>
    <title>Confirmation</title>
    <prompt>Procedure "#OBJECT_NAME#" has been renamed to #0#</prompt>
    </confirmation>
    </item
    Initializing.. [email protected]
    Assert: SQLView inited
    Thank for all your help.

Maybe you are looking for

  • Blackberry 8310 PLEASE HELP ME?!?!?

    please help me, i have a bb 8310 and when i put my sim in it, it says it has signal and looks fine, but i caant make or recieve a call and i cant send or rexieve texts... i've tried unlocking it and thats not the issue because it accepts my sim.. the

  • Rescue and Recovery backup with external hard drive

    When I first backed up my computer to my WD 1 tb external hard drive using R&R, boot files were placed on the drive.  Recently, some files I had corrupted my external hard drive and I had to fully erase it.  Now, after making the drive recognizable a

  • InDesign CS3 crashing in Mac 10.6.8

    As suggested by John Hawkinson in the InDesign CS3 crashes when printing in OSX Lion thread I've started a new discussion for this. I'm running Snow Leopard - 10.6.8. I would like to upgrade to Lion but until I can confirm CS3 is all working I'd rath

  • Upgraded from hp f2400 to oficejet 6600/6700 how to use HP solution center with new equipment?

    I was using the HP F2400 all-in-one copier.  I just upgraded to the HP OfficeJet 6600/6700 all-in-one.  I want to upgrade the HP Solution Center or install another Solution Center for my new copier.  How can I make this happen.  My operating system i

  • Can I write Plsql in...

    Hi Can I write PLSQL Code in Interactive Report --->> Region Source? Else Anyother way, Pls give some idea.. Thanks Renga CTS