Same size of a JPanel & a JDesktopPane

HI, can someone please tell how to set the same size of JPanel and of JDesktopPane that are in the same JFrame?, I've tried setting the size of the JPanel but when I run it the JPanel is reduced. Here is the code:
import java.awt.*;
import javax.swing.*;
public class Ventana extends JFrame{
    JDesktopPane desktop;
    public Ventana (String title){
        super(title);
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        int maxX = screenSize.width - 400;
        int maxY = screenSize.height - 400;
        setPreferredSize(new Dimension(maxX, maxY));
        JPanel desktopPane = new JPanel();
        desktopPane.setLayout(new BoxLayout(desktopPane, BoxLayout.Y_AXIS));
        JPanel panelBotones = new JPanel();
        panelBotones.setSize(maxX, maxY/2);
        JButton aceptar = new JButton("Aceptar");
        panelBotones.add(aceptar, BorderLayout.PAGE_END);
        desktopPane.add(panelBotones);
        JSeparator sep = new JSeparator();
        desktopPane.add(sep);
        desktop = new JDesktopPane();
        desktop.setSize(maxX, maxY/2);
        JInternalFrame jif = new JInternalFrame("JIF", true, true, true, true);
        jif.setSize(new Dimension(maxX-9, maxY-10));
        desktop.add(jif);
        jif.setVisible(true);
        desktopPane.add(desktop);
        setContentPane(desktopPane);
        desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
        pack();
    public static void createAndShowGUI(){
        try{
             // Set System L&F
             JFrame.setDefaultLookAndFeelDecorated(true);
             JDialog.setDefaultLookAndFeelDecorated(true);
             System.setProperty("sun.awt.noerasebackground", "true");
            //UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        catch (ClassNotFoundException e) {
           // handle exception
        catch (Exception e) {
            try{
                UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
            }catch(Exception f) {
        Ventana miVentana = new Ventana("Ventanita");
        miVentana.setLocationRelativeTo(null);
        miVentana.setVisible(true);
    public static void main(String [] args){
        java.awt.EventQueue.invokeLater(new Runnable(){
            public void run(){
                createAndShowGUI();
}

Never use setSize() when using a layout manager. Use setPreferredSize (and sometimes setMinimumSize and setMaximumSize).
If you want components to be the same size then just use a GridLayout. Of course a GridLayout will just ignore the preferred size and allocate all the space available between the two components.
Edited by: camickr on Jun 27, 2009 11:58 PM

Similar Messages

  • JSplitPane keeps right-hand component same size

    I have a JInternalFrame... on its content pane sits a JScrollPane. Viewport view of JScrollPane is set to a JSplitPane.
    I want to make it so that, when the split pane divider is pulled either way (left or right), the right-hand component stays the same size... i.e. the width of the JSplitPane grows or diminishes accordingly. Obviously you would then see this reflected in the width and position of the slider of the horizontal scroll bar of the JScrollPane.
    I'm finding this very difficult to implement. To the point that I'm wondering whether I have to subclass BasicSplitPaneUI.BasicHorizontalLayoutManager ... which itself is not clear because the ** horizontal ** layout manager can't be instantiated (although its subclass the ** vertical ** layout manager can be).
    Alternatively I'm wondering if maybe JSplitPane is just not designed for such a purpose... in which case which layout manager would be appropriate? I'm not an expert on them... but do any of them actually give you a bar of some kind by which to resize one of their components? This is the attraction of JSplitPane for me...
    Another possibility might I suppose be a 1 row x 2 col JTable... but I'd like to find a split pane solution ideally

    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.EventQueue;
    import java.awt.Point;
    import java.awt.Rectangle;
    import java.awt.event.AdjustmentEvent;
    import java.awt.event.AdjustmentListener;
    import java.awt.event.ComponentAdapter;
    import java.awt.event.ComponentEvent;
    import java.beans.PropertyChangeEvent;
    import java.beans.PropertyChangeListener;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollBar;
    import javax.swing.JScrollPane;
    import javax.swing.JDesktopPane;
    import javax.swing.JInternalFrame;
    import javax.swing.JSplitPane;
    public class SimpleJSplitPaneTest {
         public static void main(String[] a_args) {
              EventQueue.invokeLater(new Runnable() {
                   public void run() {
                        new SimpleJSplitPaneTest();
         SimpleJSplitPaneTest() {
              final JFrame f_mainFrame = new JFrame( "Simple JSplitPane test");
              f_mainFrame.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE );
              f_mainFrame.setSize(800, 400);
              JDesktopPane desktopPane = new JDesktopPane();
              f_mainFrame.getContentPane().add(desktopPane, BorderLayout.CENTER );
              desktopPane.setBackground( Color.blue );
              final JInternalFrame f_internalFrame = new JInternalFrame("New JInternalFrame", true, true, true, true );
              f_internalFrame.setResizable(true);
              f_internalFrame.setBounds(0, 0, 450, 250 );
              desktopPane.add(f_internalFrame);
              JScrollPane mainScrollPane = new JScrollPane();
              f_internalFrame.getContentPane().add(mainScrollPane, BorderLayout.CENTER );
              // rh panel of main split pane
              final JPanel f_rHPanel = new JPanel();
              // main split pane
              final JSplitPane f_mainSplitPane = new JSplitPane(){
                   public boolean isValidateRoot(){
                        boolean result = super.isValidateRoot();
                        p( "== isValidateRoot - result: " + result );
                        return result;
                   public void resetToPreferredSizes(){
                        p( "== resetToPreferredSizes" );
                        super.resetToPreferredSizes();
                   public void doLayout(){
                        int lastDivLoc = this.getLastDividerLocation();
                        int presDivLoc = this.getDividerLocation();
                        int diff = presDivLoc - lastDivLoc;
                        p( "== diff " + diff );
                        if( diff != -1 ){
                             Dimension mainPrefSize = this.getPreferredSize();
                             Dimension mainSize = this.getSize();
    //                         this.setPreferredSize( new Dimension( mainPrefSize.width + diff, mainPrefSize.height ));
    // THIS DOESN'T WORK:
    //                         this.setSize( new Dimension( mainSize.width + diff, mainSize.height ));
                             Dimension rHPrefSize = f_rHPanel.getPreferredSize();
                             Dimension rHSize = f_rHPanel.getSize();
    //                         f_rHPanel.setPreferredSize( new Dimension( rHPrefSize.width + diff, rHPrefSize.height ));
    // THIS DOESN'T WORK:
    //  Whoops! Of course it's the LEFT panel which needs to have its "pref size" or "size" altered after a divider
    // movement... but that doesn't work either... thing is, I have been experimenting with code quite a bit... best thing
    // is to ignore this "remnant" code ...
    //                         f_rHPanel.setSize( new Dimension( rHSize.width + diff, rHSize.height ));
                        p( "== doLayout" );
                        super.doLayout();
                   public void validate(){
                        p( "== validate" );
                        super.validate();
              mainScrollPane.setViewportView(f_mainSplitPane);
              // lh panel of main split pane
              final JPanel f_lHPanel = new JPanel();
              f_lHPanel.setBackground( Color.red );
              f_mainSplitPane.setLeftComponent(f_lHPanel);
              f_lHPanel.setPreferredSize( new Dimension( 300, 200 ));
              f_lHPanel.setSize( new Dimension( 300, 200 ));
              f_mainSplitPane.addPropertyChangeListener(JSplitPane.DIVIDER_LOCATION_PROPERTY, new PropertyChangeListener() {
                   @Override
                   public void propertyChange(PropertyChangeEvent pce) {
                        System.out.println( "PROP CHANGE: main div changed");
                        int lastDivLoc = f_mainSplitPane.getLastDividerLocation();
                        int presDivLoc = f_mainSplitPane.getDividerLocation();
                        int diff = presDivLoc - lastDivLoc;
    // NOTHING HERE SEEMED TO WORK
                        printSizes( "  f_lHPanel", f_lHPanel );
                        printSizes( "  f_rHPanel", f_rHPanel );
                        printSizes( "  f_mainSplitPane", f_mainSplitPane );
              f_rHPanel.addComponentListener( new ComponentAdapter(){
              public void componentResized(ComponentEvent e){
                   System.out.println( "RHPanel resized" );
                   int lastDivLoc = f_mainSplitPane.getLastDividerLocation();
                   int presDivLoc = f_mainSplitPane.getDividerLocation();
                   int diff = presDivLoc - lastDivLoc;
                   p( "  diff: " + diff );
                   Dimension mainPrefSize = f_mainSplitPane.getPreferredSize();
                   Dimension mainSize = f_mainSplitPane.getSize();
    //               f_mainSplitPane.setPreferredSize( new Dimension( mainPrefSize.width + diff, mainPrefSize.height ));
    // THIS DOESN'T WORK:
    //               f_mainSplitPane.setSize( new Dimension( mainSize.width + diff, mainSize.height ));
                   printSizes( "  f_lHPanel", f_lHPanel );
                   printSizes( "  f_rHPanel", f_rHPanel );
                   printSizes( "  f_mainSplitPane", f_mainSplitPane );
              f_mainSplitPane.setRightComponent(f_rHPanel);
              f_rHPanel.setPreferredSize( new Dimension( 500, 200 ));
              f_rHPanel.setSize( new Dimension( 500, 200 ));
              f_internalFrame.setVisible(true);
              f_mainFrame.setVisible(true);
         public static void printSizes( String name, Component comp ){
              System.out.println( name + ": size: " + comp.getSize() + "; pref size: " + comp.getPreferredSize() );
         private static void p(String s) {
              System.out.println(s);
    }as the main JSplitPane's divider is dragged right or left, I have found no way of keeping the main JSplitPane's RH component (JPanel) the same size... the problem is that if you, for example, find out the pixel change of the divider, and alter the size of main JSplitPane accordingly, it appears that a "do layout" event is called...
    I've tried quite a few permutations and various listeners... either I get an endless loop of events calling events, or the divider simply snaps back to where it was... or the "printSizes" print-outs show that things are not the sizes they appear (which of course simply means that a subsequent event occurs which changes the sizes)...
    And, as I said, I don't know how to subclass BasicSplitPaneUI.BasicHorizontalLayoutManager

  • Buttons become the same size as my image?? PLEASE HELP

    Hi guys,
    this is the second posting of this topic, as in the first one i didn't post my code properly (sorry!!!)
    My problem is that the buttons i have in the code come up as the same size as the 'Goldsmiths' Image. How can i alter the provided code to make the image stay the same size and the buttons to have the default button size?
    Thanks
    //SSPanesar
    //copyright 2005 all rights reserved
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    public class SwingApplication implements ActionListener {
    private static String labelPrefix = "Number of button clicks: ";
    private int numClicks = 0;
    final JLabel label = new JLabel(labelPrefix + "0 ");
    //Specify the look and feel to use. Valid values:
    //null (use the default), "Metal", "System", "Motif", "GTK+"
    final static String LOOKANDFEEL = "System";
    public Component createComponents() {
    JButton button = new JButton("I'm a Swing button!");
    button.setMnemonic(KeyEvent.VK_I);
    button.addActionListener(this);
    label.setLabelFor(button);
    JButton button1 = new JButton("I'm a Swing button!");
         button1.setMnemonic(KeyEvent.VK_I);
         button1.addActionListener(this);
    label.setLabelFor(button1);
    JButton button2 = new JButton("I'm a Swing button!");
         button2.setMnemonic(KeyEvent.VK_I);
         button2.addActionListener(this);
    label.setLabelFor(button2);
    JButton button3 = new JButton("I'm a Swing button!");
         button3.setMnemonic(KeyEvent.VK_I);
         button3.addActionListener(this);
    label.setLabelFor(button3);
    JButton button4 = new JButton("I'm a Swing button!");
         button4.setMnemonic(KeyEvent.VK_I);
         button4.addActionListener(this);
    label.setLabelFor(button4);
    JLabel label = new JLabel();
         URL loc = getClass().getResource("smalllogo2.gif");
         Icon icon = new ImageIcon(loc);
         label.setSize(icon.getIconWidth(), icon.getIconHeight());
    label.setIcon(icon);
    JLabel label2 = new JLabel();
         URL loc2 = getClass().getResource("SheeraAutoRepair2.jpg");
         Icon icon2 = new ImageIcon(loc2);
         label2.setSize(icon.getIconWidth(), icon.getIconHeight());
    label2.setIcon(icon2);
    * An easy way to put space between a top-level container
    * and its contents is to put the contents in a JPanel
    * that has an "empty" border.
    JPanel pane = new JPanel(new GridLayout(0, 1));
    //pane.setLayout(new FlowLayout(FlowLayout.RIGHT));
    pane.add(label);
    pane.add(button);
    pane.add(button1);
    pane.add(button2);
    pane.add(button3);
    pane.add(button4);
    pane.setBorder(BorderFactory.createEmptyBorder(
    30, //top
    30, //left
    10, //bottom
    30) //right
    pane.setBackground(Color.white);
    return pane;
    public void actionPerformed(ActionEvent e) {
    numClicks++;
    label.setText(labelPrefix + numClicks);
    private static void initLookAndFeel() {
    String lookAndFeel = null;
    if (LOOKANDFEEL != null) {
    if (LOOKANDFEEL.equals("Metal")) {
    lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
    } else if (LOOKANDFEEL.equals("System")) {
    lookAndFeel = UIManager.getSystemLookAndFeelClassName();
    } else if (LOOKANDFEEL.equals("Motif")) {
    lookAndFeel = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
    } else if (LOOKANDFEEL.equals("GTK+")) { //new in 1.4.2
    lookAndFeel = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
    } else {
    System.err.println("Unexpected value of LOOKANDFEEL specified: "
    + LOOKANDFEEL);
    lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
    try {
    UIManager.setLookAndFeel(lookAndFeel);
    } catch (ClassNotFoundException e) {
    System.err.println("Couldn't find class for specified look and feel:"
    + lookAndFeel);
    System.err.println("Did you include the L&F library in the class path?");
    System.err.println("Using the default look and feel.");
    } catch (UnsupportedLookAndFeelException e) {
    System.err.println("Can't use the specified look and feel ("
    + lookAndFeel
    + ") on this platform.");
    System.err.println("Using the default look and feel.");
    } catch (Exception e) {
    System.err.println("Couldn't get specified look and feel ("
    + lookAndFeel
    + "), for some reason.");
    System.err.println("Using the default look and feel.");
    e.printStackTrace();
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    private static void createAndShowGUI() {
    //Set the look and feel.
    initLookAndFeel();
    //Make sure we have nice window decorations.
    // JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    JFrame frame = new JFrame("SwingApplication");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //final int width=300;
    //final int height=400;
    frame.setSize(600,900);
    SwingApplication app = new SwingApplication();
    Component contents = app.createComponents();
    frame.getContentPane().add(contents, BorderLayout.CENTER);
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    }

    You still aren't using the "code" formatting tags as was suggested in your first posting in the forum.
    when i add the picture and the buttons go vertically down from the image,Well, this doesn't make sense since you are using a FlowLayout which means components will be displayed horizontally on a line, not vertically.
    If you need further help then you need to create a [url http://www.physci.org/codes/sscce.jsp]Short, Self Contained, Compilable and Executable, Example Program that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided. (ie. the code doesn't compile so we can't test it).

  • Buttons become the same size as my iamge??? PLEASE HELP!!

    Hi guys,
    I I'm trying to setup a JFrame where i have an image above some buttons. They don't necessarily have to be in the same column but for soe reason, when i add the picture and the buttons go vertically down from the image, the become the same size as the image? The following code describes my contentPane. Please help!
    public Component createComponents() {
    JButton button = new JButton("I'm a Swing button!");
    button.setMnemonic(KeyEvent.VK_I);
    button.addActionListener(this);
    label.setLabelFor(button);
    JButton button1 = new JButton("I'm a Swing button!");
         button1.setMnemonic(KeyEvent.VK_I);
         button1.addActionListener(this);
    label.setLabelFor(button1);
    JButton button2 = new JButton("I'm a Swing button!");
         button2.setMnemonic(KeyEvent.VK_I);
         button2.addActionListener(this);
    label.setLabelFor(button2);
    JButton button3 = new JButton("I'm a Swing button!");
         button3.setMnemonic(KeyEvent.VK_I);
         button3.addActionListener(this);
    label.setLabelFor(button3);
    JButton button4 = new JButton("I'm a Swing button!");
         button4.setMnemonic(KeyEvent.VK_I);
         button4.addActionListener(this);
    label.setLabelFor(button4);
    JLabel label = new JLabel();
         URL loc = getClass().getResource("smalllogo2.gif");
         Icon icon = new ImageIcon(loc);
         label.setSize(icon.getIconWidth(), icon.getIconHeight());
    label.setIcon(icon);
    JLabel label2 = new JLabel();
         URL loc2 = getClass().getResource("SheeraAutoRepair2.jpg");
         Icon icon2 = new ImageIcon(loc2);
         label2.setSize(icon.getIconWidth(), icon.getIconHeight());
    label2.setIcon(icon2);
    * An easy way to put space between a top-level container
    * and its contents is to put the contents in a JPanel
    * that has an "empty" border.
    JPanel pane = new JPanel(new GridLayout(0, 1));
    pane.setLayout(new FlowLayout(FlowLayout.RIGHT));
    pane.add(label);
    pane.add(button);
    pane.add(button1);
    pane.add(button2);
    pane.add(button3);
    pane.add(button4);
    pane.setBorder(BorderFactory.createEmptyBorder(
    30, //top
    30, //left
    10, //bottom
    30) //right
    pane.setBackground(Color.white);
    return pane;
    }

    multi-post. Please answer in this posting:
    http://forum.java.sun.com/thread.jspa?threadID=694396

  • How can two pictures of the same size still appear to be a different size? (Photoshop CS6 problem)

    I called the big webdesign file "(X)" and the image I wanted to paste in it "(Y)",
    so that you won't be confused when you read it.
    What Happened
    For the design of a webpage, I made a photoshop-file(X) with a lot of squares(X). These squares(X) had the size 9,42×9,42 centimeters.
    I measured the squares(X) carefully and also made sure the size was in centimeters, so I am sure that the size was 9,42×9,42 cm.
    My plan was to fill the squares(X) with pictures(Y). I had a map on my computer with a lot of square-sized JPG-images(Y) in it. All I had
    to do was open the pictures(Y) in photoshop, change the size into 9,42×9,42 centimeters and copy+paste them into the squares(X)
    of the webdesign. I did this before and it worked perfectly.
    But then, I opened one of the images(Y) and when I wanted to resize it, the resize-tool said it was only 3,25×3,25 centimeters big.
    I thought it was strange, so I copied+pasted it into the design-file(X) with all the squares(X) that needed to be filled. Allthough photoshop
    had told me that the squares(X) in the file were 9,42×9,42 centimeters big and the image(Y) I resized was 3,25×3,25, the "small" image(Y)
    turned out to be bigger then the squares(X). And when I resized the "small" image(Y) into 9,42×9,42 centimeters, it was even bigger
    than it was before. How can this be, and how can I still make the images(X&Y) the same size?
    What I already tried
    - I made the file of the webdesign(X) with all the squares(X) into one layer, copied the file(X) and opened a new file(X) with the same
    measurements of the old file(X). I also changed the resolution of the file(X) into pixels/centimeters instead of pixels/inches.
    Then I pasted the image(X) of the old file into the new file. I didn't work; the image(X) that I pasted in the new file was bigger and
    when I pasted the other picture(Y) in this image, the same problem was still there.
    - I also opened the picture(Y) in photoshop, made a screenshot of it and then pasted the screenshot into paint. With paint I cropped
    it again and saved it as a JPEG-file. After that, I opened the image (Y) in photoshop again. It now had the size of 11,27×11,27 centimeters.
    Then I resized the image(Y) into 9,42×9,42 cm, but it still wasn't as big as the squares(X).
    Could you help me please?
    I really don't understand why this problem is happening and I can't think of a solution because I am still quite unexperienced with photoshop
    and I also couldn't find the answer on the internet. I assume the solution is very simple, but I haven't found it yet allthough I have to finish this
    project soon and I also have to use the image(Y). So any help would be very appreciated.
    Thanks,
    Simone

    You need to understand the basic of a digital image.
    Image is recorded as pixels and image is a rectangle so many pixels wide and so many pixel high.   Pixels do not have a fixed size. The images resolution setting defines the image current pixel size.
    So for example if you have and image that is 300 pixel wide and 200 pixels high and set its dip resolution to 100DPI the image size is 3" wide and 2" high.  Set its dip setting tp 300DPI the image size becomes 1" wide by 2/3" high.  Both the 3" x 2" and the 1"x2/3" images have the same 60000 RGB Colored Pixels.
    Web pages are sized to to be so many pixel wide and so many pixel high.  Often the height is not enforced scrolling is used when viewing. 
    However image for web pages often must not exceed so many pixel wide and high for displays have a fixed resolution and a fixed number of Pixels. You want images to fit on users displays.  Users use different displays some have high resolution displays and other have low resolution displays with far fewer pixels then high resolution displays.
    Web Image are normally image that have been interpolated down in number of pixels a resampled large image so that web image will fit on a low resolution  display with limited number of pixels. The image size the user see depend on the display they are currently using. A low resolution display's image will be much larger then the same image displayed on a nexus 10 with a 300dip display. Cheep low cost Desktop LCD have a 84DIP resolution, large high cost desktop displays are not be much higher in resolution somewhere near 108DPI.   Tablets, Laptop and Phones can have much higher resolution like the nexus 10 300DPI IPS display

  • I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    I am trying to print a PDF file to a legal size paper and I would like for it to fill up the page. How do I do this? I went into the settings and changed it from letter to legal, but it's still printing out the same size. Can someone help me, please?

    Are you trying to Print to PDF or are you trying to Print a PDF file to a physical printer?

  • How to create a 4 page pdf from images - each page should open at same size

    How do I create a 4 page pdf (from 4 images - all the same size) that opens each page at  full page size?
    Thank you so much.
    Ginger
    PREVIOUS MSG:
    My goal is to create multi page pdfs that are created from images (scans of old brochures).  I receive images (scans of pages) all at the same size.
    I have been able to create the 4 pdfs (each opens at full page size) and merge into 1 pdf.  When I open that final pdf, I  see a column of 4 pages, page 1 image being larger than the remaining 3. When I  click on the left, page 1, icon,  I get the full page.  When I click on icons for pages 2 - 4, I get nothing.  The only way I can get the other pages in a full page view is to adjust the scaling after left icon is selected.  That is not what I want.
    How I created the files.
    I can either create pdf pages using Photoshop, or using Acrobat Pro itself through:
    File> Create PDF> From File and adding each of the images.  I then, for each, choose Properties> Initial View> Fit Page> Save. Then I use File> Combine> Merge Files into Single PDF> Save.
    Then I open the multi page pdf.
    I appreciate any help.
    Thank you,
    Ginger
    PREVIOUS MS

    It seems to me what you want to do is create one document which a combination of all four  and then one page of each.
    To create a Document with 4 pages combined in to one PDF.  open the first in a Series the to Edit menu and click on add pages click on next document (browse to document first) the choose attach to to end of document or add to  end of document. Repeat until you get all images added. They will end up (or should ) center in center of their own page. Save this document with a new name for now.
    Next go back to Photo shop and reduce size of images to fit desired sheet of paper (8-1/2 by 11, 8-1/2 by 14, whatever) place them side by side and row by row so you have 4 images on one page.
    now save as Pdf.
    now decide which you want to swap to the Thumbnails (the 4 on one page, or 4 individual pages.  I would use the thumbnails and make each a button that references the page in the document you save as a 4 page pdf that applies.
    Then on that page write a line saying click each illustration to see full size image (you might have to write this line while in Photoshop) then save this as PDF file
    Try out. You might have to use some javascript controls to do this. But I am not experienced in JavaScript to do this. I'm sure it cane be done.
    But note you will have to save both documents with the Thumbnails and the four page and Thumbnail page in a folder and send to prospect
    If you want just four separate pages in one Pdf just do first two paragraphs above

  • How do you use your pictures for web, iPad & smartphones? All the same size??

    i realy think back and froth about this question.
    i guess it makes sense - to use all the same size -  because newest Ipads and Iphones are with retina-screens !??
    on the other hand i use background-pictures for the website with a lenght of 1800px (it's 400 kbit) so it may slow down my the mobile version
    but i know , people always scroll and zoom into evrything with an Ipad and  smartphone ... So what to do?  What is your hint ?
    Thank you for your time ;-))
    Nachricht geändert durch Ideenautomat

    For me anyways, I 'always' create my images to the size I need and then bring them into what ever web design tool I am using wether it is Muse, Dreamweaver, Coda or a number of others. It takes a few minutes longer but I always get the results I need and expect.

  • Resizing images on two layers to the same size?

    OK, it's kind of difficult to explain but what I am trying to do is create posters in pages and I am pasting photographs in there from different layers of the same photo and then resizing them. But the trouble is getting both to the same size, is there an autosnap feature for this or something?
    I find it kind of irksome when I create an image and resize it to a specific dimension in preview then copy+paste it into a Pages document of the same dimensions and it resizes it smaller.
    How do I get it to the same size without manually dragging the corners with my mouse?
    Does that question make sense? Can anyone help?

    Actually I just found a neat way to do it in GIMP (great peice of software BTW) the question remains of how to resize it in Pages...

  • Adjusting multiple images to be the same size?

    Hi,
    I'm trying to create a photo collage in Photoshop that consist of multiple photos imported as Smart Objects into layers, that are all the same size. Ideally, I'd like to be able size/crop/scale each image as a group, or individually, on the fly. So lets say that I have 6 images as Smart Objects on layers, and that they are all of varying sizes, and I'd like to adjust each image to be the same precise size, 2" x 3". Maybe later I decide that they should all be 2.5" x 3."5, can I easily change all 6 images at once? I've tried going into Free Transform and changing the size of each individual image here, but I can't get the precise size that I want. Is there a way that I can open a dialog box, and specify the exact size? Can I then repeat this for all images/layers that I've selected?
    I hope this makes sense, and that someone has a brilliant idea on how to do this?
    Thanks!
    Jeff

    Image Processor doesn't get me what I'm after.
    Photoshop has the option to create a contact sheet. So imagine that I want to create a contact sheet of images, but keep them on separate layers, and be able to change the size of the images as I feel, to fit my collage.

  • How do I make selective screenshot images in cells the same size?

    I am putting together a spreadsheet to list the purchasing options for our company from some of the Mac mini models but have a problem with image sizes in spreadsheet cells.
    First I took screenshots of each of the price and spec panels of the self-configured options I was interested in recommending using CmdCtrl+Shift4 to save the screenshot to the clipboard. Next, I highlighted the cell into which the image was destined to go and clicked Cmd+V and the image appeared in the cell (as an image fill for background colour). I repeated this process for six different Mac minis, being careful to start and finish the crosshairs in exactly the same place for each option. Each of these images had been lifted from a separate Tab in Safari 4.0.5 and appeared to be identically sized.
    The problem is, when placed in the spreadsheet cell grid, each image was either higher or lower than the one next to it, yet all cells were the exact same size. Some images appeared to be centred in the cell, others appeared to be top aligned.
    Can anyone help me to understand why this happens, and to give a suggestion on how to avoid it in the future?
    TIA

    OK, my mistake! The images were not the same size because the specs were different for each one, meaning that the info boxes were of different heights. When I copied them again, using the coordinates to ensure the screenshots were exactly the same size this time (rather than adding on a fixed width to the outside of the boxes) the problem was solved.
    Sometimes it's the user not the tools that has the problem!
    Having said that, it would be useful if the images were not background fills, but images that you could highlight because that would show quite quickly the size of each one - and allow you to add a background colour to a column to indicate a category type.
    Thanks for your help!

  • How to resize watermark to be the same size for vertical/horizontal images?

    I am using File -> Place menu to place my watermark onto the images. 
    No matter what I try so far, the absolute size of the watermark comes out different Portrait/Landscape images.
    Watermark is smaller on Portrait and larger on Landscape images.  I tried resizing writing in the number of pixels during the File->place command, but no luck.  Photoshop resizes the watermark based on the percentages, and I don't know why image orientation matters. 
    ideally I want my watermark to be the same size, and I can use absolute pixel dimensions if needed.  How do I do this?

    Hi Doug - What exactly are you trying to do? Is the third
    child being added dynamically, and you want it added above the
    first child? If so, you can use the addChildAt() method when adding
    the child to the container. addChildAt() takes an index and the
    child object is added at that index and all other children are
    reshuffled to maintain the ordering. IE:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical">
    <mx:TitleWindow layout="vertical" id="tw">
    <mx:Button id="a" />
    <mx:Button id="b" click="go();"/>
    </mx:TitleWindow>
    <mx:Script>
    <![CDATA[
    private function go():void
    var c:Button = new Button();
    c.label="new";
    tw.addChildAt(c, 0);
    ]]>
    </mx:Script>
    </mx:Application>
    Does that help, or am I misinterpreting what you're trying to
    do?

  • Is it possible to put an iMac G5 screen into a intel iMac of the same size?

    my white 17" intel imac screen is about 60% covered with the vertical line problem, ive tried openeing it
    and blowing air through it, in hopes it was just some crazy dust accumulation, and smc fan control, but its getting worse by the week.
    i have a g5 imac 17" with a perfect screen, but a dead HD so i dont use it,
    can i get my G5  screen taken out and put into my intel?
    id think it would be possible since their the same same size screen for the same type of imac
    unless the the inner connections, placement etc. is different between the two.
    thanks
    -shane
    heres a picture of my intel screen

    Shane B,
    I have the same model iMac with the same problem screen.
    It's the LCD panel that is defective,(at least in my case).
    You can validate this by getting a mini DVI adapter to connect the iMac to an external screen and test it on your HDTV or on any external screen.
    Get the proper adapter from Mini DVI to what you have on the external screen or TV (HDMI, DVI, VGA)
    and a cable to connect it and see if the image on the external screen or TV is OK.
    In my case, my iMac was sitting on a shelf for two years before I thought of trying this.
    I am now using it as a media server linked to my HDTV.
    I ended up opening the iMac case to disconnect the LCD so I would not have to look at the ugly defective display sitting right next to my HDTV.

  • Can I print several different pics of the same size on one shee  of papert?

    Hi,
    I should like to print a group of several different pics of the same size & resolution on one sheet of (A4) paper eg 6 family photos. There doesn't seem to be a template for this - just two choices of format (both with one large and a few smaller format) and there is no 'Printer' pop up menu.
    I tried to laboriously copy pics to a two column works word processing document (after resizing in a different one so that they would fit in the columns). This is time consuming and when down sizing the pics lose resolution!
    Maybe I can download templates somewhere on the apple site as suggested by apple care but I couldn't find out where. Maybe there is a possibility of doing some contact prints?
    Any help much appreciated - many thanks - John

    Select the 6 photos you want printed in the iPhoto Library or Album window.
    Choose File->Print.
    In the Print dialog box, Select the paper size in the Paper popup menu.
    In the Style popup menu, select N-Up.
    In the Photos per page popup select 6.
    The preview should show what you'll get. I hope its what you wanted.
    Message was edited by: Thomas Emmerich

  • Is there a way to automatically align and make same size of check boxes/ radio-buttons like in the image below?

    I create PDF forms on daily basis for multiple people around but still, I create a table in Word and then manually convert it to PDF. I'm using Acrobat X and then I manually create radio buttons or check boxes in each cell of the table so aligning those buttons or check-boxes in the same line is a problem. I know there would be some solution to this but can anyone guide me to that? Also, making the same size of the radio-buttons of check boxes likewise ? ? ?
    Please see the image above and advise how to align them in the same line and how to make them same size using Acrobat X?
    Your help appreciated.

    You should create these fields using the Place Multiple Fields command, so that they are aligned properly and all the same size. Read about it here:
    http://help.adobe.com/en_US/acrobat/X/pro/using/WS8C2DDC1C-C174-4ad1-893F-B14A1C0289B4.htm l
    Read how to align and distribute fields here:
    http://help.adobe.com/en_US/acrobat/X/pro/using/WS6D2D2BFC-6F69-4a8b-BDE6-8043D7EE240D.htm l

Maybe you are looking for

  • Page Displaying Different in Browswer

    This page - http://wolffsystem.com/index_FB_TW01.html - displays OK in Firefox.  In IE and Google Chrome it does not display correctly.  Please give me any suggestions as to why this is happening.  Thanks so much.

  • Install Windows 7 on Bootcamp 5.1 iMac Late 2009 27''

    HI, I have a late 2009 iMac 27 inch and try to install Windows 7 with bootcamp: - iMac (27-inch, Late 2009) - OSX 10.10.2 - Bootcamp 5.1.3 - Windows 7 Enterprise (on DVD) - USB 2.0 Harddisc - External SuperDrive for the Windows Install DVD What happe

  • HP Pavilion dv6-3151st AMD GRAPHICS is not INSTALLING

    I have HP Pavilion dv6-3151st. I have a problem. Amd graphics is not installing. I downloaded from http://support.hp.com/tr-tr/product/HP-Pavilion-dv6-Entertainment-Notebook-PC-series/4247579/model/4320740It did not install.And i downloaded from amd 

  • Video Folder in FMS 3?

    I want to send some flv video files with FMS 3 and I need access the video through rtmp from Flssh file. My question is which folder I will save the flash videos in FMS 3 and how to know the RTMP address to access the vodeo files. Thanks a lot Mark

  • Enabling Flash Player in Internet Explorer

    If you're having problems viewing Flash content on the Web using Internet Explorer 9 or higher, even though you're sure Flash Player is installed, it may be because the Flash Player Add-on has been disabled (turned off) in your browser settings. To e