Selecting Multiple Images from Scroll Pane

Hi,
I am quite a newbie to Java GUI and can't find a good example on something I wish to do. I got a scroll pane which actually loaded images as a Label. I do this program to upload the images. I already manage to upload the images somehow. But now the problem is I wish to remove the images from the scroll pane. It will be something like this.
1. Try to put a check box on each JLabel with the image.
2. Select multiple JLabel images by selecting the check boxes.
3. Click on the "Remove" button will remove those JLabel Images which has a check box "checked"
What I am not too sure is,
how can I be able to detect a group of checkboxes which is checked inside the scroll pane. So that I can actually removes them from the scroll pane. Can anyone show me a good example for it?

Keep the check boxes in a Collection of some sort. Iterate through it, calling isSelected() on each box.
Or, add a listener to the checkboxes so that a list of selected images is updated whenever a box is checked or unchecked.
One of these may suit better than the other depending on circumstances.

Similar Messages

  • Can I somehow let the user select multiple images from device?

    Is there any way to let the user select multiple images from the device media gallery?
    The CameraRoll only selects one image. And the FileRefernceList doesn't show thumbnails (so you have no idea what you are selecting).
    Is there a way, or maybe some sort of workaround, for this? Is there a way to maybe "read" the users gallery on the SD-card and output your own gallery that the user can select from?
    I'm developing towards both Android and iOS so cross-plattform is a must.
    Thank you guys

    +1 to this question. I'm looking to do the same thing but haven't had any luck yet.

  • Can you edit multiple images from a PDF in photoshop?

    I scan a lot of old publications with images and drawings. The images are in greyscale, but my scanner produces better results set to color. As such, I have to convert the images to greyscale in Photoshop from Acrobat. I have several PS actions that make this process easier, but I wish there was a way to select multiple images from a page or PDF file and run the actions on them (a batch) instead of one at a time. Is there? Or perhaps another method than what I am doing?

    I recommend that you scan first, save as TIFF, do any desired correction, and only then make PDFs. Scanning direct to PDFs is great for simple uncomplicated workflows, but a liability when correction is needed.

  • Unable to select multiple images for upload

    I have Windows 7 Pro and FF 9.0
    I have an online store and am always uploading product photos for items I have listed. I recently switched from XP Pro to Windows 7 Pro. I had no issues with XP. However, now that I have Windows 7 Pro I am unable to select multiple images for upload when using FF. I can only select one image at a time.
    The issue is unique to FF. I have tried in several other browsers, and FF is the only one that I am unable to select multiple images from.
    I had FF 8.0.1 and upgraded to 9.0... hoping that would resolve the issue. It did not. I have restarted my computer several times which has also had no effect.

    Hi,
    Welcome to the    Discussions
    I see it is about 6 hours since you posted, so I guess you will get this when you wake. (I'll be sleeping then)
    This would be better asked in the forum for Using Leopard inside the Leopard Category sating which browser and which site it was.
    (it probably made lots of sense to you when you were typing it but it seems a little short in facts or workable info.)
    8:43 PM Wednesday; March 24, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
    Message was edited by: Ralph Johns (UK)

  • Issues when selecting multiple images in LR6.

    I've noticed a few changes to how LR6 behaves when I select multiple images.
    First, if I select a few images in the Library view, I am only essentially "stuck" in those images when I press the left or right arrow keys. In previous versions of LR, hitting the left or right arrow would move to image on either side of the selected images. Now I'm only able to endlessly scroll through the selected images and I have to press the up or down arrow to get out of the selected images. Is there a way to change it back to how it used to work?
    Second, and I think this is related to the first issue, I used to be able to select all images in a collection, press the down arrow and I'd end up at the last image in a collection. Now, it no longer works.
    Anyone else notice either of these things? Have you found a way to change it back to how it's always been?
    Thanks!

    Interesting. I just went back to LR5.7 (Mac) and confirmed that it behaves just like I originally said, but LR6 does not. Maybe Windows has always been this way? Regardless, any input from Mac users?

  • Selecting multiple images to edit the source code

    Hi. Does anyone know if there's a way to select multiple
    images in a table and change there source code. The reason why I
    ask is that I recently decided to organize my assets folder by
    adding subfolders. Naturally, this makes my images appear as broken
    links. It's a pretty big site that I'm working on and I would like
    to know if there is a faster way than just selecting them one by
    one.

    If you would have created the folders within DW itself (file
    management), and moved images from one
    folder to the other, the links would have been adjusted
    automatically. Carrying out changes like
    this outside of DW will create broken links as you have
    found.
    Did you backup the original site, if so, and have a lot of
    broken links, it maybe worthwhile, going
    back to the original and use the file management to
    rename/create new folders and move your assets
    that way.
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    CSS Tutorials for Dreamweaver |
    http://www.adobe.com/devnet/dreamweaver/css.html
    "lordcornwallis" <[email protected]> wrote
    in message
    news:gpqni2$3io$[email protected]..
    > Hi. Does anyone know if there's a way to select multiple
    images in a table and
    > change there source code. The reason why I ask is that I
    recently decided to
    > organize my assets folder by adding subfolders.
    Naturally, this makes my
    > images appear as broken links. It's a pretty big site
    that I'm working on and
    > I would like to know if there is a faster way than just
    selecting them one by
    > one.
    >

  • I am trying to import photo's on i photo.  It downloads all of the pictures on my camera, how do i only select the photos i want?  Is there a way to do this without selecting one photo at a time? is there a way to select multiple images?  thanks!

    I am trying to import photo's on i photo.  It downloads all of the pictures on my camera, how do i only select the photos i want?  Is there a way to do this without selecting one photo at a time? is there a way to select multiple images?  thanks!

    To select consecutive images click and drag the cursor over multiple thumbnails to select all at once.
    To select multiple images that are randomly located hold down the Command(⌘) key and click on those images you want to select.
    Or to select consecutive images from a list of images that are together hold down the Shift key and and click on the first photo you want to select and the on the last photo you want in the list.
    OT

  • MDM: Search for images in the dialog window "Select Multiple Images"

    Hi,
    are there possibilities to search for images in the dialog window "Select Multiple Images" (if you want to add a image to a record)?
    I know the possibilities to sort the images and the possibilities with the data groups. But I don't know a possibilities to search for a single image.
    Thanks for any help!
    Best regards, Melanie

    Hi,
          From the question you asked; its not much clear what your clear requirement is; but if its what i get then the solution is:
          How is that you want to select the image? With Image view or By viewing the image itself ? For it when u select "Select Multiple Images" you can find two as "Available Images" and "Selected Images" and in between u can find some buttons, after "All, Add, Remove and None" you can find two buttons "Thumb Nail" and "view Details". I think you can use these buttons for your solution.
          When you select "Thumb Nail" button you can see the image in real and select the image.  OR you can select "View Details" and check the file name or path or the requirement as required.
          CHARAN
    Lead, follow or Get out of way

  • Select Multiple Images

    For some reason, I can't get LR to make changes to multiple images. For example: I select multiple images and apply the same rating and it only does one image. Same thing for deleting. Also, I select multiple images to use a external noise reduction and it also one uses one image.
    I am wondering if I have a setting turned off somewhere to prevent it from applying changes to multiple images.
    Thanks

    That did the trick.
    Thanks

  • When selecting multiple images in LR 5.2 on Mac, how do I delete all selected photos?

    Based on http://forums.adobe.com/thread/1308132?tstart=0 I decided to add each question seperately:
    Hello, I'm quite interested in buying Lightroom 5.2. I tried the RC which ran out now. Yet, I have a several questions that I can't really find good conclusive answers to, that I'd like to get answered before buying LR. Please don't write maybe like this or that (assumptions), since I don't want to start my whole workflow and then realize that I have to change everything around, so please answer, if you know for sure that something works and you are, preferably, using that method too.
    When selecting multiple images in LR 5.2 RC on my Mac, using the Filmstrip view, how do I delete all selected files using a shortcut (as opposed to the right-click context-menu > remove selected photos)? Details: Using backspace asks me if I want to delete it, I choose from disk, but it just deletes individual photos, so if I have 3 selected, I need to do this 3 times.

    Many users (including me) will thank you for saving us the trouble of looking for this description in the manual. Seriously!
    However, if something performs unexpectedly, if it's not a bug, it's at least a user-inconvenience.
    When an unexpected result like this occurs in a product, often the documentation writer is given the task of writing the workaround into the docs. That's not a great way to fix bugs permanently, even if it does help in the short term. So, it's probably a good idea to point to where in the documentation it seems that the product-performance problem is smoothed over, when filing the report/request.
    Feature enhancement requests and bugs are filed the same way. And, developers do listen to requests. Many features in many Adobe products originated in feature requests. However, product managers and, financial-management folks above them, who have some power to decide where to expend resources, set the priorities. Adobe's new subscription model is supposed to release some of the pressure on developers to meet a new release deadline every-so-often, where a whole bunch of product improvements is revealed, and instead, under the idea of making constant improvements available through more-frequent updates, users will get results sooner.
    dj_paige wrote:
    peter at knowhowpro wrote:
    Have you considered filing a bug report or feature enhanacement request (depends if the develoopers think it's a bug or "as designed") here: LR-WISHFORM
    As far as I know, this is not a bug, this is a feature of Lightroom (although I can't explain why anyone would want Lightroom to operate this way). You can find text in the Lightroom Manual that clearly explains tha operations performed on selection of photos in the Filmstrip is different than the same operation performed on photos selected in the Grid.

  • Selecting Multiple Images to Copy - Fragmented Image

    Hello!
    I made a pdf out of a powerpoint presentation on a friend's windows computer. I am now trying to extract an image that I lost while editing on my computer. The problem I have run into is that the image was fragmented into multiple pieces in the PDF (1 image is now 3 parts). I cannot seem to select all of the images and do "copy images" as you can with one part.
    I can select all the pieces with the touchup object tool and edit them in illustrator and then manipulate them but this is very much the long way around.
    Since I have to do this with many graphics, I am trying not to take the long route. Is there a way to select multiple images and copy them? Or is there a way to select everything with the touchup object tool and just copy it to the clipboard?
    Any thoughts?
    -Mike

    I am also running into this issue. I happens in PDFs coming from all programs that our clients use to produce the PDFs. InDesign, Publisher, Word, WordPerfect.
    My question is: back in CS3 days, I could select all the images (one image that broke into any number of horizontal sections) with the TouchUp tool and select>edit objects...They would all open as one image in photoshop, I could do my edits, save and then replace what I had on the PDF with the new saved file (jpg or pdf or tiff).
    We upgraded to CS5 and now I can't do that anymore. I go into my PDF, select all parts of the image and then edit, but only the first part I selected is editable. I would like to say that it's a CS5 issue, but we had one machine, back when we all had CS3, that would do the same (not edit all the parts as one). I'm thinking it's some sort of preference or combination of preferences in both Acrobat and Photoshop, but I can't figure it out.
    I know one runaround is the "Snapshot Tool," but it was much better before when we could edit what we needed and that's it.
    Thank you for your attention,
    Leonardo Pedreros
    P.S.: Please don't judge me about Illustrator VS. Photoshop...they REFUSE to give us Illustrator at work, for some reason ($$$). If only they knew the amount of time and file size that Illustrator saves, they'd invest in 5 measly licenses.

  • You SHOULD be able to apply batch changes just by selecting multiple images

    Don't get me wrong, i love lift/stamp. It's very helpful.
    BUT, I really hate the fact that in Aperture you can't just drag-select a group of images and then either apply adjustments to all of them, or –more often– keywords.
    Why does Aperture keep you from doing this?
    At the very least, you should have the OPTION in PREFS to do this. Or not.

    I'm sorry you are having difficulty.
    It's simple: you select multiple images, right?. One has a thick white border and the others have thin ones. But, even though you have multiple images selected, if you input keywords, or other metadata, or an adjustment from the Inspector, it only applies to the "primary" image.
    There should be an option to have that be the case... OR, if you want, to apply whatever adjustment from the INSPECTOR you choose... and have that be applied to those multiple images.
    "...why would anyone be likely to want to see each single adjustment step applied to a large number of images before settling on the preferred combination?"
    Because everyone's not you.
    I just shot 100+ table tops that were VERY similar lighting / angles / etc. And I needed to comp them out for the client ASAP. The technique I described would've saved me a lot of time. Instead I had to do ONE image of the mini-batches, and then lift/stamp the rest. When it would've been so much easier for me to drag-select the 8, or 15 in a group, and assign them all keywords at the same time, and do some adjustments. Bam. Quicker.
    Oh, and per the "what is the universe" question? You don't have to look any further than Apple's own operating system to see this "crazy" and "unique" technique in action: go to FINDER, select multiple items of folder (drag around them), and then CTRL-Click and choose a label color. Viola! ALL the items become that color.
    Like I said, I'm only suggesting Apple provide the OPTION of working this way. And it IS the norm in most operating system / program environments.
    In fact, watch the Lynda.com vid on Aperture 3: the MetaData portion, the guy drag-selects a bunch of images and says "...now, you'd THINK you could just enter some keywords for these similar images and have them stick... you'd be wrong. You have to use lift/stamp for that. For some odd reason."

  • How to retrive multiple images from database

    Hi,
    I have to retrieve multiple images from oracle database and have to display the image in the jsp.
    I am passing imageCategoryId from the jsp.This id contain number of image in DB.
    I googled the issue and i found some solution.want to know whether what i did is correct and how i have to display the retrieved image in jsp.
    Need urgent help.Experts kindly help me.
    This is my action file.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.naming.NamingException;
    import com.image.dao.ImageDAO;
    public class GetImageServlet extends HttpServlet{
    public void doPost(HttpServletRequest req, HttpServletResponse res)
    throws ServletException, IOException{
    try{
         ImageDAO image = new ImageDAO();
    String categoryId = request.getParameter("catgId");
         bytes[] imagebyte = image.getImagesByCategoryId(categoryId);
    InputStream is = new FileInputStream(imagebyte);
    ByteArrayOutputStream bos = new ByteArrayOutputStream();
    bos.write(imagebyte);
    blobIs.close();
    catch(IOException e){
    e.printStackTrace();
    } catch(Exception excep) {
                        excep.printStackTrace();
    This is DAO file
    public byte[] getImagesByCategoryId(String categoryId) throws Exception
              PreparedStatement statement = null;
              ResultSet resultSet = null;
              StringBuffer queryBuffer = new StringBuffer();
              Blob image = null;
              String imageId = null;
              ArrayList imageIdLIst = new ArrayList();
              try {
                   this.connection = connManager.getDataSourceConnection();
                   queryBuffer.append("select image from Image_Table where image_category='"+categoryId+"'");
                   statement = connection.prepareStatement(queryBuffer.toString());
                   resultSet = statement.executeQuery();
                   while(resultSet.next()) {
                        image = rs.getBlob(1);
                        long imgLength = image.getBufferSize();
                        byte[] byteImage = new byte[imgLength];
                        byteImage = image.getBytes(1,(int)imgLength);
              } catch(Exception excep) {
                   excep.printStackTrace();
              return byteImage;
    How to display retrieved image in jsp.
    whether action and dao file is correct or what changes i have to do to correct the problem.
    P.S : As a Newbie i dont know how to use code tag for this java code.Kindly forgive me.
    Regards,
    hardlyUsed.

    hardlyused wrote:
    I have to retrieve multiple images from oracle database and have to display the image in the jsp.There are at least two parts to the problem.
    1. Get it from the database.
    2. Display it.
    Part 1 has nothing to do with part 2.
    You must solve 1 before you solve 2.
    Finally generically there is no such thing an "image" but rather there is binary data which is represented in such a way that it one of many formats that represent an "image".
    Knowing which specific format the "image" is stored in will at a minimum be helpful and could be required.

  • How do I import multiple images (from Aperture) to multiple pages in Pages?

    I can select and drag multiple images from Aperture to Pages, but they all are inserted on the same page. If I have 100 images, can I force Pages to insert one image on each of 100 pages?
    Thanks,
    Rick

    Burn for what purpose? To share with others?
    Export the photos to a folder on the Desktop. Burn that with the Finder. Result: a folder of images that any computer can read.
    Using iPhoto's Burn command creates an iPhoto Library on the disk and is suitable only for others also using the same version of iPhoto.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.
    Note that rewriteable disks do not necessarily mean that you can append files to them, and require special burning software to do so.
    Regards
    TD

  • Cannot select multiple images in iPhoto '08?

    What am I doing wrong? I want to select multiple images to either print several on a page, or publish to a gallery, but for the life of me I cannot find a view which shows me all photo thumbnails or all thumbnails in an album or all in an event. I can spin the mousewheel to singly go through them, or I can hit edit and go to full screen where I get a thumbnail bar and can select multiples and view them at the same time, but printing or publishing this selection only recognizes the first photo as selected. If I try to select View>Thumbnails, the subsequent menu options are grayed out, and the top one is "hide" even though I see no thumbnail bar. Is there something very obvious I'm missing, or has something gone awry and I should reinstall?
    <Edited by Host>
    Any one can help them?
    Thanks

    There's a slider down right of the iPhoto Window - drag it left.
    Regards
    TD

Maybe you are looking for

  • Error during upgrade phase JOB_RSUPGCUA_SHD

    Hi Everyone, We are in the process of completing a combined ERP 6.0 Upgrade / Unicode Conversion.  Our starting release is ECC 5.0 (ABAP only) and we are running Oracle 10.2.0.2 on AIX 5.3.  We are receiving the following error in phase JOB_RSUPGCUA_

  • How can I delete the TemporaryTopic using JMS C API or VC++

    Hello everybody, how can I delete the TemporaryTopic after created TemporaryTopic using JMS C API "JmsSessionCreateTemporaryTopic"? I checked the document about JMS C API, but I couldn't find any API for delete TemporaryTopic, it's really not existin

  • Getting only one coloum in alv grid

    hi ,      i m facing a very strange problem. in my report i m getting exect data in my final table but when i m going to show it, it is showing only first coloum. well problem is coming in field catalog merge, it is not appending the whole coloum hea

  • Import RFC with import table

    Hi, We are working on a web dynpro that calls a RFC that has a table as input parameter. The possible entries for this table are derived from another RFC. In our interface, a user can check these possible entries (CheckBox) thus creating multiple sel

  • IPhone refuses to join my network

    My iPone won't join my home network. It'll join any other open network I throw at it, except mine. I tried renewing the lease, turning Wi-Fi off and on and power cycling the phone. I thought this was a router issue, but my friend's G3 iBook joins my