Focus issue with CardLayout (Java 2 SDK, Standard Edition 1.4.0_01)

I am having an issue with focus and CardLayout with Java 2 SDK, Standard Edition 1.4.0_01. I have created a small sample application to illustrate my problem. In general, I am trying to create a "Wizard" that the user will enter information and then press a "Next" button to proceed to the next step.
When the first card is displayed, the focus is on the first text field as expected.
When I go to the next card by clicking "Next", the focus is not on the text field that has requested it (through the requestFocusInWindow method). The focus is on the "Cancel" button, which is the next component to receive focus after the "Next" button on that panel. I do notice that if I use my mouse to bring focus to the window the text field will gain focus.
Similarly, when I proceed to the last card, the focus is not on the "Finish" button until the mouse moves over the window.
Is there something I am doing wrong or is there a bug with focus and CardLayout?
One other problem I have noticed is that the buttons no longer respond to the "Enter" key press and instead respond to the space bar. Any suggestions as to why this is the case?
Thanks,
S.L.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class CardWindow extends JFrame implements ActionListener {
public CardWindow() {       
setTitle("Focus Problems with CardLayout");
setDefaultCloseOperation(EXIT_ON_CLOSE);
cards = new JPanel();
cardLayout = new CardLayout();
cards.setLayout(cardLayout);
cards.add(createFirstNamePanel(), "FirstNamePanel");
cards.add(createLastNamePanel(), "LastNamePanel");
cards.add(createFullNamePanel(), "FullNamePanel");
getContentPane().add(cards,BorderLayout.CENTER);
getContentPane().add(createButtonPanel(), BorderLayout.SOUTH);
resetButtonPanel();
pack();
private JPanel createFirstNamePanel() {
JPanel panel = new JPanel();
JLabel lblDescriptionProjectName = new JLabel("Please enter your first name:");
txtFirstName = new JTextField(20);
panel.add(lblDescriptionProjectName);
panel.add(txtFirstName);
return panel;
private JPanel createLastNamePanel() {
JPanel panel = new JPanel();
JLabel lblDescriptionProjectName = new JLabel("Please enter your last name:");
txtLastName = new JTextField(20);
panel.add(lblDescriptionProjectName);
panel.add(txtLastName);
return panel;
private JPanel createFullNamePanel(){
JPanel panel = new JPanel();
lblFullName = new JLabel();
resetTextOnFullNamePanel();
panel.add(lblFullName);
return panel;
private JPanel createButtonPanel() {
buttonPanel = new JPanel();
btnPrevious = new JButton("< " + "Back");
btnPrevious.setMnemonic('B');
btnPrevious.addActionListener(this);
btnNext = new JButton("Next" + " >");
btnNext.setMnemonic('N');
btnNext.addActionListener(this);
btnCancel = new JButton("Cancel");
btnCancel.setMnemonic('C');
btnCancel.addActionListener(this);
btnFinish = new JButton("Finish");
btnFinish.setMnemonic('F');
btnFinish.addActionListener(this);
buttonPanel.add(btnPrevious);
buttonPanel.add(btnNext);
buttonPanel.add(btnCancel);
buttonPanel.add(btnFinish);
return buttonPanel;
private void resetTextOnFullNamePanel(){
lblFullName.setText("Your name is: " + getFirstName() + " " + getLastName());
private void resetButtonPanel(){
Component c[] = buttonPanel.getComponents();
for(int i = 0; i < c.length; i++){
c.setVisible(false);
switch(iWizardStep){
case FIRSTNAMEPANEL:
btnPrevious.setVisible(true);
btnNext.setVisible(true);
btnCancel.setVisible(true);
break;
case LASTNAMEPANEL:
btnPrevious.setVisible(true);
btnNext.setVisible(true);
btnCancel.setVisible(true);
break;
case FULLNAMEPANEL:
btnFinish.setVisible(true);
break;
buttonPanel.validate();
public void actionPerformed(ActionEvent e) {
Object object = e.getSource();
if (object == btnNext) {           
btnNextPressed();
} else if (object == btnPrevious) {           
btnPreviousPressed();
} else if (object == btnFinish) {
System.exit(0);
} else if (object == btnCancel) {
System.exit(0);
private void btnNextPressed() {       
switch (iWizardStep) {
case FIRSTNAMEPANEL:
setFirstName(txtFirstName.getText());
break;
case LASTNAMEPANEL:
setLastName(txtLastName.getText());
resetTextOnFullNamePanel();
break;
iWizardStep++;
resetButtonPanel();
this.cardLayout.next(this.cards);
switch (iWizardStep) {             
case LASTNAMEPANEL:
txtLastName.requestFocusInWindow();
break;
case FULLNAMEPANEL:
btnFinish.requestFocusInWindow();
break;
private void btnPreviousPressed() {
iWizardStep--;
resetButtonPanel();
this.cardLayout.previous(this.cards);
public void setFirstName(String value) {
firstName = value;
public String getFirstName() {
return firstName;
public void setLastName(String value) {
lastName = value;
public String getLastName() {
return lastName;
public static void main (String[] args) {
CardWindow c = new CardWindow();
c.show();
private CardLayout cardLayout;
private JPanel cards, buttonPanel;
private JTextField txtLastName, txtFirstName;
private JLabel lblFullName;
private JButton btnNext, btnPrevious, btnCancel, btnFinish;
private String firstName = "";
private String lastName = "";
private int iWizardStep = 0;
private static final int FIRSTNAMEPANEL = 0;
private static final int LASTNAMEPANEL = 1;
private static final int FULLNAMEPANEL = 2;

Manfred,
Thanks for your reply. I tried requestFocus() and it gives the same results. Also Sun's 1.4.0 API (http://java.sun.com/j2se/1.4/docs/api/) mentions the following with respect to the requestFocus() method in the JComponent class:
Because the focus behavior of this method is platform-dependent, developers are strongly encouraged to use requestFocusInWindow when possible.
That is why I used requestFocusInWindow.
S.L.

Similar Messages

  • Java 2 SDK, Standard Edition v. 1.4

    how do u completely install this version, just so i could get javac running cause its not running when i type it command prompt. i have win2k pro, and im very new with computers

    Once you download the software, install (extract) it to a local directory and then set the PATH and CLASSPATH variables.
    If you donot set the path variable, your system will not recognize javac or java commands
    To set the Path variable:
    1.right click on "My Computer" on your desktop and then click on properties.
    2. select the advanced tab
    3. click on the "Environment Variables" button.
    4. under "System variables" scroll down and select PATH and click edit.
    5. at the end ( or begning) add c:\<java installation root directory>\bin;c:\<java installation root directory>\lib;
    6. click on and then ok.
    This will make your system recognize teh javac and java commands.
    To add the class path click on "New" under System Variables" and then add the following
    Variable Name : CLASSPATH
    Variable Value : c:\j2sdk1.4.1\lib\dt.jar;c:\j2sdk1.4.1\lib\htmlconverter.jar;c:\j2sdk1.4.1\lib\tools.jar;c:\j2sdk1.4.1\src.zip;
    I installed java into j2sdk1.4.1 directory , if your directory name is different, change it. Also if you donot have src.zip and intsead you have src.jar change it in the above CLASSPATH
    Venkat

  • JDK issues with Windows Server 2003 SP2 Standard Edition

    Hi,
    We are running an ETL (Extracts-Transform-Load) Jar file which reads data from MS Commerce Server 2002, AS400 and SQL Server 2000 database and populates a SQL Server 2000 database. The jar was running fine on Windows Server 2000 but started to stall when we are running it from our newly acquired Windows Server 2003 SP2 server class machine. The JDK version is 1.4 on Windows 2000 and 1.6 on Windows Server 2003. Interestingly, the jar is running fine via JDK 1.6 on another Windows Server 2003 dev machine.
    The jar does not throw any error and we have to manually shutdown the execution of the jar.
    Can anyone please suggest some solutions here?
    Thank you!

    Um, does this have anything to do with JavaMail? If not, you might try a more appropriate forum.

  • Focus issues with Qt on MacOSX

    Hi
    I'm developing a plugin which targets CS3, 4, 5 and 6. I choose Qt because of the deprecation of ADM. This plugin works well on Windows for each version of Illustrator. Now I"m testing it on MacOS X, I have some focus issues with all version of Illustrator.
    For CS3, 4 and 5 I use the Carbon version of Qt and for CS6 I use the Cocoa version.
    My main problem is when a widget (Qt GUI element) has the focus and if I press the backspace of the keyboard  to replace the current value, the current selected object in the document is deleted.
    Moreover if I try to change the location of an object using the Controls tool bar of Illustrator, the value of the widget changes.
    Did anyone encounter this kind of problems and solve them ?

    Note that "AI Servo" focus has difference from "One Shot" focus mode with respect to what it does when you press the shutter button.
    In "One Shot" mode, the camera uses "Focus Priority".  This means the camera will NOT take a shot if the lens is in auto-focus mode UNTIL it can confirm that it was able to achieve focus on your selected AF point (or on one AF point if you allow it to auto-select the AF point.)  In short:  achieving focus is more important than taking the shot at the exact moment you press the button.  Hence "focus priority"
    In "AI Servo" mode, the camera uses "Release Priority".  This means that when you completely press the shutter button, the camera WILL take the shot immediately and it will do this whether it has had enough time to achieve focus... or not.    In short: capturing the shot at the exact moment you press the shutter button is more important than achieving focus.   Hence "release priority."
    If you quickly press the shutter button to get a shot, the camera is going to shoot first and worry about focus later.  You've got to half-press the shutter to let the camera achieve focus before you fully-press the button.
    Tim Campbell
    5D II, 5D III, 60Da

  • RC4 and JavaTM 2 SDK, Standard Edition , v1.4

    Hello,
    I am new to Java Cryptography and wanted to find out if the new
    JavaTM 2 SDK, Standard Edition , v1.4 includes the 128 bit RC4 algorithm or do we need to download the RSA Security, Inc. JCE 1.2.1 compliant provider?
    Need information fast! Thanks.

    yes but it's really JCE 1.2.2 in v1.4
    http://java.sun.com/products/jce/index-14.html

  • How do I search the downloaded Java? Platform, Standard Edition 6 API?

    I am a newbie to Java (I had done some limited programming in C ++ years ago). I have downloaded the Java? Platform, Standard Edition 6 API Specification, and can view this in my Firefox browser. How can I search to certain classes in this documentation easily? For instance, if I want to ding out all of the operations available for String or System.out, etc, , is there a way that I can type in System.out, or String somewhere, and get a list of what is available?
    Thanks

    Brian_Rohan wrote:
    Here is the code that I compiled and it worked:Yeah, "args" there isn't part of the API. It's the name of the variable that is the first parameter to the main method defined there.
    The stuff between the parentheses is a list of declarations of local variables that form the parameter list to that method, to put it technically.
    The thing that's part of the API is the class String. In "String[] args", the bit on the left is the type of the variable, and the bit on the right is name of the variable. A name of something you define like that wouldn't be in the API. However, the name of the class String is.
    If you look at the import statements, you'll see if the name "String" is actually shorthand for a class defined elsewhere. There's this:
    import java.util.*;So you can know that "String" is either defined in the java.util package, in the "helloworld" package (which also wouldn't be in the API because you're defining in there using the package keyword), or in java.lang. (The "java.lang" package is automatically imported.)
    You could look in the API docs for java.util.String or java.lang.String to find the class definition. But I'll save you the time by letting you know that it's actually java.lang.String.
    Again I am new at this, what would args.length be?You'll see that the type of the "args" variable is "String[]". That means that it's an array of String objects. (The [] means arrays.) Arrays all have a field called "length". This also is part of the language, not the API, so it would be in a language guide, not the API.
    The value of args.length would depend on how you ran your program. When you run a program on the command line like this:
    java HelloWorldor this:
    java HelloWorld foo bar bazThe java virtual machine takes all the things after the class name and sticks them in an array of String. Then it looks for a static method named "main" in the HelloWorld class, and passes it that array. So in the first case above, args.length would be zero, and in the second case it would be three.
    By the way, when you post code, please wrap it in code tags. Highlight it, then click the "CODE" button above the text input box.
    Edited by: paulcw on Nov 4, 2009 6:35 PM

  • Unable to install Java 2 Platform Standard Edition Development Kit 1.4.2_11

    I am unable to install Java 2 Platform Standard Edition Development Kit 1.4.2_11 and NetBeans IDE 5.0 on Windows 98. I get the following message:
    Java 2 Platform Standard Edition Development Kit 1.4.2_11 cannot be installed on your computer because current account does not have sufficient privileges.
    I am trying to install at home, no network, and as far as I can tell, there is no way to give yourself "administrative privileges". Is Windows 98 not supported anymore?

    98SE is supported. See configuration requirements for the various versions.
    Try downloading Java and installing it, then go to the NetBeans site and downloading it and installing separately.

  • Will Java 2 SDK, Enterprise Edition 1.3.1 run on Windows 98?

    Will Java 2 SDK, Enterprise Edition 1.3.1 run on Windows 98?
    If so, would I still need to download Apache Tomcat?
    I'm trying to setup my desktop (currently running Windows 98) to test
    servlets and JSP's. What software should I download?
    Thanks

    I have a Windows 98 system. I just downloaded the j2se from the net and installed. Everything worked just fine.
    I did not install Tomcat.

  • Installing JavaTM 2 SDK, Standard Edition, v 1.4 Beta 3 (SDK) on a Mac

    I have downloaded JavaTM 2 SDK, Standard Edition, v 1.4 Beta 3 (SDK) for Linux [I hope that's the correct version for a Mac] about 5 times, but each time, I can't open the file, athough the file's size shows that it did download. Help!

    I have downloaded JavaTM 2 SDK, Standard Edition, v
    1.4 Beta 3 (SDK) for Linux [I hope that's the correct
    version for a Mac] about 5 times, but each time, I
    can't open the file, athough the file's size shows
    that it did download. Help!It is not the correct version. That is for Intel Linux systems. You need to wait until Apple or someone ports 1.4 to the Apple OS X.
    Chuck

  • Issue with the Receiving Transaction Processor Standard Program

    We are facing issue in the Receiving Transaction Processor Standard Program.
    The error description is as below:
    RVTII-030: Subroutine rvtiicreate() returned error
    Cause: Subroutine rvtiicreate() returned an internal error.
    Action: Note this error number and the actions you are trying to perform. Contact your system administrator.
    RVTII-077: ORA-01476: divisor is equal to zero
    Cause: A SQL error has occurred in RVTII. The SQL error is &LSQL_ERR.
    if any once faced this issue earlier and any solution, Please let us know.
    Regards,
    Krishna

    Please see if these docs help.
    RMA Receipt Errors With RVTII:077 OE COGS API Returned Error Warehouse NULL [ID 301767.1]
    RCVRCERC: RVTII-077: ORA-0146: divisor is equal to zero [ID 1287907.1]
    Cost Of Goods Sold Account Generation Failed With Error [ID 406035.1]
    RMA Transaction Issues (Troubleshooting) [ID 311208.1]
    Thanks,
    Hussein

  • Weblogic 8.1 compatibility with oracle database 10.2 standard edition.

    Hi,
    We need to use standard edition 10 g database for weblogic 8.1 . is it compatible with it?
    we are currently using enterprise edition.
    Thanks

    Please check following link
    http://docs.oracle.com/cd/E13196_01/platform/suppconfigs/configs81/81_over/supported_db.html#1143800
    My recommendation to upgrade to latest versions.

  • Java Dialog focus issue with Mac OS X 10.4 (Mac OS X 10.3 is fine)

    Hi,
    I am trying this sample applet on 2 different Mac OS X's
    1) Mac OS X 10.3.9
    Safari 1.3.2 (v312.6)
    JVM - 1.4.2_09
    Here whenever the Browser, running the Applet comes on Top, the
    Dialog also comes on Top i.e. if the dialog is hidden behind some window
    & I click on the browser running the applet, the Dialog(showing "Hello",
    "OK")
    also becomes uncovered/visible.
    2) Mac OS X 10.4.5
    Safari 2.0.3 (v417.8)
    JVM - 1.4.2_09
    Here clicking on the Browser doesn't make the Dialog Visible.
    As per the Java Docs, I think the Behaviour on OS X 10.3.9 is the
    correct behaviour.
    Is there a way to have that behaviour on OS X 10.4 - any workarounds,
    anything I can do so that the dialog doesn't get hidden.
    I cannot make the dialog modal.
    Given below is the Applet source.
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.Applet;
    public class MyTest extends Applet implements ActionListener {
    private Button b;
    private Dialog myDialog;
    public void init() {
    b = new Button("Press me");
    b.addActionListener(this);
    add(b);
    show();
    private Frame findFrame(Component c) {
    for (; c != null; c = c.getParent()) {
    if (c instanceof Frame) return (Frame) c;
    return null;
    public void actionPerformed(ActionEvent e) {
    if ( e.getSource() == b ) {
    showDlg();
    public void showDlg()
    if(myDialog == null) {
    // Set The Applet as owner
    Frame f = findFrame(this);
    if(f != null) {
    System.out.println("Found Frame");
    myDialog = new Dialog(f, false);
    myDialog.add(new Label("Hello ") , BorderLayout.NORTH);
    myDialog.add(new Button("OK"), BorderLayout.SOUTH);
    myDialog.pack();
    myDialog.show();
    Mac Mini   Mac OS X (10.4.6)  

    I used SBC DSL for a bit with my eMac on Panther without a hitch.
    It is not that the service will not work, but their bundled software will not - not that you need it anyway.

  • Issue with Sun Java Web Proxy Server

    I am using Sun Java Web Proxy Server to test my webservice in https mode.(SSL mode).When i test the webservice in http mode,its working fine,but when I test it in SSL mode ,it is giving the following error:
    Unable to tunnel through localhost:8082. Proxy returns "HTTP/1.1 403 Proxy denies fulfilling the request"
    When I am requesting the webservice using the following parameters:
    a)-Dcom.yodlee.soap.services.url=https://localhost:1080/yodsoap/services
    b)-Dyodlee.sdk.https.proxyHost=localhost
    c)-Dyodlee.sdk.https.proxyPort=8082
    d)-Dcom.yodlee.soap.client.http11Enabled=1
    this parameters is used to set the client http connection to HTTP1.1 by setting the HTTP_TRANSPORT_VERSION.
    Detailed error message is as follows:
    Caused by: java.io.IOException: Unable to tunnel through localhost:8082. Proxy returns "HTTP/1.1 403 Proxy denies fulfilling the request"
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2492)
         at org.apache.axis.client.Call.invoke(Call.java:2481)
         at org.apache.axis.client.Call.invoke(Call.java:2176)
         at org.apache.axis.client.Call.invoke(Call.java:2099)
         at org.apache.axis.client.Call.invoke(Call.java:1622)
         at com.yodlee.soap.core.login.CobrandLoginSoapBindingStub.loginCobrand(CobrandLoginSoapBindingStub.java:225)
         at com.yodlee.soap.core.login.CobrandLoginSoapClientProxy.loginCobrand(CobrandLoginSoapClientProxy.java:119)
         ... 1 more
    Caused by: java.io.IOException: Unable to tunnel through localhost:8082. Proxy returns "HTTP/1.1 403 Proxy denies fulfilling the request"
         at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:197)
         at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
         ... 12 more
    This error message shows that its not able to get the socket connection to the server.Can anyone tell me the reason of it.
    If you need any more info do let me know.
    Regards,
    Somendra

    First of all, is there a reason why you are using jRockit?
    Since the issue appeared after upgrading the windows, the issue would potentially be in the interaction between JVM and OS.
    Also, there were some issues related to memory leak that were fixed in AS 8.2.
    May be you should try with a Sun JVM and AS 8.2.

  • Issue with launching Java Program - Java Library Problem?

    I hope this is the right forum, I apologize if it isn't. I am having issues launching a program for a video game that uses java. One of the devs told me to post my issue here, as he doesn't know how much more help he can give with this issue. Using the java -jar command, this is the printout I get:
    Microsoft Windows [Version 6.0.6002]
    Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
    C:\Users\vecdran>java -version
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
    C:\Users\vecdran>chdir C:\Games\Steam\Steamapps\common\Crysis\mods\mwll\actionma
    pper\dist
    C:\Games\Steam\steamapps\common\crysis\Mods\mwll\Actionmapper\dist>java -jar Act
    ionmapper.jar
    Jun 18, 2010 2:25:19 PM org.jdesktop.application.Application$1 run
    *SEVERE: Application class mwllactionmapper.MWLLActionmapperApp failed to launch*
    *java.lang.NullPointerException*
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFo
    lder(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponent
    s(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknow
    n 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 mwllactionmapper.model.ActionmapsFileModel.getMWLLDocumentsFolder(Act
    ionmapsFileModel.java:141)
    at mwllactionmapper.model.ActionmapsFileModel.getMWLLProfiles(Actionmaps
    FileModel.java:160)
    at mwllactionmapper.MWLLActionmapperView.doSelectProfile(MWLLActionmappe
    rView.java:603)
    at mwllactionmapper.MWLLActionmapperView.<init>(MWLLActionmapperView.jav
    a:75)
    at mwllactionmapper.MWLLActionmapperApp.startup(MWLLActionmapperApp.java
    :21)
    at org.jdesktop.application.Application$1.run(Application.java:171)
    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)
    Exception in thread "AWT-EventQueue-0" java.lang.Error: Application class mwllac
    tionmapper.MWLLActionmapperApp failed to launch
    at org.jdesktop.application.Application$1.run(Application.java:177)
    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)
    Caused by: java.lang.NullPointerException
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFo
    lder(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponent
    s(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknow
    n 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 mwllactionmapper.model.ActionmapsFileModel.getMWLLDocumentsFolder(Act
    ionmapsFileModel.java:141)
    at mwllactionmapper.model.ActionmapsFileModel.getMWLLProfiles(Actionmaps
    FileModel.java:160)
    at mwllactionmapper.MWLLActionmapperView.doSelectProfile(MWLLActionmappe
    rView.java:603)
    at mwllactionmapper.MWLLActionmapperView.<init>(MWLLActionmapperView.jav
    a:75)
    at mwllactionmapper.MWLLActionmapperApp.startup(MWLLActionmapperApp.java
    :21)
    at org.jdesktop.application.Application$1.run(Application.java:171)
    ... 8 more
    C:\Games\Steam\steamapps\common\crysis\Mods\mwll\Actionmapper\dist>As you can see, my Java is completely up to date, and this is the only program I appear to have problems launching. I have no idea what to do from here. :(
    PS.
    I had to add the Java path to my System -> Environmental Variables -> Path variable, as it was not there from the start, and before adding it command prompt wouldn't recognize java commands. Don't know whether this indicates anything.
    Edited by: vecdran on Jun 20, 2010 11:23 AM

    [Bug ID 4711700|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4711700] is eerily similar to what you're experiencing. Although the bug was reported against an older version of the JDK the last comment provides a workaround to the problem that may be helpful. Good luck.

  • RDS Focus issue with Windows 8.1

    This is quite infuriating. I never post on here, so for me to be doing so, trust me, is basically as a last resort. I work for a s/w company, and we have two options w the app- local installation, or cloud, utilizing RDS. Our work database is (obviously)
    on the cloud, so I can firsthand feel our customers pain. 
    Once the RDS session is opened, whether its minimized or not, no matter what you are doing or where you're navigating, after so much time elapses, it steals focus, and i end up half the time inadvertantly overwriting customer info because the cursor shifts
    over, you get the idea. 
    I researched this for a LONG time. I cannot for the life of me find a fix. I changed the registry key for the foregroundlocktimeout to 30d40 hex, and still no love. Does anyone have ANY other suggestions? Its really making life difficult, but the conundrum
    is I HAVE to have it open at all times. Thoughts?

    I have exactly the same issue
    It has been the same since i installed Win 8.1. just to summarise - very simple
    When any Remote Desktop Services (RDS) is active it will assume focus every 60-90 seconds. ie
     reboot computer,
    launch browser,
    go to RDS URL an login,
    open ANY application (word, excel, Explorere, IE... any of 30 on the server) - so lets say Excel
    launch a local app - ANY - say IE, or word or explorer
    and within 1 minute while typing in Word - the RDS excel will be in focus and you will be typing into it...
    I concur with the OTownMarine above - all the basic fixes have been done, removing  KB2919355
    & KB2959977 - caused the same issue as described
    THis is not any other service or application except RDS
     - TAKING focus
    I do not want to do any more basic testing - but am happy
    to do checks or try things that are SPECIFIC to this issue as it is extremely frustrating. However having said this - it would take some one less than 15 mins to test when they apply their mind

Maybe you are looking for

  • Multiple id's and  just want one

    OH My Gosh!  I am starting to hate everything about apple ITunes out there.... Over the years I have had several Ipods and now an Ipad and I have a Mac PC I don't even use because everything having to do with my itunes is costing me a bundle and I ha

  • How to use different iViews for variables and queries?

    Hi all! I need to use separtate iViews for storing variables and extracting queries. For example, I have one variable "Currency" for two different queries,  and I need that all of these queries (in separate iViews) would use the value of currency was

  • Intel Imaging Not Working

    Hello All. I am using the System Image Utility and Netinstall to send out images, and have used it successfully in the past. (I tried NetRestore, but this was easier 2 steps). Anyway, recently I tried to reimage a lab, and the result was the image wa

  • Drag and drop Picasa Album Into Premiere Elements 10

    I tried to drag and drop videos from an album I made in Picasa into Premiere Elements.  No dice.  I tried to drag and drop files from windows explorer into Elements.  No dice.  I have 200 files from various folders all over my machine, assembled in a

  • URL Parameters in KM Search iView not accepting spacial characters

    I have created an iView that shows standard search. When accessing the search iView, I use an url.  To specify the search query, I add QueryString=[search query string] to the url. Problem is that if my search query contains the danish characters æ,