JRadioButton.setSelected(false) doesn't work?

Hey there. I usually answer questions in this forum but this time I have a question myself. I'm trying to de-select JRadioButtons in a ButtonGroup but it's not working. I've searched the forum but didn't find anything. Here's the very simple code:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class ButtonTest extends JFrame {
  JRadioButton rb1 = new JRadioButton("button1", true);
  JRadioButton rb2 = new JRadioButton("button2");
  ButtonGroup bgroup = new ButtonGroup();
  JButton b = new JButton("clear");
  ButtonTest() {
    b.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        clearbuttons();
    bgroup.add(rb1);
    bgroup.add(rb2);
    Container c = getContentPane();
    c.setLayout(new GridLayout(2,2));
    c.add(rb1);
    c.add(rb2);
    c.add(b);
    addWindowListener(new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
        System.exit(0);
  void clearbuttons() {
    Component [] components = getContentPane().getComponents();
    for (int i = 0; i < components.length; i++) {
      Component c = components[ i ];
System.out.println(c);
      if (c instanceof JRadioButton) {
        JRadioButton rb = (JRadioButton) c;
        rb.setSelected(false);  // once.
        bgroup.setSelected(rb.getModel(), false);  // twice.
System.out.println("\ncalled setSelected\n");
  public static void main (String[]a) {
    ButtonTest b = new ButtonTest();
    b.setSize(200,100);
    b.setVisible(true);
}Anybody know why the selected button remains selected?

The ButtonGroup ensures that one JRadioButton is always selected, at least after the first one is initially selected. The workaround to fix this is to add an additional "dummy" JRadioButton to the ButtonGroup, and have your code select it when you want to deselect the rest of the buttons. The dummy JRadioButton doesn't need to be added to the GUI or displayed, or anything.

Similar Messages

  • JRadioButton.setSelected( false ) ?

    First of all, I just read the thread "Secret source of answers to your problems...." and want to assure anyone reading this that I have been looking at the Java API all morning and I'm ready to rip this Java textbook into shreds.
    I have a homework assignment and while I am not asking anyone to do my homework for me, I have run up against a brick wall. I have two sets of JRadioButtons (using two ButtonGroups). I also have two JButtons - one of which I want to use to clear the form, including clearing the JRadioButton selections.
    According to the API - I should be able to set a radio button's "selected" to false. But it isn't working for me.
    Here is the snippet of code I am using in my ActionListener event handler for the Clear button. All of it works except for the setSelected method call:
    if ( event.getSource() == clearButton )
        tempField.setText( "" );            // clear text field
        inCelButton.setSelected( false );  // clear radio button
        inFahButton.setSelected( false );  // selections
        inKelButton.setSelected( false );  // inButton Group
        inCelButton.setVisible( true );    // set radio buttons
        inFahButton.setVisible( true );    // to visible
        inKelButton.setVisible( true );
        outCelButton.setSelected( false ); // clear radio button
        outFahButton.setSelected( false ); // selections
        outKelButton.setSelected( false ); // outButton Group
        outCelButton.setVisible( true );   // set radio buttons
        outFahButton.setVisible( true );   // to visible
        outKelButton.setVisible( true );
        results="";                        // clear results string
        resultsLabel.setText("");          // clear results label
    }TIA
    Sheryl McKenna

    It's not necessarily true that you have to have a button selected. It only works this way when you use a buttongroup. The buttongroup insists that one button be selected when all others are off. This is the API information (Which it sounds like you are already familiar with)
    "Initially, all buttons in the group are unselected. Once any button is selected, one button is always selected in the group. There is no way to turn a button programmatically to "off", in order to clear the button group. To give the appearance of "none selected", add an invisible radio button to the group and then programmatically select that button to turn off all the displayed radio buttons. For example, a normal button with the label "none" could be wired to select the invisible radio button."
    I just wrote a simple app to test this and it worked fine for me. The button group ensures you can't select multiple buttons. After you select one, all others are automatically de-selected. If you are really set on using a group of buttons, without the buttonGroup then I would add a panel, set the layout to null and then just add the buttons. Netbeans is a great way to test your UI without writing a lot of code and see the end results quickly. It's free and it's available at:
    http://www.netbeans.org.

  • SetVisible(false) doesn't work with JDialog

    Hi evry one in this forum, i am using JDialog to get some inputs from user, when the user click on the ok button, i start processing and the JDialog must be invisible, for that i use myJdialog.setVisible(false) methode, but the JDialog is still visible, i may be use the wrong component or there is a problem.
    I write some thing like this:
    actionPerformed(){
    //getinputs and make some controls
    if(test){
    this.setVisible(false);
    //some traitments
    //some traitments
    }I think there is no thing wrong, not? what happen?

    I am sorry, this is some thing complicated:
    public class OpenKeyStore
        extends JDialog
        implements ActionListener, KeyListener, WindowListener {
      JPanel jPanel1 = new JPanel();
      Border border1;
      JLabel lprivateKey = new JLabel();
      JLabel lkeyPass = new JLabel();
      JTextField tkeyStorePath = new JTextField();
      JPasswordField tkeyPass = new JPasswordField();
      JButton bvalidate = new JButton();
      JButton bopenKeyStore = new JButton();
      JButton breset = new JButton();
      GridBagLayout gridBagLayout1 = new GridBagLayout();
      JFileChooser jfc = new JFileChooser();
      JOptionPane jop = new JOptionPane();
      private UploadParameters uploadParameters;
      private OpenRequest openRequest;
      private OpenResponse openResponse;
      private CheckCertRequest checkCertRequest;
      private CheckCertResponse checkCertResponse;
      private WaitBox waitBox;
      UploadApplet uploadApplet;
      public OpenKeyStore(Frame frame, String title, boolean modal) {
        super(frame, title, modal);
        try {
          jbInit();
        catch (Exception ex) {
          ex.printStackTrace();
      public OpenKeyStore(UploadApplet uploadApplet) {
        this(null, "", false);
        this.uploadApplet = uploadApplet;
      private void jbInit() throws Exception {
        uploadParameters = new UploadParameters();
        border1 = new EtchedBorder(EtchedBorder.RAISED, Color.white,
                                   new Color(148, 145, 140));
        this.setModal(true);
        this.setTitle("Ouvrir");
        jPanel1.setBorder(border1);
        jPanel1.setLayout(gridBagLayout1);
        jPanel1.setSize(400, 140);
        lprivateKey.setText("Cl� priv�e :");
        lkeyPass.setText("Mot de passe : ");
        bopenKeyStore.setActionCommand("openKeyStore");
        bopenKeyStore.setText("Ouvrir");
        bopenKeyStore.setMnemonic(KeyEvent.VK_O);
        bopenKeyStore.addKeyListener(this);
        bopenKeyStore.addActionListener(this);
        bvalidate.setActionCommand("bvalidate");
        bvalidate.setText("Valider");
        bvalidate.setMnemonic(KeyEvent.VK_V);
        bvalidate.addKeyListener(this);
        bvalidate.addActionListener(this);
        breset.setActionCommand("breset");
        breset.setText("R�etablir");
        breset.setMnemonic(KeyEvent.VK_R);
        breset.addKeyListener(this);
        breset.addActionListener(this);
        tkeyStorePath.setText("C:\\y.p12");
        tkeyStorePath.addKeyListener(this);
        tkeyPass.setText("y");
        tkeyPass.addKeyListener(this);
        this.getContentPane().add(jPanel1, BorderLayout.CENTER);
        this.getContentPane().setSize(410, 150);
        jPanel1.add(lprivateKey, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
            , GridBagConstraints.WEST, GridBagConstraints.NONE,
            new Insets(5, 5, 5, 5), 0, 0));
        jPanel1.add(lkeyPass, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0
                                                     , GridBagConstraints.WEST,
                                                     GridBagConstraints.NONE,
                                                     new Insets(5, 5, 5, 5), 0, 0));
        jPanel1.add(tkeyStorePath, new GridBagConstraints(1, 0, 1, 1, 10.0, 0.0
            , GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL,
            new Insets(5, 5, 5, 5), 150, 0));
        jPanel1.add(tkeyPass, new GridBagConstraints(1, 1, 1, 1, 10.0, 0.0
                                                     , GridBagConstraints.WEST,
                                                     GridBagConstraints.HORIZONTAL,
                                                     new Insets(5, 5, 5, 5), 200, 0));
        jPanel1.add(bvalidate, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0
                                                      , GridBagConstraints.EAST,
                                                      GridBagConstraints.NONE,
                                                      new Insets(5, 5, 5, 5), 0, 0));
        jPanel1.add(bopenKeyStore, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0
            , GridBagConstraints.CENTER, GridBagConstraints.NONE,
            new Insets(5, 5, 5, 5), 0, 0));
        jPanel1.add(breset, new GridBagConstraints(2, 2, 1, 1, 0.0, 0.0
                                                   , GridBagConstraints.CENTER,
                                                   GridBagConstraints.NONE,
                                                   new Insets(5, 5, 5, 5), 0, 0));
        this.initFileChooser();
        this.tkeyStorePath.requestFocus();
        this.pack();
        Rectangle screenRect = this.getGraphicsConfiguration().getBounds();
        this.setLocation(
            screenRect.x + screenRect.width / 2 - this.getSize().width / 2,
            screenRect.y + screenRect.height / 2 - this.getSize().height / 2);
        this.show();
      public void actionPerformed(ActionEvent e) {
        if (e.getActionCommand().equals("openKeyStore")) {
          this.showOpenFileChooser();
          return;
        if (e.getActionCommand().equals("bvalidate")) {
          this.acte();
          return;
        if (e.getActionCommand().equals("breset")) {
          this.reset();
          return;
      public void keyPressed(KeyEvent e) {
        if (e.getKeyCode() == KeyEvent.VK_ENTER) {
          if (e.getSource() == this.bopenKeyStore ||
              e.getSource() == this.tkeyStorePath) {
            this.showOpenFileChooser();
            return;
          if (e.getSource() == this.bvalidate ||
              e.getSource() == this.tkeyPass) {
            this.acte();
            return;
          if (e.getSource() == this.breset) {
            this.reset();
            return;
      public void keyReleased(KeyEvent e) {}
      public void keyTyped(KeyEvent e) {
      private void initFileChooser() {
        jfc.setFileFilter(new javax.swing.filechooser.FileFilter() {
          public boolean accept(File f) {
            return (f.getName().endsWith(".p12") || f.isDirectory());
          public String getDescription() {
            return "(.p12) fichier key store";
        jfc.setDialogTitle("Selectionnez un fichier .p12");
        jfc.setMultiSelectionEnabled(false);
        jfc.setDialogType(JFileChooser.OPEN_DIALOG);
        jfc.setFileSelectionMode(JFileChooser.FILES_ONLY);
      private void showOpenFileChooser() {
        int returnVal = jfc.showOpenDialog(this);
        if (returnVal == JFileChooser.APPROVE_OPTION && jfc.getSelectedFile() != null &&
            jfc.getSelectedFile().exists()) {
          this.tkeyStorePath.setText(jfc.getSelectedFile().getAbsolutePath());
          this.tkeyPass.requestFocus();
        else {
          this.tkeyStorePath.requestFocus();
      private void reset() {
        this.tkeyStorePath.setText("");
        this.tkeyStorePath.requestFocus();
        this.tkeyPass.setText("");
      private void acte() {
    //waitBox = new WaitBox();
        openRequest = new OpenRequest();
        openRequest.setStorePath(this.tkeyStorePath.getText());
        if (!openRequest.isValide()) {
          jop.showMessageDialog(null,
                                "S.V.P v�rifiez le chemin de votre cl�!",
                                "Echec...", jop.ERROR_MESSAGE);
          this.tkeyStorePath.requestFocus();
          this.tkeyStorePath.selectAll();
          return;
        openRequest.setStorePass(new String(this.tkeyPass.getPassword()));
        openRequest.setReciverCert(this.uploadParameters.getReciverCert());
        OpenAction openAction = new OpenAction(this.openRequest);
        try {
          while (openResponse == null) {
            Thread.sleep(100);
            openResponse = (OpenResponse) openAction.getResponse();
        catch (Exception e) {
          e.printStackTrace();
        if (openResponse.getSenderPK() == null) {
          jop.showMessageDialog(null,
              "S.V.P entrez une cl� valide, \n ou verifiez votre mot de passe !",
              "Echec...", jop.ERROR_MESSAGE);
          this.tkeyStorePath.requestFocus();
          this.tkeyStorePath.selectAll();
          return;
        if (openResponse.getCaCert() == null) {
          this.setVisible(false);
          jop.showMessageDialog(null,
              "Votre cl� n'est pas valide.\n contactez votre administrateur!",
              "Echec...", jop.ERROR_MESSAGE);
          this.gotoPreviousPage();
          return;
        if (this.uploadParameters.getCipher() && openResponse.getReciverCert() == null) {
    this.setVisible(false);//*********************Does not work
    jop.showMessageDialog(null,
              "Vous ne disposez pas de certificat pour votre correspondant!",
              "Echec...", jop.ERROR_MESSAGE);
          this.gotoPreviousPage();
          return;
        this.setVisible(false);//*********************Does not work
        if (this.uploadParameters.getCipher()) {
          String compte;
          while (true) {
            compte = (String) JOptionPane.showInputDialog(
                this, "S.V.P. entrez le compte de votre correspondant : ",
                "Customized Dialog", JOptionPane.PLAIN_MESSAGE, null, null, "");
            if (compte == null) {
              //gotoprevious page
              return;
            this.checkCertRequest.setCommunName(compte);
            if (this.checkCertRequest.isValide()) {
              this.checkCertRequest.setReciverCert(this.openResponse.getReciverCert());
              this.checkCertRequest.setCaCert(this.openResponse.getCaCert());
              CheckCertAction checkCertAction = new CheckCertAction(this.
                  checkCertRequest);
              try {
                while (this.checkCertResponse == null) {
                  Thread.sleep(100);
                  this.checkCertResponse = (CheckCertResponse) checkCertAction.
                      getResponse();
              catch (Exception e) {
                e.printStackTrace();
              if (this.checkCertResponse.getReciverCertState()) {
                return;
              else {
                jop.showMessageDialog(null,
                    "L'identit� de votre correspondant n'a pas pu etre v�rifier!",
                    "Echec...", jop.ERROR_MESSAGE);
      public void windowActivated(WindowEvent e) {}
      public void windowClosed(WindowEvent e) {}
      public void windowDeactivated(WindowEvent e) {}
      public void windowDeiconified(WindowEvent e) {}
      public void windowIconified(WindowEvent e) {}
      public void windowOpened(WindowEvent e) {}
      public void windowClosing(WindowEvent e) {
        this.gotoPreviousPage();
      public void gotoPreviousPage() {
    }

  • Reportviewer 2010 - 2012 Page Header PrintOnFirstPage=false Doesn't work

    Hi, I converted my project from 2010 to 2012 and added the new reportviewer reference(v10 to v11). something that worked in 2010 no longer works in 2012.
    I have a report with a simple page header that i do no want shown on the first page but now a blank area the size of the page header appears on the first page, where in 2010, the body moves up to the top. is there a property im missing? i am using printonfirstpage=false
    on the page header but it isnt working as expected.
    thanks

    Hi dell.ca,
    According to your description, you have a report with a simple page header, and  you set PrintOnFirstPage property to false. It works fine in Visual Studio 2010, when you run the report using VS 2012, a blank area of the page header appears on the first
    page.
    I tried to reproduce this issue on my local machine. However, the report works fine for me when converted from SQL Server Data Tools(SSDT) 2010 In SQL Server 2012 to SSDT 2012. For this case, i recommend that you consider applying the latest patches according
    to your version. If the problem remain unresolved, you can submit a feedback to Microsoft Connect at this link
    https://connect.microsoft.com/SQLServer/Feedback. This connect site will serve as a connecting point between you and Microsoft, and ultimately the large community for you and Microsoft to interact
    with. Your feedback enables Microsoft to offer the best software and deliver superior services, meanwhile you can learn more about and contribute to the exciting projects on Microsoft Connect.
    If you have any questions, please feel free to let me know.
    Thanks,
    Wendy Fu

  • SetAutoscrolls(false) doesn't work for JTable in 1.4

    I don't want to use the default autoscrolling behavior that comes with JTable in 1.4, since it is very choppy. In 1.3.1 I was able to use setAutoscrolls(false) and then implement the Autoscroll interface to get the behavior I want. However, in 1.4 I tried using setAutoscrolls(false) and verified that the setting sticks, but it seems that it is ignored. The table scrolls anyhow. Anyone else encountered this problem? Is this a bug in 1.4? Or is there somewhere else to turn off this behavior?
    Thanks,
    Angela

    Denis,
    Useful to know it worked for someone else. Did you use the new TransferHandler for the drag and drop? Or did you use the 1.3 mechanism with DragSourceListener, DragGestureListener & DropTargetListener? I'm guessing you were using the 1.3 mechanism. I am using the TransferHandler. I have been poking around in javax.swing.plaf.basic.BasicTableUI looking at how they have implemented things and it seems to be laid out in a rather poor design. Inside of BasicTableUI I took a look at where they are handling autoscrolling and they seem to be ignoring the setAutoscrolls flag. And the class is set up so you cannot easily modify the behavior, you'd have to send some time re-inventing the wheel. Yuck. So I suspect that if you use TransferHandler drag and drop that setAutoscrolls is ignored, but if you use 1.3 drag and drop it works. Haven't had a chance to test my theory though - other things are taking priority.
    I'm giving the dukes to you, since I wasn't the owner on the "Drag and Drop an image" thread, but I think you deserve some points for all your help.
    Angela

  • Why JRadioButtob.setSelected(boolean) doesn't work?

    I implement an inner class claaes ControlPanel, subclass of JPanel, which have a GroupButton of two JRadioButtons. The state of the JRadioButton will be changed according to the selected item from a JList. My code structure as follow:
    public MainClass{
    MyJList.addListSelectionListener(new ItemSelectionListener(){
    public void valueChanged(ListSelectionEvent ..){
    myControlPanel.b1.setSelected(true);
    }//end of main class
    //inner class
    class ControlPanel{
    ButtonGroup myGroup = ;
    JRadioButton b1 = ;
    JRadioButton b2 = ;
    myGroup.add(b1);
    myGroup.add(b2);
    anybody help me. Thanks!!
    Qi

    did you initialize b1 before you call setSelected(true)?

  • 11g: setRowWithKeyValue and cacheResults:false doesn't work?

    Hi,
    we use setRowWithKeyValue (the value is passed over processScope) to load specific (master) record in a form.
    If iterator's cache results is se to true it works. If we set it to false, strange things happen (e.g. wrong detail records are displayed).
    We absolutely need to disable cache, as we need to show the data as is in the database.
    Is this a bug, are we doing something wrong? Is there any other way to disable cache?

    Where could I find detailed documentation about cahce, so maybe I can figure this one out?

  • Bouton.enabled = false; doesn't work

    hi ,
    I have a datagrid in witch i put button in some culomns.
    I want that when I press a button in one culomn the other buttons in others culmns are disactivated.
    I tried this code , but I have the following error: id attribute is not allowed on the root tag of a component.
    <mx:DataGridColumn 
    headerText="Global" dataField="bouton_global" editable="false" width="80">
    <mx:itemRenderer>  
    <mx:Component>  
    <mx:Button label="B_Global" width="80" id="BoutonGlobal" height="30" click="document.doo1();"/>  
    </mx:Component>  
    </mx:itemRenderer> 
    </mx:DataGridColumn>
    <mx:DataGridColumn headerText="Métier" dataField="metier" editable="false" width="80" >
    <mx:itemRenderer>  
    <mx:Component>  
    <mx:Button label="B_Métier" width="80" id="BoutonMetier" height="30" click="document.doo2();"/>  
    </mx:Component>  
    </mx:itemRenderer> 
    </mx:DataGridColumn>
    and in my AS:
    public function doo1(): void {
    BoutonMetier.enabled = false;
    Alert.show("coucou1");
    public function doo2(): void {
    BoutonGlobal.enabled=false;
    Alert.show("coucou2");
    Can you help me plz

    Thank you for your reply .
    I tried this:
    in my script :
    Bindable] private var boutonMetierEnabled:Boolean=true;[
    Bindable] private var boutonGlobalEnabled:Boolean=true;
    then
    <mx:DataGridColumn 
    headerText="Global" dataField="bouton_global" id="BoutonGlobal1" editable="false" width="80">
    <mx:itemRenderer>  
    <mx:Component>  
    <mx:Button label="B_Global" width="80" height="30" enabled="{(boutonMetierEnabled)?(boutonGlobalEnabled):false}"/>  
    </mx:Component>  
    </mx:itemRenderer> 
    </mx:DataGridColumn>
    I have the following error:
    Multiple markers at this line:
    -1120: Accès à la propriété non définie boutonGlobalEnabled.
    -1120: Accès à la propriété non définie boutonMetierEnabled.
    -1120: Accès à la propriété non définie boutonMetierEnabled.
    -1120: Accès à la propriété non définie boutonGlobalEnabled.

  • UIComponent.setRendered(false) doesn't work

    Tomcat 4.0.1, JBuilder X, WinXP.
    jsp: <h:inputText id="abc" value="ABC" size="16"/>
    When I try this:
    <h:commandButton id="indexCommandButtonActionListener" type="SUBMIT"
              actionListener="#{User.buttonActionListener}" value="GO!"/>
    FacesContext.getCurrentInstance().getViewRoot().findComponent("abc").setRendered(false);
    I get:
    Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Errortype Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception javax.servlet.ServletException: java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Thread.java:534)
    root cause javax.faces.el.EvaluationException: java.lang.NullPointerException
    at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
    at javax.faces.component.UICommand.broadcast(UICommand.java:305)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:266)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:380)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
    at jsf_sun_1_0.User.buttonActionListener(User.java:35)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
    ... 35 more

    The "id" passed to findComponent() must incorporate any intervening NamingContainers in the component hierarchy, including the ID of that form that's almost certainly on your page.
    In short, findComponent("formID:abc").
    I highly recommend use of the "binding" attribute over findComponent().
    -- Adam Winer (EG member)

  • SetOpaque(false) doesn't work

    Hi,
    I'm looking for help to have background transparent panels. I tried to use JPanel with setOpaque(false), but I still have a lightGrey background ! Is it normal ??? I don't think so. Could anyone help me please...

    Thanks for your answers.
    I get rid of JComponent, I prefer not to use Swing for my application.
    So I will ask another question. I still want transparent panels and labels but in AWT. I found code to make them transparent, but when I draw an image on the last panel (in the background), I have the trace of the panels and labels which are above, and their backgrounds have the same color than the panel on which I draw my image.
    I DON'T UNDERSTAND !!!
    I'm looking for a solution to have a background image in my labels, but I have the text or the background, never both, even using drawString instead of label constructor.
    An idea ?
    Excuse my English, I'm French. :0�

  • Macbook pro buzzing, sound doesn't work, disk is falsely full...

    My 15 inch macbook pro has started buzzing a lot lately at random times.  I've had it since 2009, but it's a 2008 model, and I don't know if it's just getting old and telling me that it's going to die soon, or if there's something I can do about it. 
    It also has other problems, like the sound doesn't work when I start it up (the volume icon is greyed out), and doesn't work again until I've restarted it twice. 
    Also, when I have programs open, it'll tell me that my disk is full and I only have a few mb of disk space left even if I had many GB available before I opened the programs.  I tried fixing this on my own by not having multiple programs open at once, but the disk space won't come back until I restart the computer.  It only started doing this a few months ago, and I don't know why.
    I used to keep it on all the time and just let it sleep, but I've been shutting it down every day now, and I have the same problems.  I don't know what's happening, if it's my fault, or if my computer is just dying, but I need it for animation school and professional photography so if possible I want a heads up if it's about to crash on me.
    Thank you.

    This worked for me
    Reboot the Mac and as soon as you hear the boot chime, hold down the Command+Option+P+R keys together
    When you hear the boot sound again, the PRAM has been reset so let the Mac boot again as usual
    At this point your Mac should boot again as usual and no longer have the black display, loading OS X as usual.

  • Swf previews in browser and doesn't work on server after upgrade from cs3 to cs5

         I have upgraded from CS3 to CS5. My site uses a template created in dreamweaver 8.  When I edit a page and embed a .swf file created in flash cs5, it doesn't work on my server, but works on my computer when I 'test in browser'.  I have uploaded all the files in the 'scripts' directory.  I am streaming video.  I have tried using both actionscript 2.0 and 3.0 and streaming .flv and .f4v.  None work.
    I have a big site and do not wan't to redo my template unless I absolutely have to.
    Here is the link:
    http://retinavitreous.com/educationalvideo2010/clips/intro_eyesees.html
    Here is the code on my page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/mainnopop.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>video vitrectomy for macular hole re-operation ilm peel</title>
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css">
    td img {display: block;}body {
    background-color: #0000FF;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    a:link {
    color: #FFFF00;
    a:visited {
    color: #00FFFF;
    a:hover {
    color: #FFFFFF;
    a:active {
    color: #99CC00;
    #main {
    position:absolute;
    width:579px;
    height:815px;
    z-index:1;
    left: 168px;
    top: 96px;
    #right {
    position:absolute;
    width:238px;
    height:817px;
    z-index:2;
    left: 792px;
    top: 98px;
    </style>
    <!--Fireworks 8 Dreamweaver 8 target.  Created Tue May 26 14:59:01 GMT-0400 (Eastern Daylight Time) 2009-->
    <script language="JavaScript1.2" type="text/javascript">
    <!--
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    //-->
    </script>
    <!-- InstanceBeginEditable name="head" -->
    <script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <script src="../../Scripts/swfobject_modified.js" type="text/javascript"></script>
    <!-- InstanceEndEditable -->
    <link href="../../css/yellowblue.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body,td,th {
    color: #FFFBF0;
    -->
    </style></head>
    <body bgcolor="#ffffff" onload="MM_preloadImages('../../Templates/tempanimation/temp_animation_r1_c1_f2.gif','../ ../Templates/tempanimation/tempanimation_r1_c1_f2.gif','../../Templates/tempanimation/temp _animation_r1_c2_f2.gif','../../Templates/tempanimation/tempanimation_r1_c2_f2.gif','../.. /Templates/tempanimation/temp_animation_r1_c4_f2.gif','../../Templates/tempanimation/tempa nimation_r1_c4_f2.gif','../../Templates/tempanimation/temp_animation_r1_c5_f2.gif','../../ Templates/tempanimation/tempanimation_r1_c5_f2.gif','../../Templates/tempanimation/temp_an imation_r1_c7_f2.gif','../../Templates/tempanimation/tempanimation_r1_c7_f2.gif','../../Te mplates/tempanimation/temp_animation_r1_c8_f2.gif','../../Templates/tempanimation/tempanim ation_r1_c8_f2.gif','../../Templates/tempanimation/temp_animation_r2_c6_f2.gif','../../Tem plates/tempanimation/tempanimation_r2_c6_f2.gif','../../Templates/tempanimation/temp_anima tion_r4_c1_f2.gif','../../Templates/tempanimation/tempanimation_r4_c1_f2.gif','../../Templ ates/tempanimation/temp_animation_r5_c1_f2.gif','../../Templates/tempanimation/tempanimati on_r5_c1_f2.gif','../../Templates/tempanimation/temp_animation_r6_c1_f2.gif','../../Templa tes/tempanimation/tempanimation_r6_c1_f2.gif','../../Templates/tempanimation/temp_animatio n_r7_c1_f2.gif','../../Templates/tempanimation/tempanimation_r7_c1_f2.gif','../../Template s/tempanimation/temp_animation_r8_c1_f2.gif','../../Templates/tempanimation/tempanimation_ r8_c1_f2.gif','../../Templates/tempanimation/temp_animation_r9_c1_f2.gif','../../Templates /tempanimation/tempanimation_r9_c1_f2.gif','../../Templates/tempanimation/temp_animation_r 11_c1_f2.gif','../../Templates/tempanimation/tempanimation_r11_c1_f2.gif')">
    <table border="0" cellpadding="0" cellspacing="0" width="1440">
    <!-- fwtable fwsrc="tempanimation.png" fwbase="tempanimation.gif" fwstyle="Dreamweaver" fwdocid = "41244840" fwnested="0" -->
      <tr>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="99" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="68" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="14" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="85" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="121" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="114" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="160" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="163" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="616" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="1" border="0" alt="" /></td>
      </tr>
      <tr>
       <td rowspan="2"><a href="../../index.php" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c1','','../../Templates/tempanimation/temp_an imation_r1_c1_f2.gif','tempanimation_r1_c1','','../../Templates/tempanimation/tempanimatio n_r1_c1_f2.gif',1)"><img name="tempanimation_r1_c1" src="../../Templates/tempanimation/tempanimation_r1_c1.gif" width="99" height="24" border="0" id="tempanimation_r1_c1" alt="" /></a></td>
       <td rowspan="2" colspan="2"><a href="../../ouroffices/alloffices.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c2','','../../Templates/tempanimation/temp_an imation_r1_c2_f2.gif','tempanimation_r1_c2','','../../Templates/tempanimation/tempanimatio n_r1_c2_f2.gif',1)"><img name="tempanimation_r1_c2" src="../../Templates/tempanimation/tempanimation_r1_c2.gif" width="82" height="24" border="0" id="tempanimation_r1_c2" alt="" /></a></td>
       <td rowspan="2"><a href="../../patientinfo/forms.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c4','','../../Templates/tempanimation/temp_an imation_r1_c4_f2.gif','tempanimation_r1_c4','','../../Templates/tempanimation/tempanimatio n_r1_c4_f2.gif',1)"><img name="tempanimation_r1_c4" src="../../Templates/tempanimation/tempanimation_r1_c4.gif" width="85" height="24" border="0" id="tempanimation_r1_c4" alt="" /></a></td>
       <td rowspan="2"><a href="../../treatments/overviewtreatments.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c5','','../../Templates/tempanimation/temp_an imation_r1_c5_f2.gif','tempanimation_r1_c5','','../../Templates/tempanimation/tempanimatio n_r1_c5_f2.gif',1)"><img name="tempanimation_r1_c5" src="../../Templates/tempanimation/tempanimation_r1_c5.gif" width="121" height="24" border="0" id="tempanimation_r1_c5" alt="" /></a></td>
       <td><img name="tempanimation_r1_c6" src="../../Templates/tempanimation/tempanimation_r1_c6.gif" width="114" height="1" border="0" id="tempanimation_r1_c6" alt="" /></td>
       <td rowspan="2"><a href="../../video files/videostart.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c7','','../../Templates/tempanimation/temp_an imation_r1_c7_f2.gif','tempanimation_r1_c7','','../../Templates/tempanimation/tempanimatio n_r1_c7_f2.gif',1)"><img name="tempanimation_r1_c7" src="../../Templates/tempanimation/tempanimation_r1_c7.gif" width="160" height="24" border="0" id="tempanimation_r1_c7" alt="" /></a></td>
       <td rowspan="2"><a href="../../flash/animations/overview_animations.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c8','','../../Templates/tempanimation/temp_an imation_r1_c8_f2.gif','tempanimation_r1_c8','','../../Templates/tempanimation/tempanimatio n_r1_c8_f2.gif',1)"><img name="tempanimation_r1_c8" src="../../Templates/tempanimation/tempanimation_r1_c8.gif" width="163" height="24" border="0" id="tempanimation_r1_c8" alt="" /></a></td>
       <td><img name="tempanimation_r1_c9" src="../../Templates/tempanimation/tempanimation_r1_c9.gif" width="616" height="1" border="0" id="tempanimation_r1_c9" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="1" border="0" alt="" /></td>
      </tr>
      <tr>
       <td><a href="../../patientinfo/insurancepar.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r2_c6','','../../Templates/tempanimation/temp_an imation_r2_c6_f2.gif','tempanimation_r2_c6','','../../Templates/tempanimation/tempanimatio n_r2_c6_f2.gif',1)"><img name="tempanimation_r2_c6" src="../../Templates/tempanimation/tempanimation_r2_c6.gif" width="114" height="23" border="0" id="tempanimation_r2_c6" alt="" /></a></td>
       <td><img name="tempanimation_r2_c9" src="../../Templates/tempanimation/tempanimation_r2_c9.gif" width="616" height="23" border="0" id="tempanimation_r2_c9" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="23" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="9"><img name="tempanimation_r3_c1" src="../../Templates/tempanimation/tempanimation_r3_c1.gif" width="1440" height="69" border="0" id="tempanimation_r3_c1" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="69" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../patientinfo/overview_patientinfo.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r4_c1','','../../Templates/tempanimation/temp_an imation_r4_c1_f2.gif','tempanimation_r4_c1','','../../Templates/tempanimation/tempanimatio n_r4_c1_f2.gif',1)"><img name="tempanimation_r4_c1" src="../../Templates/tempanimation/tempanimation_r4_c1.gif" width="167" height="30" border="0" id="tempanimation_r4_c1" alt="" /></a></td>
       <td rowspan="9" colspan="7"                  ><div id="main"><!-- InstanceBeginEditable name="main" -->
         <h2 align="center">How the Eye Sees Animation
         </h2>
         <p align="center">
           <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="874" height="520" id="FlashID" title="eye sees">
             <param name="movie" value="eyeseesas2.swf" />
             <param name="quality" value="high" />
             <param name="wmode" value="opaque" />
             <param name="swfversion" value="6.0.65.0" />
             <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
             <param name="expressinstall" value="../../Scripts/expressInstall.swf" />
             <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
             <!--[if !IE]>-->
             <object type="application/x-shockwave-flash" data="eyeseesas2.swf" width="874" height="520">
               <!--<![endif]-->
               <param name="quality" value="high" />
               <param name="wmode" value="opaque" />
               <param name="swfversion" value="6.0.65.0" />
               <param name="expressinstall" value="../../Scripts/expressInstall.swf" />
               <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
               <div>
                 <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                 <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
               </div>
               <!--[if !IE]>-->
             </object>
             <!--<![endif]-->
           </object>
         </p>
       <!-- InstanceEndEditable --></div>
        <div id="right"><!-- InstanceBeginEditable name="right" -->
          <p> </p>
          <script type="text/javascript">
    swfobject.registerObject("FlashID");
          </script>
        <!-- InstanceEndEditable --></div></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="30" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../diseases/overview_diseases.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r5_c1','','../../Templates/tempanimation/temp_an imation_r5_c1_f2.gif','tempanimation_r5_c1','','../../Templates/tempanimation/tempanimatio n_r5_c1_f2.gif',1)"><img name="tempanimation_r5_c1" src="../../Templates/tempanimation/tempanimation_r5_c1.gif" width="167" height="33" border="0" id="tempanimation_r5_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="33" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../refdoc/overview_refdoc.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r6_c1','','../../Templates/tempanimation/temp_an imation_r6_c1_f2.gif','tempanimation_r6_c1','','../../Templates/tempanimation/tempanimatio n_r6_c1_f2.gif',1)"><img name="tempanimation_r6_c1" src="../../Templates/tempanimation/tempanimation_r6_c1.gif" width="167" height="32" border="0" id="tempanimation_r6_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="32" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../ourdocs/alldocs.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r7_c1','','../../Templates/tempanimation/temp_an imation_r7_c1_f2.gif','tempanimation_r7_c1','','../../Templates/tempanimation/tempanimatio n_r7_c1_f2.gif',1)"><img name="tempanimation_r7_c1" src="../../Templates/tempanimation/tempanimation_r7_c1.gif" width="167" height="31" border="0" id="tempanimation_r7_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="31" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../ouroffices/alloffices.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r8_c1','','../../Templates/tempanimation/temp_an imation_r8_c1_f2.gif','tempanimation_r8_c1','','../../Templates/tempanimation/tempanimatio n_r8_c1_f2.gif',1)"><img name="tempanimation_r8_c1" src="../../Templates/tempanimation/tempanimation_r8_c1.gif" width="167" height="31" border="0" id="tempanimation_r8_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="31" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../contactus/contacthome.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r9_c1','','../../Templates/tempanimation/temp_an imation_r9_c1_f2.gif','tempanimation_r9_c1','','../../Templates/tempanimation/tempanimatio n_r9_c1_f2.gif',1)"><img name="tempanimation_r9_c1" src="../../Templates/tempanimation/tempanimation_r9_c1.gif" width="167" height="32" border="0" id="tempanimation_r9_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="32" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><img name="tempanimation_r10_c1" src="../../Templates/tempanimation/tempanimation_r10_c1.gif" width="167" height="13" border="0" id="tempanimation_r10_c1" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="13" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../lowvision/lowvisionhome.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r11_c1','','../../Templates/tempanimation/temp_a nimation_r11_c1_f2.gif','tempanimation_r11_c1','','../../Templates/tempanimation/tempanima tion_r11_c1_f2.gif',1)"><img name="tempanimation_r11_c1" src="../../Templates/tempanimation/tempanimation_r11_c1.gif" width="167" height="102" border="0" id="tempanimation_r11_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="102" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><img name="tempanimation_r12_c1" src="../../Templates/tempanimation/tempanimation_r12_c1.gif" width="167" height="503" border="0" id="tempanimation_r12_c1" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="503" border="0" alt="" /></td>
      </tr>
    </table>
    </body>
    <!-- InstanceEnd --></html>

    It's not 100% clear from your post, but you should be aware that CS5 plugins should not work in CS5.5. Because of a CS5.5 bug, CS5 plugins will load in InDesign 7.5.0, but that is fixed in 7.5.1 so they will not load.
    You should lean a bit harder on Virginia Systems. They should be able to tell you how to get them the stack trace from the crash which they should be able to look at and tell you which plugin (if any) is responsible for the crash. I could do it for Mac OS X but I don't know how under Windows. You could start by looking at the Event Viewer, though. That may have some helpful information about the crashes and the faulting module.

  • Lightbox (jQuery Lightbox Evolution) made in Adobe Edge, doesn´t work in Adobe Muse (oam file)

    Hi!, I got a problem that I can´t fix it, or I don´t know how to do it in Adobe Muse.
    First I have the Jquery Lightbox Evolution ready to do it in Adobe Edge.
    I could work the lightbox in Edge perfectly doing this:
    1. I added the JS files of the Jquery Lightbox Evolution into EDGE :
    2. I wrote this code in STAGE - COMPOSITIONREADY:
    yepnope({load: "js/lightbox/themes/classic/jquery.lightbox.css",complete: function() {}});
    3. I wrote this CLICK code into the blue box animation;
    {$.lightbox("images/4.jpg");return false;};
    4. Now, if I do a Preview, and if I click into the blue box animation, appears the Jquery Lightbox Evolution, like I want:
    5. Perfect, I publish the project like an Animate Deployment Package (.oam) to import this into Muse.
    6. Now the problems begins, I import the Edge animation into my Muse project, but when I see the preview of my page, the lightbox doesn´t work, Muse don´t recognize the lightbox CSS file because I see something like that:
    The blue box animation work perfectly into Muse!, but when I click on it and when it should appear the Jquery Lightbox, happens that problem, Muse don´t recognize the CSS file and the "lightbox" appears INTO the box animation, like if I put a "_self" code.
    Really I don´t know how to fix that, should import the CSS file into Muse? should write a code into Page Properties- Metadata?, write a code inserting a HTML?, change some code in Adobe Edge?
    Thanks!!!!

    I´m sorry, but any ideas how to fix that?

  • Team Foundation Server 2013 trace doesn't work

    I'm trying to turn on tracing on my TFS 2013 instance. To do this I'm modifying C:\Program Files\Microsoft Team Foundation
    Server 12.0\Application Tier\Web Services\web.config file like this:
    <appSettings>
    <add key="traceWriter" value="true" />
    <add key="traceDirectoryName" value="%TEMP%\\TFLogFiles" />
    </appSettings>
    <system.diagnostics>
    <assert assertuienabled="false" />
    <trace autoflush="false" indentsize="4" />
    <switches>
    <add name="API" value="4" />
    <add name="Authentication" value="4" />
    <add name="Authorization" value="4" />
    <add name="Database" value="4" />
    <add name="General" value="4" />
    <!-- WorkItem trace switches -->
    <add name="traceLevel" value="4" />
    </switches>
    </system.diagnostics>
    After these manipulations log files appear but they are not verbose at all. I tried the same step with 2 different TFS
    2013 deployments and got no results. I also tried this technique with TFS 2010 and it works.
    Has anybody tried this feature with TFS 2013 or has precise  instructions how to turn off detailed tracing on TFS 2013 (I found the only good article for
    outdated TFS 2010: http://blogs.msdn.com/b/bryang/archive/2011/11/14/tracing-in-team-foundation-server-2010.aspx)

    Hi Shkleinik & Kevin,
    TFS 2013 includes low-level tracing for diagnosing complex server problems. You can refer to the page below for tracing configuration for TFS 2013, chekc if it works.
    http://larzjoakimnilzzon.blogspot.in/2012/04/tracelogging-configuration-in-team.html
    If it doesn't work and you want to report to MS, then you can submit it to Microsoft Connect Feedback portal at:
    https://connect.microsoft.com/VisualStudio. Microsoft engineers will evaluate it seriously.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HELP! Uploading AS3 Game to server, no sound and Spacebar doesn´t work HELP!

    Hello, relatively new to AS3 and flash, this is the first time i am publishing anything. We are trying to upload our simple flashgame to our webserver, the game works perfectly fine locally save for one thing. We get an error regarding TLF which says it wont stream or something. So when it gets online, no sounds play and spacebar doesn't work, left and right arrow does work. We have three TLF text fields that are used to update score, lives and show you final score. If i turn these into classical text they stop working.
    Things we have tried: Changing default linkage from RLS to Merged into code, changing the text boxes to classical text(they then stop working), made sure the paths are correct(all files are in the same directory including the .swz file)
    This is the code from the soundclass:
    package 
        import flash.net.URLRequest;
        import flash.media.Sound;
        import flash.media.SoundChannel;
        import flash.events.*;
        public class MySound
            private var bgSound:Sound;
            private var fireSound:Sound;
            private var waterSound:Sound;
            private var earthSound:Sound;
            private var lightSound:Sound;
            private var soundChannel:SoundChannel;
            public function MySound()
                soundChannel = new SoundChannel();
                bgSound = new Sound();
                var req:URLRequest = new URLRequest("BackgroundSound.mp3");
                bgSound.load(req);
                //fire
                fireSound = new Sound();
                var req2:URLRequest = new URLRequest("soundFire.mp3");
                fireSound.load(req2);
                // water
                waterSound = new Sound();
                var req3:URLRequest = new URLRequest("soundWater.mp3");
                waterSound.load(req3);
                // earth
                earthSound = new Sound();
                var req4:URLRequest = new URLRequest("soundEarth.mp3");
                earthSound.load(req4);
                // light
                lightSound = new Sound();
                var req5:URLRequest = new URLRequest("soundLight.mp3");
                lightSound.load(req5);
            public function playBgSound()
                soundChannel = bgSound.play(0, 999999);
            public function stopBgSound()
                soundChannel.stop();
            public function playFireSound()
                fireSound.play();
            public function playWaterSound()
                waterSound.play();
            public function playEarthSound()
                earthSound.play();
            public function playLightSound()
                lightSound.play();
    I can somewhat get that sound can bugg out, but why does spacebar stop functioning? ANy help is greatly appreciated as this has to be delivered in twelve hours(published online) for a school assignment.

    Also might add publishing it locally in my own browser everything works, as does ofcourse playing it in flash itself. Changing from RLS to merged into code stops the error from coming, but doesn´t fix the problem on the server.
    Code from main class related to sound and spacebar:
    import flash.display.*;
        import flash.events.*;
        import flash.ui.Keyboard;
        import flash.text.TextField;
        import flash.media.Sound;
        import flash.net.URLRequest;
        import flash.events.MouseEvent;
        import flash.utils.Timer;
        import flash.events.TimerEvent;
        public class main extends MovieClip
            private var fireTimer:Timer; //delay between shots
            private var canFire:Boolean = true;
            private var mySound:MySound;
            private var bulletSpeed:Number = -450;
              public function main()
                //load sounds
                mySound = new MySound();
            private function playGame(event:MouseEvent)
                gotoAndStop(2);
                // initialize
                myLives = 5;
                myHitsNo = 0;
                weaponType = 1;
                mybullets = new Array();
                enemys = new Array();       
                myScoreTxt.text = "Score: " + myHitsNo;
                myLivesTxt.text = "Lives: " + myLives;   
                fireTimer = new Timer(400, 1);
                fireTimer.addEventListener(TimerEvent.TIMER, shootTimerHandler, false, 0, true);
                stage.addEventListener(KeyboardEvent.KEY_DOWN, listenKeyDown);
                stage.addEventListener(Event.ENTER_FRAME, addEnemy);
                stage.addEventListener(Event.ENTER_FRAME, checkCollision);   
                player = new thePlayer(stage.stageWidth-40, spawnPoint2);// stage.stageHeight/2);
                stage.focus = player;
                addChild(player);
                mySound.playBgSound();
    public function listenKeyDown(event:KeyboardEvent)  // Controls and weapontype selector
                if (event.keyCode == 37) //left
                    player.movethePlayerDown();
                if (event.keyCode == 39) //right
                    player.movethePlayerUp();
    if (event.keyCode == Keyboard.SPACE) //space
                    shootBullet();
                    //soundFX.attachSound("Pistol Fire.wav");
                    //soundFX.start();

Maybe you are looking for

  • Open a URL in the same window

    Hi, My objective is to open a URL when i click on a webdynpro iView in the same window. I created a outbound plug in the InterfaceViewController. And wrote this piece of code in wdDoBeforeNavigation() in Component controller. wdThis.wdGetExternalComp

  • Bug:Downloading pdf file from the web,file name in dialog box populates with incorrect file name

    Hi Gurus When downloading any pdf file from the web using adobe Reader X the file name dialog box populates with incorrect file name compared to the saved file name of the document downloaded. Clarity 1. Download any pdf file from the web 2. Click Fi

  • New install help. Please and thanks!

    I'm hoping somebody can tell me what's going wrong with my new install.  Here are the details: Win7 pro i7 950 Quadro 4000 (with massive cooling blowing on the thing) mxo2 mini max (because I'm slightly cheap, and yes, I feel a little like a hack plu

  • VPD+DBLINK

    Hi, I am trying VPD functionality, Can any one guide me? I have 2 schema in one database shema are 1.bdev 2.hdev I have customer table in hdev schema like Table CUSTOMERS - COD_ENTITY VARCHAR2(20) CUST_ID NUMBER CUST_NAME VARCHAR2(20) create table cu

  • I have a 3GS and find my pictures jumping up behind the header. How do I fix this?

    I have a 3GS and find my pictures jumping up behind the header. How do I fix this?