Thumbnail view of  tabs in JTabbedPane

Hi all,
I am doing a desktop app . In my app i am using JTabbedPane . In order to view the contents of all tabs in one shot,i need to bring the JPanel in each tab into a single frame,that contains a scrollbar.i.e,something like a thumbnail view of all the tabs.Is it possible to do so? Since i have several components like button, textbox,images,etc in each tab,and have set the layout property of the panel to null,i cannot reduce the size of the panel to thumbnail size.I have set layout property of jpanel in each tab to null,because i have enabled dragging of objects like buttons,textarea,images,etc.Can anyone help me to sort out this problem.
Thanks in advance
Ravisenan

Ok - you only gave iPhoto '11 - I assumed up to date
Glad you found it anyway
You are welcome
LN

Similar Messages

  • Thumbnail view of tabs in tabbedpane

    Hi all,
    I am doing a desktop app . In my app i am using JTabbedPane . In order to view the contents of all tabs in one shot,i need to bring the JPanel in each tab into a single frame,that contains a scrollbar.i.e,something like a thumbnail view of all the tabs.Is it possible to do so? Since i have several components like button, textbox,images,etc in each tab,and have set the layout property of the panel to null,i cannot reduce the size of the panel to thumbnail size.I have set layout property of jpanel in each tab to null,because i have enabled dragging of objects like buttons,textarea,images,etc.Can anyone help me to sort out this problem.
    Thanks in advance
    Ravisenan

    Ok - you only gave iPhoto '11 - I assumed up to date
    Glad you found it anyway
    You are welcome
    LN

  • When I open a new tab, I want to see a thumbnail view of few recent pages. How to set that?

    My friend uses Google Chrome browser, and when he openes a new tab he can see on it a thumbnail view of 6 or 8 recent visited pages. Vith a simple click on each of them he can revisit that pages.
    I do not want to change my default browser (Firefox) but want to have that option.

    There are several add-ons that allow you to do this, such as [https://addons.mozilla.org/en-US/firefox/addon/777/ New Tab Homepage] and [https://addons.mozilla.org/en-US/firefox/addon/2221/ NewTabURL].

  • Focus-requests when switching tabs in JTabbedPane

    I have a tabbed pane with a JTextArea in each tab. I would like to switch focus to the corresponding area each time I select a tab or create a new one. A ChangeListener can detect tab selections and call requestFocusInWindow() on the newly chosen tab's text area.
    For some reason, the focus only switches sporadically. Sometimes the caret appears to stay, sometimes it only blinks once, and sometimes it never appears. My friend's workaround is to call requestFocusInWindow() again after the setSelectedIndex() calls, along with a Thread.sleep() delay between them. Oddly, in my test application the delay and extra focus-request call are only necessary when creating tabs automatically, rather than through a button or shortcut key.
    Does the problem lie in separate thread access on the same objects? I tried using "synchronized" to no avail, but EventQueue.invokeLater() on the focus request worked. Unfortunately, neither the delay nor invokeLater worked in all situations in my real-world application. Might this be a Swing bug, or have I missed something?
    Feel free to tinker with my test application:
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    /**Creates a tabbed pane with scrollable text areas in each tab.
    * Each time a tab is created or selected, the focus should switch to the
    * text area so that the cursor appears and the user can immediately type
    * in the area.
    public class FocusTest2 extends JFrame {
         private static JTabbedPane tabbedPane = null;
         private static JTextArea[] textAreas = new JTextArea[100];
         private static int textAreasIndex = 0;
         private static JButton newTabButton = null;
         /**Creates a FocusTest2 object and automatically creates several
          * tabs to demonstrate the focus switching.  A delay between creating
          * the new tab and switching focus to it is apparently necessary to
          * successfully switch the focus.  This delay does not seem to be
          * necessary when the user fires an action to create new tabs, though.
          * @param args
         public static void main(String[] args) {
              FocusTest2 focusTest = new FocusTest2();
              focusTest.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              focusTest.show();
              //Opens several tabs.
              for (int i = 0; i < 4; i++) {
                   try {
                        //adding the tab should automatically invoke setFocus()
                        //through the tabbed pane's ChangeListener, but for some
                        //reason the focus often doesn't switch or at least doesn't
                        //remain in the text area.  The workaround is to pause
                        //for a moment, then call setFocus() directly
                        addTabbedPaneTab();
                        //without this delay, the focus only switches sporadically to
                        //the text area
                        Thread.sleep(100);
                        setFocus();
                        //extra delay simply for the user to view the tab additions
                        Thread.sleep(1900);
                   } catch (InterruptedException e) {
         /**Adds a new tab, titling it according to the index of its text area.
          * Using "synchronized" here doesn't seem to solve the focus problem.
         public static void addTabbedPaneTab() {
              if (textAreasIndex < textAreas.length) { //ensure that array has room
                   textAreas[textAreasIndex] = new JTextArea();
                   //title text area with index number
                   tabbedPane.addTab(
                        textAreasIndex + "",
                        new JScrollPane(textAreas[textAreasIndex]));
                   tabbedPane.setSelectedIndex(textAreasIndex++);
         /**Constructs the tabbed pane interface.
         public FocusTest2() {
              setSize(300, 300);
              tabbedPane = new JTabbedPane();
              //Action to create new tabs
              Action newTabAction = new AbstractAction("New") {
                   public void actionPerformed(ActionEvent evt) {
                        addTabbedPaneTab();
              //in my real-world application, adding new tabs via a button successfully
              //shifted the focus, but doing so via the shortcut key did not;
              //both techniques work here, though
              newTabAction.putValue(
                   Action.ACCELERATOR_KEY,
                   KeyStroke.getKeyStroke("alt T"));
              newTabAction.putValue(Action.SHORT_DESCRIPTION, "New");
              newTabAction.putValue(Action.MNEMONIC_KEY, new Integer('T'));
              newTabButton = new JButton(newTabAction);
              Container container = getContentPane();
              container.add(tabbedPane, BorderLayout.CENTER);
              container.add(newTabButton, BorderLayout.SOUTH);
              //switch focus to the newly selected tab, including newly created ones
              tabbedPane.addChangeListener(new ChangeListener() {
                   public void stateChanged(ChangeEvent evt) {
                        //note that no delay is necessary for some reason
                        setFocus();
         /**Sets the focus onto the selected tab's text area.  The cursor should
          * blink so that the user can start typing immediately.  In tests without
          * the delay during the automatic tab creation in main(), the cursor
          * sometimes only blinked once in the text area.
         public static void setFocus() {
              if (tabbedPane == null) //make sure that the tabbed Pane is valid
                   return;
              int i = tabbedPane.getSelectedIndex();
              if (i < 0) //i returns -1 if nothing selected
                   return;
              int index = Integer.parseInt(tabbedPane.getTitleAt(i));
              textAreas[index].requestFocusInWindow();
    }

    Did you ever get everything figured out with this? I have a similar problem ... which I have working, but it seems like I had to use a bunch of hacks.
    I think the problem with the mouse clicks is because each event when you click the moues (mousePressed, mouseReleased, mouseClicked) causes the tab to switch, and also these methods are called twice for some reason - for a total of 8 events giving the tab the focus instead of your textarea.
    This works, but seems aweful hacky:
         class TabMouseListener extends MouseAdapter
              private boolean switched = false;
              public void mousePressed( MouseEvent e ) { checkPop( e ); }
              //public void mouseReleased( MouseEvent e ) { checkPop( e ); }
              //public void mouseClicked( MouseEvent e ) { checkPop( e ); }
              public void checkPop( MouseEvent e )
                   if( e.isPopupTrigger() )
                        mousex = e.getX();
                        mousey = e.getY();
                        int index = tabPane.indexAtLocation( mousex, mousey );
                        if( index == -1 ) return;
                        tabMenu.show( tabPane, mousex, mousey );
                   else {
                        if( !switched )
                             switched = true;
                             e.consume();
                             int index = tabPane.indexAtLocation( e.getX(), e.getY() );
                             if( index != -1 )
                                  tabPane.setSelectedIndex( index );
                                  TabFramePanel panel = (TabFramePanel)tabPane.getComponentAt( index );
                                  if( panel != null ) panel.getInputComponent().requestFocus();
                        else {
                             switched = false;
                             TabFramePanel panel = (TabFramePanel)tabPane.getSelectedComponent();
                             if( panel != null ) panel.getInputComponent().requestFocus();
         }Do you know of a better way yet?
    Adam

  • Can i insert an image in the View responses tab for each formula ?

    In the View responses tab, i would like to insert an image as a thumbnail for each formula to identify my products for a multiple products survey. Is it possible ?

    Hi;
    There is no support for displaying an image or thumbnail in the View Responses table.
    Thanks,
    Josh

  • In Photoshop Express, cannot sort images in album by filename in thumbnail view (for slideshow)l.

    In Photoshop Express, I want images to appear sorted by filename.  In the "view as a table" it sorts fine.  When I revert to the thumbnail view, the arrangement is random.  The dropdown "show" list does not offer an option for showing by filename.  If I select the"custom" option, it means I would need to sort 300 images by filename MANUALLY (!!!), a job that a computer does in milliseconds.  Anyone with a solution?  Thanks.

    fwiw, with my images in the 'Folder Location' view the photos are in order by their Windows filename. That is the same order as the hardcopy album the photos came from. So I then created a PSE Album. I selected all my photos and moved them into that album. The order of the pictures was retained in the Album. That worked out great. I wanted my PSE images to be in the same order. I thought I would do it with tags. But creating an album seems to work just fine.

  • How do I move page order in Thumbnails view in the new pages? (which is driving me nuts btw)

    I'm really struggling with the new pages, having used the old version so much I just can't get the hang of this one - so much has changed:( Really wish I hadn't bothered but now have too many documents created in it that I can't open on old version as it doesn't let you (mump mump - well I am scottish).
    So in the old version I used thumbnail view to move about the order of the pages (really useful when making up artwork for magazines etc). Anyone know how to do it on the new version?
    Also can't seem to view document in '2 up' - 2 pages side by side (also very handy for magazines etc).
    Also the tables facility doesn't let you move borders of individual cells - you can only move the whole column - I can't even select them.
    I could go on but will go before I start the 'pages shake'.

    Hilary,
    Scottish or not, your best option is to retreat to the last good version of the app, Pages '09.
    Cut your losses.
    Jerry

  • Is there any way to view two tabs at the same time w/o opening a new window?

    I would like to view one tab while I am working in another. I can do it by opening one of the tabs in a new window and tiling both windows on the screen. Is there any way to do it within one window?

    Just installed Split Panel and it looks like it will do exactly what I want.
    Thanks,
    (Don't know how this got in here twice. I'd like to delete it but can't figure out how to.)

  • Why can I no longer copy and paste a page in the thumbnails view?

    We used to be able to copy and paste, even edit the order of the pages in thumbnail view. Why has ALL of this functionality been removed?! Or is there some special way to do it now that isn't as intuitive?

    Pages '09 should still be in your Applications/iWork folder.
    Pages 5 has had 90+ features removed and a load of bugs added.
    Any sensible user will just say "Pass!"
    Peter

  • New Pages no longer allows SECTIONS (in thumbnail view window) to be re-arranged like before?

    New Pages no longer allows SECTIONS (in thumbnail view window) to be re-arranged like before? You could drag and drop sections within your document the same way you could drag and drop pages in Preview's PDF documents. So how do you re-arrnage your document now?
    ALSO
    You used to be able to duplicate/copy a section/page by draging it with OPTION-LEFT-CLICK to a space below or above in the thumbnial window. The same way it works in PREVIEW in a PDF document. Did I miss something or is this also a bug?!
    These were extremely helpful to me and I hope many others. Can anyone help!?
    Thanks :-)

    Apple has removed over 90 features from Pages 5.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder.
    Archive/trash Pages 5 and rate/review it in the App Store, then get back to work.
    Peter

  • How to get thumbnail view in File-Open

    When I go to File-Open I would like my directories to come up in thumbnail view right away, instead of having to click on the View icon and then on Thumbnails. Is there any way to make this view the default?
    Thanks

    On Tue, 22 Jan 2008 18:33:05 -0800, [email protected] wrote
    in <[email protected]>:
    >John, I changed my Windows default folder view to Thumbnails and
    >rebooted, but PSE6 still opens with a list of files, not Thumbnails. Is
    >there a step I haven't done?
    No, I gave you bad advice -- relied on something I had heard without
    checking it myself -- sorry. I've now done some checking, and there
    doesn't appear to be any way to do what you want. What I do is open My
    Pictures, which I've configured for Thumbnail View, and then drag and
    drop into PSE.
    Best regards,
    John Navas
    Check for answers to your questions at
    http://help.adobe.com/en_US/PhotoshopElements/6.0/
    Lots of useful help there,

  • View standard tabs in BP transaction

    Hi Experts,
            I have a requirement to view standard tabs on BP transaction which are not visible.
    For Eg:
    While Creating Business partner with role as (BP General) I could see the following tabs :- Address , Address Overview , Identification , Control , payement Transaction , Long text , Marketing Attributes ,Status , Documents tabs respectively.
    But while creting Business partner with role as (Finincial Services BP ) I could see differenet set of tabs.
    My requirement is if there is a tab name Ratings available on (Finincial Services BP ), I want that tab to be visible on ( BP General screen), i.e I want Ratings tab to be also visible on BP creation screen when the role in (BP general).
    Please letme know the respective SPRO settings or is there some other settings which I am supposed to do.
    Help will be appreciated.
    Thanks and regards
    Sourabh Verma

    Hi,
    For thsi go to transaction SPRO. Follow the path Cross application components -> sap business ppartner -> business partner -> basic settings -> define bp roles.
    Here double click  on the role and click on hide flag.
    Smita.

  • How do I get the Questions to show in the 'View Responses' TAB, and then show up in the Summary Report?

    How do I get the Questions to show in the 'View Responses' TAB, and then show up in the Summary Report?

    There are more than one Applications folders. At the root level of your system is an Applications folder for all users, where most installations go. Every user, including you, also has a separat Applications folder.
    Check all of them.

  • Scroll bar stuck on Thumbnail view

    Whenever I am using the scroll bar to scroll in the thumbnail
    view ,which is set to large, the scroll bar gets stuck. When I
    place my mouse on the bar and move it up and down it does not stop
    and jumps to different places in the thumbnail view - I can't seem
    to control it. I have tried turning on the libary and clicking
    around in it, but this does not fix the problem. The only solution
    I have found is to shut Captivate 2 down and start it again. Any
    suggestions?

    Hello queenlooners,
    I spoke with some of my colleagues and unfortunately there does not seem to be a way to disable the scroll bar. There have been other discussions on the forums such as overlaying the scroll bar or embedding it in a sub-panel.
    Jacob R. | Applications Engineer | National Instruments

  • How can i see the previews of a folder's images from the Thumbnail View?

    I mean, in windows XP if you set the Thumbnail View, inside the icon of the folder you can see the preview of the images inside ( like this http://mowd.idv.tw/LonghornPDC/folder_preview.JPG )...
    Is there a way to do it on Mac OS X? Maybe some plug-in, some file manager: anything...i often have to check out thousands of photos to find the reference for an illustration, and it's pretty frustrating having to open up every folder...
    Thanks in advance
    iMac 24"   Mac OS X (10.4.9)  

    but none of these two options allows me to see a folder's images BEFORE opening it...
    You want to go back and try that again... just right click on the folder - you don't have to open it - and choose 'Show In PicturePopPro2'.
    Check out the icons on the menu bar - you can get a contact sheet view, move from shot to shot using the arrow keys... it'll do what you want.
    Regards
    TD

Maybe you are looking for

  • Does the Apple TV play "animated" GIF files or just "static"?

    I know it supports GIF images, but I want to make sure it actually plays them. Thanks

  • MacBook Display Will Not 'Remember' Brightness

    Okay, so I finally went out and bought a black one. Since the Core2 models came out, it came to me at a great price. I'm very happy with it after a RAM upgrade to 2GB and after I turned down the screen brightness. The machine remembered my screen bri

  • Not displaying images/css

    I am running apache2 with tomcat5 on a redhat linux box. I am trying to setup virtual hosts to serve. When I try to use my test.benefitserver.com virtual host, the images, css, etc files that apache serves don't display. My images, css & html files a

  • Communication Failing with Corrupted Chars . Sql Server 2000 and AS400

    Hi Experts, I am facing this below error after 9 yrs. sql server 2000 and As400 on prod server. while on dev and stage it's running properly. Here username is ABCD, while it's showing BCD The OLE DB provider "MSDASQL" for linked server "" reported an

  • ORACLE8 SERVER RELEASE 8.0.4 ENTERPRISE EDITION NEW FEATURES

    제품 : ORACLE SERVER 작성날짜 : 2004-08-16 Oracle8 Server Release 8.0.4 Enterprise Edition New Features ============================================================ 97.12월 Solaris용 Oracle8.0.4가 출시된 것을 필두로 Q3 중에 Major Platform용 Oracle8.0.4가 나올 것으로 예상됩니다. 8.