Want to place an editor only on double click

How can I place an editor only on the Double click in that cell?
The editors are set in someother class.
Which method do I override to do this and how?
Please help me with the code if possible.
Thanks.

In a JTable I mean

Similar Messages

  • Mp3 added to iTunes only by double clicking in the finder

    I'm sorry, I've seen several similar posts here and in the web, but still haven't found any solution.
    Usually I import mp3 files in my iTunes library with drag n' drop. But with some mp3 this doesn't work, and the only way to add is to double click on each song in the finder; after doing it, these files appear in iTunes, with the right Artist/Album/etc. (and of course play).
    These files are mp3, are not corrupted, and ID3 tags are present. iTunes 10.3.1 on Mac Os X 10.6.7
    What's the problem?
    Many thanks.
    Erik

    try running the files by MP3 Validator before adding them to your library.
    iTunes can be picky which MP3's it deems acceptable.

  • Resize tabs only when double click on tab name

    I have this code which resizes tab when it's clicked twice no matter where I click on the tab.
    VBox stackedTitledPanes = createStackedTitledPanes();
       ScrollPane scroll = makeScrollable(stackedTitledPanes);
       final TabPane tabPane = new TabPane();
       final BorderPane mainPane = new BorderPane();
       final Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds();
      tabPane.setStyle("-fx-font-size: 12pt;"); // Set global size for the font
       // Create Tabs
       Tab tabA = new Tab();
      tabPane.setOnMouseClicked(new EventHandler<MouseEvent>()
       private double sizeX, sizeY;
       private boolean first = true;
       @Override
       public void handle(MouseEvent me)
       if (first)
      sizeX = mainPane.getWidth();
      sizeY = mainPane.getHeight();
      first = false;
       if (me.getButton().equals(MouseButton.PRIMARY) && me.getClickCount() % 2 == 0)
       if (sizeX != mainPane.getWidth() || sizeY != mainPane.getHeight())
      mainPane.setPrefSize(sizeX, sizeY);
       else
      mainPane.setPrefSize(primaryScreenBounds.getWidth(), primaryScreenBounds.getHeight());
      tabA.setText("Main Component");
      tabA.setContextMenu(makeTabContextMenu(tabA, tabPane));  // Set right mouse click menu
       // Add something in Tab
       StackPane tabA_stack = new StackPane();
      tabA_stack.setAlignment(Pos.CENTER);
      tabA_stack.getChildren().add(scroll);
      tabA.setContent(tabA_stack);
      tabPane.getTabs().add(tabA);
       Tab tabB = new Tab();
      tabB.setText("Second Component");
      tabB.setContextMenu(makeTabContextMenu(tabB, tabPane));  // Set right mouse click menu
       // Add something in Tab
       StackPane tabB_stack = new StackPane();
      tabB_stack.setAlignment(Pos.CENTER);
      tabB_stack.getChildren().add(new Label("Label@Tab B"));
      tabB.setContent(tabB_stack);
      tabPane.getTabs().add(tabB);
       Tab tabC = new Tab();
      tabC.setText("Last Component");
      tabC.setContextMenu(makeTabContextMenu(tabC, tabPane));  // Set right mouse click menu
       // Add something in Tab
       StackPane tabC_vBox = new StackPane();
      tabC_vBox.setAlignment(Pos.CENTER);
      tabC_vBox.getChildren().add(new Label("Label@Tab C"));
      tabC.setContent(tabC_vBox);
      tabPane.getTabs().add(tabC);
      mainPane.setCenter(tabPane);
      mainPane.setPrefSize(300, 500);
       //mainPane.setLayoutX(5); // Horizontal Position
      mainPane.setLayoutY(32);   // Vertical Position
      scroll.setPrefSize(395, 580);
      scroll.setLayoutX(5);
      scroll.setLayoutY(32);
    Can you tell me how I can modify the code in a way that I can size the tab only when I double click on a tab name?

    See:
    *https://support.mozilla.com/kb/Firefox+keeps+opening+many+tabs+or+windows

  • How can i change the tab bar from opening a new tab when single clicked to open one only when double clicked?

    Out of habbit, i double click the tab bar and it opens 1 tab. however in the new beta, it opens 2.
    Is there anyway to change this so single clicks dont open new tabs on the tab bar?

    I don't have multiple tab bars and haven't installed anything to try and get them.
    I re-read what I wrote earlier and realised it's not worded clearly when I said: If I have more than a single tab bar of tabs open
    I meant: When I have so many tabs open that they won't all fit into the tab bar at once

  • Hi My I phone stoped responding to the touch. it's reponding only by double click on the icon, any solution available please?

    Anyone can help please

    Might want to try plugging your phone into your computer and starting up itunes. Click on your phone in the devices tab and click "Universal Options" in the options box. In "Seeing" click that to none if it is clicked to Voiceover. Hope it helps.

  • I want to open a new tab by double click the space beside the tabs.

    Not on the "new tab button", I meen the rest of the free space beside it.
    This is annoying me, on my other computer this is working fine.
    And its the same version (23.0.1) on both my computers.

    Hello Jitex77, '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • How to detect only single click and not double-click mouse events in Swing?

    Hi,
    In my application, I want to implement a functionality only for single click. But problem is on double click, first i can see a single click and then double click.
    i.e e.getCount() return 1 and then 2 for double click. I want to avoid this situation.
    Shouldn't it be just one event with a clickCount of 2? or any alternative solution?
    Please let me know how can i stop this.
    Thanks in advance..
    Cheers
    Somasekhar
    Edited by: SomasekharPatil on Mar 13, 2009 3:36 PM

    Maybe something like the below example:
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.SwingUtilities;
    import javax.swing.Timer;
    public class SingleClickOnly {
        public static void main(String[] args) {
         SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
              new SingleClickOnly().createGUI();
        public void createGUI() {
         JFrame frame = new JFrame();
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         JLabel label = new JLabel("Only acts on a single click");
         label.addMouseListener(createListener());
         frame.add(label);
         frame.pack();
         frame.setLocationRelativeTo(null);
         frame.setVisible(true);
        public MouseListener createListener() {
         return new MouseAdapter() {
             private int clickCount = 0;
             private final Timer timer = new Timer(1000, new ActionListener() {
              @Override
              public void actionPerformed(ActionEvent e) {
                  if (clickCount == 1) {
                   System.out
                        .println("Executing action on click count 1 only");
              timer.setRepeats(false);
             @Override
             public void mouseClicked(MouseEvent event) {
              clickCount = event.getClickCount();
              System.out.println("Clicked: " + clickCount);
              if (clickCount == 1) {
                  if (timer.isRunning()) {
                   timer.stop();
                  timer.start();
    }Piet

  • When double clicking on alv ,want to get the column name

    Hello there,
        I'm displaying the value of internal table in an alv using Reuse_alv_grid_display method ,using fieldcatalog.I want to know the column name when double clicking on a particular line .If the the fieldname is 'MATNR' then i want to check that column name.
        If anybody have any idea plz terply me.
    Thanking you neon

    for that you have to use the USER_COMMAND event.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = sy-repid
       I_CALLBACK_USER_COMMAND      = 'USER_COMMAND'
       IT_FIELDCAT                       = it_fcat
      TABLES
        t_outtab                          = itab
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    FORM USER_COMMAND using ucomm type sy-ucomm
                                                   selfield type slis_selfield.
    data: fieldname(30).
    case ucomm.
    when '&IC1'.
    case selfield-fieldname.
       when 'MATNR'.
        message 'clicked on Matnr' type 'I'.
       when 'POSNR'.
       endcase.
    endcase.
    ENDFORM.

  • Double-click on text in dialog programming

    Hi,
    I have a screen on which I have created a TEXT button and I want to respond it to double click event.
    I have selected the attribute 'Respond to Double click' and in the GUI status under F2 put the code 'PICK' and changed in the PAI logic of the program to process certain steps if 'ok-code = 'PICK'.
    and it is working fine, when I double click the text button, the ok_code is 'PICK' and the req. steps are carried out. But the problem is, when I single click on the text button also, ok_code is becoming 'PICK' and the same steps are carried out. I want the text button to respond only to double click event not single click.
    Pls. let me know how do I achieve it.
    Thanks in advance,
    Vishnu priya

    Hi Priya,
    To best of  my knowledge it is not responding to double click, it it responding to your first click only, then you continue clicking the second time by that time the control goes back to application server withinn which time no user actions are accepted until the control passes back to the presentaion server.
    that is why we can not distinguish between single and double click.
    try double clicking on SE38 DISPALY or CHANGE Buttons they also respond and it will not give you a message saying DON'T DOUBLE CLICK ME etc.
    this is to best of my knowledge.
    regards
    Ramchander Rao.k

  • Single (instead of Double) click for af:table editingMode="clickToEdit"

    Hi all,
    My af:table has editingMode="clickToEdit".
    A row becomes editable by double clicking on it - this is a default.
    How can I overide this editable behaviour with ONLY SINGLE click instead of Double?
    Thanks.

    Ok, I can overirde the selection listener,
    but inside that method I do not want to: setEditingMode("editAll");
    I still want the table to have editingMode="clickToEdit".
    But I want with only one click (instead of double) the row to be editable.
    So one row editable at the time.
    But only one click to show input fields.
    The tabel does not have a property (number of clicks to make the row editable) that I can control.
    In RichTable class it sais:
    In "clickToEdit" mode a single row editable at a time. A row becomes editable by double clicking on it.
    Can I overide this with: one click on the row???
    And for sure I do not want to PPR the table since default double click on the table do not refresh the whole table.
    Thanks.
    Edited by: VesnaS on 15-Jan-2010 10:47 AM

  • Double Clicking the Home Button

    We all know that when the iTouch is playing music and it goes into sleep mode you can tap the home button twice which brings up the volume controls AND the slider control with the option of unlocking the iTouch. If you tap the home button once it brings up only the slider control (no volume controls).
    I suggest that Apple should do away with the double click to bring up the volume controls when the iTouch is in sleep mode. Why not allow the volume controls to be brought up with just a single click along with the slider control with the option of unlocking the iTouch? This way the user can choose which function he/she wants to implement.
    Why require a double click when only a single click will do--or am I missing something? What are your thoughts?

    Don't double-click it! 
    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    Finally, if the Restore doesn't work, let the battery drain completely.  Then recharge for at least an hour and Restore again.

  • Double click to (un)check checkbox

    Hi.
    I have af:table. And every row in table has checkbox. I want to do feature that when I double click on a row checkbox has to inverse current value (true => false, false => true).
    I know how do proper double click and backing bean handling (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/56-handle-doubleclick-in-table-170924.pdf). What I don't know is how to proper implement checkbox (de)selecting.
    I have tried to get attribute binding and set value based on current value - does not work
    I have tried to simulate clicking on checkbox with JavaScript - does not work
    I have bound my checkbox to backing bean and with methods getValue() and setValue() and AdfFacesContext.getCurrentInstance().addPartialTarget(checkbox) updated it - does not work
    I have also tried to set ppr on iterator with test all three above scenarios - does not work
    This my checkbox attribute is transient on ViewObject. And a type of String ("0" = false, "1" = true) and LOV made like here (http://theo.vanarem.nl/2010/07/07/adf-checkbox-representing-a-yes-or-no-value/)
    Any ideas how to do proper checkbox selecting from backing bean?

    I have tried
    AdfFacesContext.getCurrentInstance().addPartialTargeton whole table, on only bounded RichSelectBooleanCheckbox attribute and also on clientEvent.getComponent() without luck.
    My code snippet looks like:
        private RichSelectBooleanCheckbox indicator;
        private RichTable table;
        public void handleTableDoubleClick(ClientEvent clientEvent) {
            indicator.setValue(true);
            AdfFacesContext.getCurrentInstance().addPartialTarget(clientEvent.getComponent());
            AdfFacesContext.getCurrentInstance().addPartialTarget(table);
            AdfFacesContext.getCurrentInstance().addPartialTarget(indicator);
    ...indicator have binding with checkbox on page and also table on rich table on page.
    Regards

  • Access 2013: can't find language dll msain.dll when double-clicking acce-file in explorer

    Hi,
    When I want to open an acce-file by double-clicking it in Windows explorer it get the error:
    'Can't find Language DLL msain.dll'
    The strange thing (IMO) is that when I open the accde-file from within Access, it opens fine. Also clicking on the accde-file in the 'recent'-part of the pinned to the taskbar Access-icon, opens the file just fine.
    (Office 2013 - 32 bit on Windows 7 - 64 bit)
    Anyone know a solution for this behaviour?

    Hi,
    To the error massage, copy msain.dll from another computer and place inside the %installdir%/1033 folder.
    If it's not work, I recommend you repair Access.
    Thus, there are similar issues, we can refer to :
    http://answers.microsoft.com/en-us/office/forum/officeversion_other-word/cant-find-language-dll-msaindll/b3209bb4-af25-422d-a393-4e6ae1ed773f
    http://answers.microsoft.com/en-us/office/forum/office_2010-excel/unable-to-open-xlsx-documents-by-double-clicking/709af137-cc20-4ece-8c0d-fd6d4d09c26a
    Regards,
    George Zhao
    TechNet Community Support

  • Double-clicking to select directory in JFileChooser

    Hi, I have a JFileChooser that will not let the user descend the directory structure unless... get this, they double-click REAL fast. On the other hand, if the user selects the directory and then clicks "Open," that works fine i.e. the contents of that directory are displayed. They should also be able to double-click on the directory name, however, to do the same thing. Only by double-clicking really fast can they do so. I'm running Redhat 9 and have tried adjusting mouse click settings under Preferences but no luck. Additionally, I am only using the default behaviour for this widget, which is FILES_ONLY. Anyone else having this experience and/or know of a workaround? Thanks.

    Oh, and one other thing: If the user double-clicks on the name of a file or directory, it allows the user to rename that file or directory. Any way to turn that off since this is just for a menu item "Open File" and I don't want them being to edit names. Thx!

  • How to get "double click" as an event in Module Pool

    Dear Experts,
    Being new to ABAp, I am struck in a problem.
    I want to get double click as an event in my module pool program.
    On the screen I have two input/output fields. The attributes of them are as below:
    1) 1st I/O field Attributes:
    Name: WA_AUFN-A
    Dropdown: List box
    Display: Resp. to DblClk = Checked
    1) 2nd  I/O field Attributes:
    Name: IT_AUF-A
    Dropdown: No drop down box
    Display: Resp. to DblClk = UN- Checked
    I get some data populated in 1st I/O field in list display.
    My Requirement:
    As I select one of the data from the 1st I/O field and double click on it, then what I want is that the same selected data
    should appear in the 2nd I/O field.
    So I want to know how can I capture "Double click as an event".
    Can any1 help me out.
    Regards
    Chandan

    Hi Chandan,
    below is the explanation.
    for example if u have 2 screen fields VBAK-VBELN & VBAK-VKORG.
    VBAK-VBELN has some value say 1000. based on this one u have to fill VBAK_VKORG.
    Data: l_f_field like HELP_INFO-DYNPROFLD,
            l_f_value like vbak-vbeln.
    case pick.
    GET CURSOR FIELD l_f_field.
    with this u will get to know on which field user is double clicked. so, in this case l_f_filed will have a value of VBAK-VBELN
    if l_f_field = ''VABK-VBELN' and
      l_f_value = '1000'. "this is optional, based on ur requirement
    VBAK-VKORG = '0780'. "fill here
    endif.
    endcase.
    Let me know if it is not clear.
    Regards,
    Prasad

Maybe you are looking for

  • Documentation on Creating Sales Order using Web Services

    hi, I can goto ESA Preview system using SAPGUI and create a sales order (using va01 transaction). I tried to do the similar thing using the WebService (Create Sales order), but have lots of problems. ->Fields used in WebServices are not in sync with

  • HR Configuration guideline.

    Hi, I am moving from ABAP to HR functional, can any body help me in this regard to be a HR certified? I can work as HR power user but I don't know about the configuration? thanks Syed Tayab Saha

  • All Windows VM - Virtual Disk Service start/stop every minute

    Dear all I recently discovered that all my Windows VM's (2003/2008/2008R2) start and stop the virtual disk service: System Log File: 08:37:27 Virtual Disk Service --> Service started 08:37:27 Service Control Manager --> The Virtual Disk service enter

  • CS4 messing up span column layouts from idml

    Hi, I've tried searching for this, and although I'm sure there must be topics discussing the issue, I can't seem to find any. Please point me in the direction if this has featured already. I've got a large 400page document created in CS6 that uses th

  • How do I run a labview executable from C++

    I have an application written in C++ that runs some VIs in the Labview Development Environment. I'm using Labview 6.02 and VisualC++ and the runtime engine is installed. What I want to do is not use the LDE and just call the LV executable from C++. I