MULTIPLE SELECTION of Jlist only with mouse

I want select many items of Jlist but I need make only with the mouse.
I cann�t use keyboard.
I don�t know how do it, because I selected
listSelectionModel.MULTIPLE_INTERVAL_SELECTION
but I need do a click in the first item and press key shif + click in the last item.
but I must do a program only with the mouse.
how I can make it?
thanks

hi,
heres a quick and dirty version:
set an ListSelectionModel at your List that overwrites the DefaultListSelectionModel class like this:
ListSelectionModel selectionModel = new DefaultListSelectionModel() {
int anchor = -1;
public void setSelectionInterval(int index1, int index2) {
if( index1 == index2 ){
if( anchor = -1 ) anchor = index1;
super.setSelectionInterval(anchor, index2);
}else {
super.setSelectionInterval(index1, index2);
public void setValueIsAdjusting(boolean b) {
super.setValueIsAdjusting(b);
if(!b) anchor = -1;
as long as single list entries should be selected, while the mouse is dragged ( valueIsAdjusting ), the entry is added to a selection range instead.
I didnt compile the code, so maybe there are some syntax struggles.
if you want to do it the hard and stoney way you have to implement a new ui class, that accomplish your needs.
regards,
stefan

Similar Messages

  • Multiple selection in DISPLAY only ALV GRID

    Hi,
    I would like to make the rows of the ALV Grid Display only at the same time I would like to make multiple selection possible.
    Multiple selection is possible by giving EDIT = 'X' at the layout level. But then if we give EDIT = ' ' at the fieldcatalogue level or no_input = 'X' at the layout level it is still in Editable mode. Kindly help me.
    Thanks

    Hi,
    Setting and getting selected rows (Columns) and read line contents
    You can read which rows of the grid that has been selected, and dynamic select rows of the grid using methods get_selected_rows and set_selected_rows. There are similar methods for columns.
    Note that the grid table always has the rows in the same sequence as displayed in the grid, thus you can use the index of the selected row(s) to read the information in the rows from the table. In the examples below the grid table is named gi_sflight.
    Data declaration:
    DATA:
    Internal table for indexes of selected rows
    gi_index_rows TYPE lvc_t_row,
    Information about 1 row
    g_selected_row LIKE lvc_s_row.
    Example 1: Reading index of selected row(s) and using it to read the grid table
      CALL METHOD go_grid->get_selected_rows
        IMPORTING
          et_index_rows = gi_index_rows.
      DESCRIBE TABLE gi_index_rows LINES l_lines.
      IF l_lines = 0.
        CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
             EXPORTING
                  textline1 = 'You must choose a valid line'.
        EXIT.
      ENDIF.
      LOOP AT gi_index_rows INTO g_selected_row.
         READ TABLE gi_sflight INDEX g_selected_row-index INTO g_wa_sflight.
        ENDIF.
      ENDLOOP.
    Example 2: Set selected row(s).
      DESCRIBE TABLE gi_index_rows LINES l_lines.
      IF l_lines > 0.
        CALL METHOD go_grid->set_selected_rows
            exporting
              it_index_rows = gi_index_rows.
      ENDIF.
    Make an Exception field ( = Traffic lights)
    There can be defined a column in the grid for display of traffic lights. This field is of type Char 1, and can contain the following values:
    1 Red
    2 Yellow
    3 Green
    The name of the traffic light field is supplied inh the gs_layout-excp_fname used by method set_table_for_first_display.
    Example
    TYPES: BEGIN OF st_sflight.
            INCLUDE STRUCTURE zsflight.
    TYPES:  traffic_light TYPE c.
    TYPES: END OF st_sflight.
    TYPES: tt_sflight TYPE STANDARD TABLE OF st_sflight.
    DATA: gi_sflight TYPE tt_sflight.
      Set the exception field of the table
        LOOP AT gi_sflight INTO g_wa_sflight.
          IF g_wa_sflight-paymentsum < 100000.
            g_wa_sflight-traffic_light = '1'.
          ELSEIF g_wa_sflight-paymentsum => 100000 AND
                 g_wa_sflight-paymentsum < 1000000.
            g_wa_sflight-traffic_light = '2'.
          ELSE.
            g_wa_sflight-traffic_light = '3'.
          ENDIF.
          MODIFY gi_sflight FROM g_wa_sflight.
        ENDLOOP.
      Name of the exception field (Traffic light field)
        gs_layout-excp_fname = 'TRAFFIC_LIGHT'.
      Grid setup for first display
        CALL METHOD go_grid->set_table_for_first_display
          EXPORTING i_structure_name = 'SFLIGHT'
                                  is_layout               = gs_layout
          CHANGING  it_outtab                 = gi_sflight.
    Color a line
    The steps for coloring a line i the grid is much the same as making a traffic light.
    To color a line the structure of the  table must include a  Char 4 field  for color properties
    TYPES: BEGIN OF st_sflight.
            INCLUDE STRUCTURE zsflight.
          Field for line color
    types:  line_color(4) type c.
    TYPES: END OF st_sflight.
    TYPES: tt_sflight TYPE STANDARD TABLE OF st_sflight.
    DATA: gi_sflight TYPE tt_sflight.
    Loop trough the table to set the color properties of each line. The color properties field is
    Char 4 and the characters is set as follows:
    Char 1 = C = This is a color property
    Char 2 = 6 = Color code (1 - 7)
    Char 3 = Intensified on/of = 1 = on
    Char 4 = Inverse display = 0 = of
         LOOP AT gi_sflight INTO g_wa_sflight.
          IF g_wa_sflight-paymentsum < 100000.
            g_wa_sflight-line_color    = 'C610'.
          ENDIF.
          MODIFY gi_sflight FROM g_wa_sflight.
        ENDLOOP.
    Name of the color field
    gs_layout-info_fname = 'LINE_COLOR'.
    Grid setup for first display
    CALL METHOD go_grid->set_table_for_first_display
          EXPORTING i_structure_name = 'SFLIGHT'
                                 is_layout                = gs_layout
          CHANGING  it_outtab                 = gi_sflight.
    Refresh grid display
    Use the grid method REFRESH_TABLE_DISPLAY
    Example:
    CALL METHOD go_grid->refresh_table_display.
    ALV Grid Control with column and row selection
    Selecting and Deselecting Rows
    Use
    Depending on where the ALV grid control is used, there are various methods for selecting and deselecting cells and rows:
    If no pushbuttons are displayed on the left edge of the list:
    You can only select one row at a time.
    You can select multiple rows.
    If pushbuttons are displayed on the left edge of the list:
    You can select several rows or individual cells.
    You can select several rows as well as several cells or individual cells.
    Procedure
    If no pushbuttons are displayed on the left edge of the list, you select a row by clicking an entry in the row.
    If pushbuttons are displayed on the left edge of the list, you select a row by clicking the pushbutton on the relevant row.
    In this case, you select the relevant cell by selecting the entry in the row.
    In both cases:
    To select several rows, press the Shift button and choose the cells as described above.
    Adjacent rows:
    Select a row, choose Shift or Control, and select the desired rows,
    or
    Choose Shift, and select the first and the last of the desired rows,
    or
    Select a row, keep the mouse button pressed, and pass over the desired rows.
    Rows that are not adjacent:
    Select a row, choose Control, and select the desired rows.
    All rows:
    You can only select all rows at once if pushbuttons are displayed on the left side of your list. To select all rows, choose .
    To deselect individual rows, press the Ctrl button and click the relevant row.
    Result
    The selected cells have an orange background. The position of your cursor is indicated with a yellow background.

  • Unable to select text in cell with mouse?

    Hi everyone,
    I am not sure where to log this one, let me know if you think there is a better place for this question.
    A user is unable to highlight the text in the cells/input box using her mouse. She could do that last week so something has changed, certainly on her PC. I don't think the problem is purely SAP related as if I use my SAP account when logged on to  her PC, with her AD credentials I get the same problem. When logged on with my AD credentials I don't get the issue.
    Selecting the text using the keyboard by selecting shift+arrows (left or right) works; the text remains hilghlighted. When using the mouse we left click on the left of the text in the cell and hold to highlight the entire text, for example, and let go when reaching the end of the word; at that point the text doesn't remain highlighted.
    I have checked OSS Notes, Microsoft (XP) forums and user setting on the PC (Accessibility options) and so far have not found anything describing the same problem. I woudl apreciate if anyone coudl suggest anything?
    More info: SAP GUI 7.10 Level 14, ERP 6.0 (Support Stack 18), transaction used for testing ME2N but the issue occurs in all cells. OS = XP Pro, Office 2003 SP3 installed (FilterKeys off and "Typing Replaces Selection" ok in Word/Outlook, start up program only Oulook and SAP GUI)
    Thank you
    Coco

    Hi,
    I guess the option "Quick cut and Paste" in SAP GUI was enabled and that the reason when you select any text with mouse it does not highligjted but gets copied automatically. If you dont want this then you can uncheck the tick mark.
    Regards,
    Sharath

  • Multiple selection using JLists

    (I put this question in the wrong forum, so there is a cross post but because it is in the wrong one)
    I have a JList that needs to allow for multiple slection of items, when i run the program I can select multiple items, BUT it only recognises that I have selected one of the items, the first one.
    Why is this and how can I store the selected Items in seperate strings so that I can use them.
    Any One know?
    Cheers

    Cross-post: http://forum.java.sun.com/thread.jspa?threadID=607480
    Again, please don't cross-post.
    Why shouldn't you cross-post? Well, look what happened yesterday: You posted the same message in the Swing forum, the Collections forum, and the Java Programming forum. Several people noticed about the same time, and now the thread in the Java Programming forum has a reply that points to the thread in the Collections forum, and the thread in the Collections forum has two replies that came about the same time, one pointing to the Swing forum and one pointing to the Java Programming forum. And people started to give you advice on how to solve your problem in both the Collections forum and in the Swing forum. This mess makes it very difficult for people to follow what is going on, and people will also spend unnecessary time posting a reply in one forum, where exactly the same thing already has been said by some other poster in another forum.

  • Multiple selection in JList

    How can I set up a JList that always uses multiple selection. That is, it acts as though the CTRL key is held down when the user selects items.

    Here's an example of multi-selection in a listbox, but using the shift key
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.applet.*;
    public class Multi extends Applet implements KeyListener
         List list = new List(5, true);
         public void init()
              createGUI();
              setSize(300,300);
              this.setVisible(true);
         public void createGUI()
              for (int j = 0; j < 20; j++)
                   list.addItem("TESTING MULTI-SELECTION IN A LIST");
              add (list);
              list.addKeyListener(this);
         public void keyReleased(KeyEvent e)
              int key = e.getKeyCode();
              if (key == KeyEvent.VK_SHIFT)
                   int itm[] = list.getSelectedIndexes();
                   for(int i = itm[0]; i < itm[1]; i++)
                        list.select(i);
         public void keyTyped(KeyEvent e){}
         public void keyPressed(KeyEvent e){}
    }

  • C3 - Multiple Selection is not working with pencil...

    Hello Guys,
    Pencil key is not working for multiple selection while ctrl key is working.
    Can any1 guide me how to do muliple selection......

    There was an issue with messaging in the original software on the C3, so make sure that you are up-to-date. To check your software version try *#0000#
    Latest software release for Nokia C3-00 is 08.63
    Your service provider may not have the latest nokia version available, but make sure you have the most recent you can get.
    Menu > Settings > Phone> Phone Updates > Downl. phone software

  • Multiple selection in value help  with Web service

    Hi All,
    I want to get data from web service and store in data base. I created input form with set of inputfields. For some input filds in that input form, I want to get value from web service.So I have used value help wizard. I followed below link to create value help wizard for web service.
    Value help wizard working with java web service ?
    While creating value help, it is only showing 'single selection' option. It does not showing any other options. Here I want to get multiple values from value help. How can I acheive this?.
    Thanks,
    Venkatesh R

    Hi Venkat,
    Try the below links for value help in visual composer.
    Visual Composer: Value Help Data Service
    Choosing Multiple Values within Visual Composer
    http://help.sap.com/saphelp_nw04s/helpdata/en/50/91db4238bbf140e10000000a1550b0/frameset.htm
    Regards
    Basheer

  • Multiple select parameter with each selected value covering multiple sub values

    Hello, everyone,
    In my SSRS report, I need to set a multiple select parameter called Group, with values: group1 group2, etc....
    When group1 is selected, it needs to apply to data of certain sub groups: sub-group1, sub-group2;
    When group2 is selected, it needs to apply to data of different sub groups: sub-group3, sub-group4 and sub-group5;
    when both group1 and group2 are selected, then, it needs to apply to data of sub-group1 to sub-group5.
    I know how to do it when only one group is selected: simply use a case statement in the query to select the right sub groups based on the group selected.
    But I don't know a good way to do it when multiple groups are selected.
    Any help, pointers are much appreciated. Thanks in advance!
    Regards

    Hi QQFA,
    If I understand correctly, there are two parameters (Group and Sub_group) in the report. When we select group1 in Group parameter, it will auto select sub-group1, sub-group2 in the Sub_group parameter; when we select group2 in Group parameter, it will auto
    select sub-group3, sub-group4 and sub_group5 in the Sub_group parameter; when we select both all, it will auto select all sub_group values. If I have misunderstood, please don't hesitate to let me know.
    In this scenario, we can create a temporary table with Group and Sub_group columns, then select Sub_group column values based on the Group field. For more details, please see:
    Create a dataset with the query below:
    CREATE TABLE #temp([group] nvarchar(50),sub_group nvarchar(50))
    INSERT INTO #temp VALUES     ('group1','sub-group1'),('group1','sub-group2'),('group2','sub-group3'),('group2','sub-group4'),('group2','sub-group5')
    SELECT * FROM  #temp
    where [group]  in (@Group)
    Set available values and default values of Sub_group parameter with get values from the sub_group field in the new dataset.
    Note that the two parameters are all multiple parameters.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How can i display Value in Report which i select from Multiple select list

    Dear All,
    i am using multiple select List in form with report page.
    When i create new Entry with select Multiple value in Multiple Select List then in report Value display me in below format
    my SQL Query are
    select NAME D, CODE R from  COUNTRY_MAS WHERE ACTIVE_FLG ='Y' order by NAME
    AS:AI:AG:AM these are return value .i want to display NAME in report .
    How can i do this ?
    Thanks
    Edited by: Vedant on Apr 25, 2012 11:14 PM

    Short answer, use the apex_util.string_to_table to convert to a table; then you can either iterate through the table to generate a string of names, or accomplish the same with a bulk operation.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDFEEJD
    Encapsulate all this within a pl/sql function.

  • Using multiple select lists in ADF

    Hi,
    I am trying to use a multiple select list in my JSP page, and have a method in the ApplicationModule be called when the Struts action is called. I am following the example ADF tutorials, where the method is added to the ApplicationModule class, then dragged onto the Stuts Flow diagram (to associate it with an action).
    I am able to create a dyna form bean for the page that contains the multi select as a type "java.lang.String[]" (string array). I am able get that values that were selected in a normal action's "execute" method. For example:
    msf = (DynaActionForm) form;
    String[] statusSelection = (String[]) msf.get("multSelectList");
    However, I cannot seem to get the "multSelectList" values into a method in my Application Module class. The "multSelectList" is defined in my dynaFormBean as a String[] type. I am passing it in as an argument like the following....
    public void setParams(String multSelectList[]) {
    This results in the method not being called at all. I am not sure why. Does this have something to do with a String[] not being serializable??
    However, if I just attempt to pass other types form items to the method, it works. For example:
    public void setParams(String simpleCheckbox) {
    Does anyone know how to use multiple select lists in conjunction with ADF?
    P.S.
    my multSelectList looks something like this:
    <select name="multSelectList" multiple size="5">
    <option value="ALL">Select All</option>
    <option value="preferred">Preferred</option>
    <option value="standard">Standard</option>
    <option value="approved">Approved</option>
    <option value="interim">Interim</option>
    </select>

    I got this working by changing the signature of the Application Module method to use ArrayList rather than String[], then you can marshal the Struts FormBean contents into an ArrayList to pass up.
    To do this, subclass the DataAction by using "Go To Code" off of the context menu and then override the initializeMethodParameters() method:
      protected void initializeMethodParameters(DataActionContext actionContext, JUCtrlActionBinding actionBinding)
        //Get the String Array from the Form Bean
        String[] selection = (String[])((DynaActionForm)actionContext.getActionForm()).get("multiSelect");
        //convert that to an ArrayList
        ArrayList selectionArr = new ArrayList( Arrays.asList(selection));
        //Add that object to the Arg List for the AM method
        ArrayList params = new ArrayList();
        params.add(selectionArr);
        actionBinding.setParams(params);
      }

  • Why is there no functionality for multiple select of continuous icons in icon view?

    I have just switched to my first mac.  I admit I am experiencing growing pains switching over from a PC.  I am already overcoming many of these, but I have one issue in particular that for the life of me, I don't know why apple engineers left out.
    Why is it that I can select continuous multiple items by clicking "shift + first icon" and "shift + last icon" in the finder in list, column, and cover flow views, but NOT in the icon view?
    I realize a work-around for this would be to use a selection box and then to de-select the images I don't want.  This is the best option I have at this point, but honestly, I am extremely dissapointed that I have to even have a "work-around."  Simply put, this should not be an issue.
    I prefer icon view when superficially browsing my photos because I can see all my photos at the same time and change the thumbnail size.  There is no view besides icon view that has easy access to changing thumbnail size.  Therefore, there is no view at all that offers the functionality of changing thumbnail size AND selecting multiple items.  This functionality is standard in PC operating systems for icon view.  The multiple select in combination with changing thubmnail size is also extremely useful for me when transferring select files to external devices.  For example...I may be giving files to a family member on their jump drive.  As a teacher, I am often exchanging jump drives with other teachers for class photos, documents, etc., and being able to visually spot the items I want and to use continuous select is sometimes the easiest way to search within a folder.
    I called in to apple technical support and most of the people I spoke with were surprised to see that this functionality had been "left out" of the icon view in the finder.
    If the multiple select functionality cannot be added to icon view, it would be nice if the slider for changing thumbnail size was available in list or column view.  That way, I could at least have multiple select functionality in conjuction with the option of enlarging items.
    Please participate in this thread if you want this functionality added to the finder icon view!

    Matthew Morgan wrote:
    PVfanatic wrote:
    I realize a work-around for this would be to use a selection box and then to de-select the images I don't want.  This is the best option I have at this point, but honestly, I am extremely dissapointed that I have to even have a "work-around."  Simply put, this should not be an issue.
    I don't think that Apple thinks that's a workaround.  It is the way one goes about selecting multiple icons.
    It's a Mac/Windows difference that can be frustrating to new comers to the Mac.  I can promise you that, with time, you'll get used to it!
    Still, as macjack suggests, let Apple know what you think.
    Matt
    It may be a Mac/Windows difference, but Apple are not being consistent with their UI because in both Aperture and iPhoto you can do Shift-click to select multiple items in thumbnail view which, apart from the name, is the same interface type as icon view in Finder.
    Like the OP, I find this frustrating, not because I use Windows as well (at work) but because of the above and because it just seems illogical not to be able to do this when you can in all the other views in Finder. Oh, and Linux allows Shift-click multiple select too.

  • How can I select multiple cells in tableview with javafx only by mouse?

    I have an application with a tableview in javafx and i want to select multiple cells only by mouse (something like the selection which exists in excel).I tried with setOnMouseDragged but i cant'n do something because the selection returns only the cell from where the selection started.Can someone help me?

    For mouse drag events to propagate to nodes other than the node in which the drag initiated, you need to activate a "full press-drag-release gesture" by calling startFullDrag(...) on the initial node. (See the Javadocs for MouseEvent and MouseDragEvent for details.) Then you can register for MouseDragEvents on the table cells in order to receive and process those events.
    Here's a simple example: the UI is not supposed to be ideal but it will give you the idea.
    import java.util.Arrays;
    import javafx.application.Application;
    import javafx.beans.property.SimpleStringProperty;
    import javafx.collections.FXCollections;
    import javafx.collections.ObservableList;
    import javafx.event.EventHandler;
    import javafx.geometry.Insets;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.SelectionMode;
    import javafx.scene.control.TableCell;
    import javafx.scene.control.TableColumn;
    import javafx.scene.control.TableView;
    import javafx.scene.control.cell.PropertyValueFactory;
    import javafx.scene.input.MouseDragEvent;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.VBox;
    import javafx.scene.text.Font;
    import javafx.stage.Stage;
    import javafx.util.Callback;
    public class DragSelectionTable extends Application {
        private TableView<Person> table = new TableView<Person>();
        private final ObservableList<Person> data =
            FXCollections.observableArrayList(
                new Person("Jacob", "Smith", "[email protected]"),
                new Person("Isabella", "Johnson", "[email protected]"),
                new Person("Ethan", "Williams", "[email protected]"),
                new Person("Emma", "Jones", "[email protected]"),
                new Person("Michael", "Brown", "[email protected]")
        public static void main(String[] args) {
            launch(args);
        @Override
        public void start(Stage stage) {
            Scene scene = new Scene(new Group());
            stage.setTitle("Table View Sample");
            stage.setWidth(450);
            stage.setHeight(500);
            final Label label = new Label("Address Book");
            label.setFont(new Font("Arial", 20));
            table.setEditable(true);
            TableColumn<Person, String> firstNameCol = new TableColumn<>("First Name");
            firstNameCol.setMinWidth(100);
            firstNameCol.setCellValueFactory(
                    new PropertyValueFactory<Person, String>("firstName"));
            TableColumn<Person, String> lastNameCol = new TableColumn<>("Last Name");
            lastNameCol.setMinWidth(100);
            lastNameCol.setCellValueFactory(
                    new PropertyValueFactory<Person, String>("lastName"));
            TableColumn<Person, String> emailCol = new TableColumn<>("Email");
            emailCol.setMinWidth(200);
            emailCol.setCellValueFactory(
                    new PropertyValueFactory<Person, String>("email"));
            final Callback<TableColumn<Person, String>, TableCell<Person, String>> cellFactory = new DragSelectionCellFactory();
            firstNameCol.setCellFactory(cellFactory);
            lastNameCol.setCellFactory(cellFactory);
            emailCol.setCellFactory(cellFactory);
            table.setItems(data);
            table.getColumns().addAll(Arrays.asList(firstNameCol, lastNameCol, emailCol));
            table.getSelectionModel().setCellSelectionEnabled(true);
            table.getSelectionModel().setSelectionMode(SelectionMode.MULTIPLE);
            final VBox vbox = new VBox();
            vbox.setSpacing(5);
            vbox.setPadding(new Insets(10, 0, 0, 10));
            vbox.getChildren().addAll(label, table);
            ((Group) scene.getRoot()).getChildren().addAll(vbox);
            stage.setScene(scene);
            stage.show();
        public static class DragSelectionCell extends TableCell<Person, String> {
            public DragSelectionCell() {
                setOnDragDetected(new EventHandler<MouseEvent>() {
                    @Override
                    public void handle(MouseEvent event) {
                        startFullDrag();
                        getTableColumn().getTableView().getSelectionModel().select(getIndex(), getTableColumn());
                setOnMouseDragEntered(new EventHandler<MouseDragEvent>() {
                    @Override
                    public void handle(MouseDragEvent event) {
                        getTableColumn().getTableView().getSelectionModel().select(getIndex(), getTableColumn());
            @Override
            public void updateItem(String item, boolean empty) {
                super.updateItem(item, empty);
                if (empty) {
                    setText(null);
                } else {
                    setText(item);
        public static class DragSelectionCellFactory implements Callback<TableColumn<Person, String>, TableCell<Person, String>> {
            @Override
            public TableCell<Person, String> call(final TableColumn<Person, String> col) {         
                return new DragSelectionCell();
        public static class Person {
            private final SimpleStringProperty firstName;
            private final SimpleStringProperty lastName;
            private final SimpleStringProperty email;
            private Person(String fName, String lName, String email) {
                this.firstName = new SimpleStringProperty(fName);
                this.lastName = new SimpleStringProperty(lName);
                this.email = new SimpleStringProperty(email);
            public String getFirstName() {
                return firstName.get();
            public void setFirstName(String fName) {
                firstName.set(fName);
            public String getLastName() {
                return lastName.get();
            public void setLastName(String fName) {
                lastName.set(fName);
            public String getEmail() {
                return email.get();
            public void setEmail(String fName) {
                email.set(fName);

  • Selecting multiple files with mouse now wonky

    Using Windows 8.1 on HP machine
    All updates up-to-date
    Hardware: Microsoft Intellimouse Explorer 3.0
    Explorer Folder Option selected: Single-click to open an item (point to select); Underline icon titles only when I point on them
    Display: Detail list (Ctrl + Shift + 6)
    No touch input
    Here's the problem: For as long as I have used windows, I can select multiple files by pressing ctrl-left mouse button. If I want to select multiple consecutive files, I move my cursor down to the last file in the list and press shift-left mouse button.
    If I want to select multiple files that are not listed consecutively, I move my cursor along the list of files and press ctrl-left mouse button to select each individual file.
    This does not work for me any longer and I do not know why.
    Often I will press ctrl-left mouse click and the file will not select. When I move my mouse away from the file I've selected, it will UN-select. If I continue to press the CTRL key while attempting to select another file and float my mouse cursor down the
    list of files to select ONE single file further in the list, ALL the files in between the first file I click and the final file will become selected.
    Moving the mouse cursor carefully and steadily to select individual files yields varied results; sometimes I can select individual files; sometimes, I can click multiple times to select an additional file and the file will not become selected. More often
    than not, I will select several files and earlier files will become unselected.
    Extremely frustrating.
    I have been a Windows user since version 3.1 and this has never happened to me. I have been a Windows 8.1 user for over a year now and this is a new wrinkle. I have done system restore multiple times and it has not solved the problem. I have uninstalled
    Intellipoint/Microsoft Keyboard & Mouse center and reinstalled and the problem has not solved. I have checked every setting for my mouse in the mouse center and cannot see a setting that imposes this feature.
    Changing folder options to Double-click to open an item (single click to select) solves the problem. I am able to navigate and organize my files the way I always have. Only happens when single-click feature is enabled. Please note: I have been using the
    single-click select feature since Windows XP.
    Your guidance and actual solution to this irritant is appreciated.

    Hi,
    During my test, I cannot repro this issue even I configure the same setting with you. Maybe a hardware issue or software issue.
    Does this issue happen to other mouse?
    Can you test in safe mode to check how it works?
    Alex Zhao
    TechNet Community Support

  • If I select multiple images to apply a change to all Aperture it does so only with the first selected. Why?

    If I select multiple images to apply a change to all openings it does so only with the first selected. Why?

    You probably have Primary Selection only on.
    Aperture identifies the images you’ve selected by displaying them with a white border. When you select a group of images, the actively selected image, called the primary selection, appears with a thick white border and the rest of the selected images appear with thin white borders.
    Primary Only button: Click this button to make changes to the primary image selection only.

  • How can I create a XMP List with multiple selection

    Hello,
    I try to build my own XMP custom panel. Herefore I need a couple of lists with the possibility for multiple selections (e.g. the choice for one language or multiple languages).
    But how is it possible to integrate a list into a panel? There is no XMPList inside the custom folder. I have experimented with the standard mx:list and an array collection for data binding into the list. But how can I write the user selection into an XMP field? Example: In the List the user choose three languages (DE, EN, FR). Is it possible to collect the choice into a string and to write the result into an XMP standard field (e.g. dc:description)?
    A further question is, if it's possible to use the "HTTPService" to bind an external xml-file with the languages and other informations into the panel or is it only possible to work with an array collection inside the code?
    Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <fi:XMPForm
              xmlns:mx="http://www.adobe.com/2006/mxml"
              xmlns:fi="com.adobe.xmp.components.*" width="100%" height="100%"
              xmlns:Iptc4xmpCore ="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
              label="XMP-Custom Panel"
              initialize="ds.send()"
              >
         <!-- Each namespace prefix that is used within an xmpPath-attribute,
               MUST BE registered at the top of EACH panel where it is referenced -->
         <fi:XMPNamespaces>
              <fi:XMPNamespace prefix="dc" value="http://purl.org/dc/elements/1.1/"/>
         </fi:XMPNamespaces>
         <fi:XMPForm>
              <mx:HBox width="100%" height="26" verticalAlign="middle">
                   <mx:HRule width="50%"/>
                   <mx:Label text="Allgemeine Metadaten" fontSize="12" fontWeight="bold"/>
                   <fi:XMPSeparator width="50%"/>
              </mx:HBox>
              <fi:XMPFormItem
                        label="Titel"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
                   <fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
              </fi:XMPFormItem>
              <fi:XMPFormItem
                        label="Titel"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
                   <fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
              </fi:XMPFormItem>
              <fi:XMPFormItem
                        label="Druckkennzeichen"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
                   <fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
              </fi:XMPFormItem>
              <fi:XMPFormItem
                        label="Verfasser"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%">
                   <fi:XMPComboBox xmpPath="dc:creator" width="100%"/>
              </fi:XMPFormItem>
              <fi:XMPFormItem
                        label="Versionsnummer"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
                   <fi:XMPComboBox xmpPath="dc:creator" width="100%"/>
              </fi:XMPFormItem>
              <mx:HBox width="100%" height="26" verticalAlign="middle">
                   <mx:HRule width="50%"/>
                   <mx:Label text="Enthaltene Sprachen" fontSize="12" fontWeight="bold"/>
                   <fi:XMPSeparator width="50%"/>
              </mx:HBox>
              <!-- Beginn der Auswahl-Liste für die Sprachen -->
                 <mx:Script>
            <![CDATA[
                import flash.events.MouseEvent;
                import mx.controls.Alert;
                import mx.collections.ArrayCollection;
                private const NL:String = "\r";
                // A data provider created by using ActionScript
                [Bindable]
                private var subscriptions:ArrayCollection =
                    new ArrayCollection
                            {data:0, label:"Deutsch"},
                            {data:1, label:"Englisch"},
                            {data:2, label:"Französisch"},
                            {data:3, label:"Italienisch"}
                [Bindable]
                private var market:ArrayCollection =
                    new ArrayCollection
                            {data:0, label:"(Bitte Marktversion auswählen)"},
                            {data:1, label:"Marktversion Deutsch (M_DE)"},
                            {data:2, label:"Marktversion Englisch (M_EN)"},
                            {data:3, label:"Marktversion Frankreich (M_FR)"},
                            {data:4, label:"Marktversion Italien (M_IT)"}
                [Bindable]
                private var documenttyp:ArrayCollection =
                    new ArrayCollection
                            {data:0, label:"(Bitte Dokumenttyp auswählen)"},
                                  {data:1, label:"Gebrauchsanweisung"},
                            {data:2, label:"Ersatzteilkatalog"},
                            {data:3, label:"Service-Anleitung"},
                            {data:4, label:"Etikett"}
            ]]>
        </mx:Script>
                    <fi:XMPFormItem label="Sprachauswahl" width="100%">
                    <mx:List
                        id="userSubscriptions" rowCount="4"
                        allowMultipleSelection="true" width="100%"
                        dataProvider="{subscriptions}"
                    />
                </fi:XMPFormItem>
                    <mx:Text text="* Mehrfachauswahl möglich." fontWeight="normal" fontSize="10"/>
                <!-- Ende der Liste für die Auswahl von Sprachen -->
              <fi:XMPFormItem
                        label="Marktvariante"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
                   <fi:XMPComboBox xmpPath="dc:creator" width="100%" dataProvider="{market}"/>
              </fi:XMPFormItem>
              <fi:XMPFormItem
                        label="Dokumenttyp"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
                   <fi:XMPComboBox xmpPath="dc:creator" width="100%" dataProvider="{documenttyp}"/>
              </fi:XMPFormItem>
              <fi:XMPFormItem
                        label="Stichworte"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%">
                   <fi:XMPTextArea/>
              </fi:XMPFormItem>
              <mx:HBox width="100%" height="26" verticalAlign="middle">
                   <mx:HRule width="50%"/>
                   <mx:Label text="Metadaten Photoshop" fontSize="12" fontWeight="bold"/>
                   <fi:XMPSeparator width="50%"/>
              </mx:HBox>
              <fi:XMPFormItem
                        label="Originalname FA"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%" id="PS1">
                   <fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
              </fi:XMPFormItem>
              <fi:XMPFormItem
                        label="Fotoauftragsnummer"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%" id="PS2">
                   <fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
              </fi:XMPFormItem>
              <fi:XMPFormItem
                        label="Interne Anmerkungen"
                        labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%" id="PS3">
                   <fi:XMPTextArea/>
              </fi:XMPFormItem>
              <mx:Text text="* hier steht eine kleine Erläuterung" fontWeight="normal" fontSize="10"/>
         </fi:XMPForm>
    </fi:XMPForm>
    Any suggestions?
    Thank you in advance.
    Markus

    Hi Markus,
    the FileInfo SDK does not offer a ready-made list component allowing for multi-selection.
    So you would need to implement one using the FileInfo SDK API. Your component "XMPList" would inherit from mx:list and would need to implement the XMPRead and XMPWrite events and talk to the XMP using the IXMPAccess interface within those event handlers.
    Please have a look at the Programmer's Guide, section "XMP Flex components" and at the API description available in "docs" for further guidanc.
    Hope this helps
    Kind Regards
    Jörg
    Adobe XMP

Maybe you are looking for

  • How to use BPM itegrate different system aysnchronously

    for example, 3 enterprise applications need to be integrated together with BPM, which are Bid system, ERP system, Finance system, and erery business document should be approved  by persons one by one in the 3 different application system with its wor

  • Roles not shown after entering SCCM 12 product key

    Hi all, We were using SCCM 2012 as evaluation and it was fully configured for our production environment.It was not used for some time and then we discovered that it has been expired so,now we have entered the product key.After entering the product k

  • Lenovo Ideapad U260 Multi-touc​h trackpad problem

    Hello, I'm from Mexico, I bought a Lenovo Ideapad U260 on a trip to the U.S.A. I fell in love with this powerfull little laptop inmediately, but I don't know if it has a driver issue or im just too clumsy about the multi-touch glass trackpad. How do

  • REMINDER FIELD IN MATERIAL MASTER LINK WITH PO

    Sir, In Purchasing Views there is Purchase view in which we put reminder 1,2,3 How is this linked with po and how are alerts been send regards ameY

  • Gallery and camera update for Belle FP2.

    I just installed the update which is available today via software update using Nokia Suite. I'm happy that I got back the mark option to send multiple files. There's an extra preference option provided in camera but it is still taking time for the ca