JInternalFrame size issue

I'm trying to make an IDE, and have started trying to create a nopepad type editor. My problem occurs when clicking new to create a new internal frame, the frame is created to be the same size as a maximised internal frame would be. I've tryed adding setBounds, setSize, setPreferredSize, setMaximumSize, setMinimumSize functions to the frame, but to no avail. This is the full listing of my code:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import javax.swing.text.*;
   Java IDE (Integrated Development Environment)
   IDE.java
   Sets up constants and main viewing frame.
   Advanced 2nd Year HND Project
   @author Mark A. Standen
   @Version 0.2 18/04/2002
//=========================================================
//   Main (public class)
//=========================================================
public class IDE extends JFrame
      Application Wide Constants
   /**   The Name of the Application   */
   private static final String APPLICATION_NAME = "Java IDE";
   /**   The Application Version   */
   private static final String APPLICATION_VERSION = "0.2";
   /**   The Inset from the edges of the screen of the main viewing frame   */
   private static final int INSET = 50;
   /**   The main frame   */
   private static IDE frame;
      MAIN
   public static void main (String[] Arguments)
      //Adds Cross-Platform functionality by adapting GUI
      try
         UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );
         //Adapts to current system look and feel - e.g. windows
      catch (Exception e) {System.err.println("Can't set look and feel: " + e);}
      frame = new IDE();
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      frame.setVisible(true);
      This Constructor creates an instance of Main, the main view frame.
      @param sizeX Width of the main view Frame in pixels
      @param sizeY Height of the main view Frame in pixels
   public IDE()
      super (APPLICATION_NAME + " (Version " + APPLICATION_VERSION + ")");
      Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
      this.setBounds( INSET, INSET, screenSize.width - (INSET * 2), screenSize.height - (INSET * 3) );
      JDesktopPane mainPane = new JDesktopPane();
      mainPane.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
      this.setContentPane(mainPane);
      this.getContentPane().setLayout( new BorderLayout() );
      this.getContentPane().add("North", new ToolBar() );
//===================================================================
//   ToolBar (private class)
//===================================================================
   private class ToolBar extends JToolBar implements ActionListener
      /*   Create toolbar buttons   */
      private JButton newBox;
      private JButton load;
      private JButton save;
         Creates an un-named toolbar,
         with New, Load, and Save options.
      public ToolBar () {
            Use to make toolbar look nice later on
            ImageIcon imageNew = new ImageIcon("imgNew.gif");
            JButton toolbarNew = new JButton(imageNew);  
            ImageIcon imageLoad = new ImageIcon("imgLoad.gif");
            JButton toolbarLoad = new JButton(imageLoad);  
            ImageIcon imageSave = new ImageIcon("imgSave.gif");
            JButton toolbarSave = new JButton(imageSave);
            temp toolbar buttons for now
         newBox = new JButton("New");
         load = new JButton("Load");
         save = new JButton("Save");
         this.setFloatable(false);
         this.setOrientation(JToolBar.HORIZONTAL);
         this.add(newBox);
         this.add(load);
         this.add(save);
         newBox.addActionListener(this);
         load.addActionListener(this);
         save.addActionListener(this);
         Checks for button presses, and calls the relevant functions
      public void actionPerformed (ActionEvent event)
         Object source = event.getSource();
         /*   If new has been clicked   */
         if (source == newBox)
            TextDisplayFrame textBox = new TextDisplayFrame();
            Rectangle rect = this.getParent().getBounds();
            textBox.setBounds( rect.x - INSET, rect.y - INSET, rect.width - (INSET * 2), rect.height - (INSET * 2) );
            this.getParent().add(textBox);
            textBox.setVisible(true);
         /*   If load has been clicked   */
         else if (source == load)
            TextDisplayFrame textBox = new TextDisplayFrame();
            frame.getContentPane().add(textBox);
            System.out.println(textBox + "");
            textBox.loadDoc();
         /*   If save has been clicked   */
         else if (source == save)
//====================================================================
//   Menu (private class)
//====================================================================
   private class Menu extends JMenu
      public Menu()
         JMenuBar menuBar = new JMenuBar();
         JMenu menu = new JMenu("Document");
         menu.setMnemonic(KeyEvent.VK_D);
         JMenuItem menuItem = new JMenuItem("New");
         menuItem.setMnemonic(KeyEvent.VK_N);
         menuItem.addActionListener(new ActionListener()
               public void actionPerformed(ActionEvent e)
                  TextDisplayFrame textBox = new TextDisplayFrame();
                  //this.getContentPane().add(textBox);
         menu.add(menuItem);
         menuBar.add(menu);
         menuBar.setVisible(true);
//====================================================================
//   TextDisplayFrame (private class)
//====================================================================
   private class TextDisplayFrame extends JInternalFrame
      /**   The Default Title of an internal pane   */
      private static final String DEFAULT_TITLE = "untitled";
      /**   Path to the current File   */
      private File filePath = new File ("C:" + File.separatorChar + "test.txt");
      /*   Swing Components   */
      private JTextArea mainTextArea;
      private JScrollPane scrollPane;
         Creates a TextDisplayFrame with the given arguments
         @param title Title of the TextDisplayFrame
      public TextDisplayFrame(String title)
         super(title, true, true, true, true); //creates resizable, closable, maximisable, and iconafiable internal frame
         this.setContentPane( textBox() );
         this.setPreferredSize( new Dimension (150, 100) );
         this.setMaximumSize( new Dimension (300, 300) );
         this.setVisible(true);
         Creates a resizable frame with the default title
      public TextDisplayFrame()
         this(DEFAULT_TITLE);
         Creates a blank, resizable central text area, for the entering of text
         @return Returns a JPanel object
      private JPanel textBox()
         mainTextArea = new JTextArea( new PlainDocument() );
         mainTextArea.setLineWrap(false);
         mainTextArea.setFont( new Font("monospaced", Font.PLAIN, 14) );
         scrollPane = new JScrollPane( mainTextArea );
         JPanel pane = new JPanel();
         BorderLayout bord = new BorderLayout();
         pane.setLayout(bord);
         pane.add("Center", scrollPane);
         return pane;
         @return Returns a JTextComponent to be used as document object
      public JTextComponent getDoc()
         return mainTextArea;
      public void loadDoc()
         /* Create blank Document */
         Document textDoc = new PlainDocument();
         /* Attempt to load the document in the filePath into the blank Document object*/
         try
            Reader fileInput = new FileReader(filePath);
            char[] charBuffer = new char[1000];
            int numChars;
            while (( numChars = fileInput.read( charBuffer, 0, charBuffer.length )) != -1 )
               textDoc.insertString(textDoc.getLength(), new String( charBuffer, 0, numChars ), null);
         catch (IOException error) {System.out.println(error); }
         catch (BadLocationException error) {System.out.println(error); }
         /* Set the loaded document to be the text of the JTextArea */
         this.getDoc().setDocument( textDoc );
}I would appreciate all/any help that can be offered.

i have tried out your source and have made some modifications and now it works fine.
move the desktoppane to be a private variable of the class, so that you can add the InternalFrame to it directly. also the setBounds() needs to be given lil' corrections to c that the InternalFrame appear on the visible area.
i'm posting entire source just to make sure you don't confuse abt the changes. This is a working version. Hope it serves.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import javax.swing.text.*;
Java IDE (Integrated Development Environment)
IDE.java
Sets up constants and main viewing frame.
Advanced 2nd Year HND Project
@author Mark A. Standen
@Version 0.2 18/04/2002
//=========================================================
// Main (public class)
//=========================================================
public class IDE extends JFrame
Application Wide Constants
/** The Name of the Application */
private static final String APPLICATION_NAME = "Java IDE";
/** The Application Version */
private static final String APPLICATION_VERSION = "0.2";
/** The Inset from the edges of the screen of the main viewing frame */
private static final int INSET = 50;
/** The main frame */
private static IDE frame;
/*********** CHANGED HERE ****************/
private JDesktopPane mainPane;
/*********** END CHANGE ****************/
MAIN
public static void main (String[] Arguments)
//Adds Cross-Platform functionality by adapting GUI
try
UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );
//Adapts to current system look and feel - e.g. windows
catch (Exception e) {System.err.println("Can't set look and feel: " + e);}
frame = new IDE();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
This Constructor creates an instance of Main, the main view frame.
@param sizeX Width of the main view Frame in pixels
@param sizeY Height of the main view Frame in pixels
public IDE()
super (APPLICATION_NAME + " (Version " + APPLICATION_VERSION + ")");
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
this.setBounds( INSET, INSET, screenSize.width - (INSET * 2), screenSize.height - (INSET * 3) );
          /*********** CHANGED HERE ****************/
mainPane = new JDesktopPane();
mainPane.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
//this.setContentPane(mainPane);
this.getContentPane().setLayout( new BorderLayout() );
this.getContentPane().add(new ToolBar(), java.awt.BorderLayout.NORTH);
     this.getContentPane().add(mainPane, java.awt.BorderLayout.CENTER);
     /*********** END CHANGE ****************/
//===================================================================
// ToolBar (private class)
//===================================================================
private class ToolBar extends JToolBar implements ActionListener
/* Create toolbar buttons */
private JButton newBox;
private JButton load;
private JButton save;
Creates an un-named toolbar,
with New, Load, and Save options.
public ToolBar () {
Use to make toolbar look nice later on
ImageIcon imageNew = new ImageIcon("imgNew.gif");
JButton toolbarNew = new JButton(imageNew);
ImageIcon imageLoad = new ImageIcon("imgLoad.gif");
JButton toolbarLoad = new JButton(imageLoad);
ImageIcon imageSave = new ImageIcon("imgSave.gif");
JButton toolbarSave = new JButton(imageSave);
temp toolbar buttons for now
newBox = new JButton("New");
load = new JButton("Load");
save = new JButton("Save");
this.setFloatable(false);
this.setOrientation(JToolBar.HORIZONTAL);
this.add(newBox);
this.add(load);
this.add(save);
newBox.addActionListener(this);
load.addActionListener(this);
save.addActionListener(this);
Checks for button presses, and calls the relevant functions
public void actionPerformed (ActionEvent event)
Object source = event.getSource();
/* If new has been clicked */
if (source == newBox)
TextDisplayFrame textBox = new TextDisplayFrame();
Rectangle rect = mainPane.getBounds();
/*********** CHANGED HERE ****************/
//textBox.setBounds( rect.x - INSET, rect.y - INSET, rect.width - (INSET * 2), rect.height - (INSET * 2) );
//this.getParent().add(textBox);
mainPane.add(textBox, javax.swing.JLayeredPane.DEFAULT_LAYER);
textBox.setBounds(rect.x, rect.y, 500, 500);
/*********** END CHANGE ****************/
textBox.setVisible(true);
/* If load has been clicked */
else if (source == load)
TextDisplayFrame textBox = new TextDisplayFrame();
frame.getContentPane().add(textBox);
System.out.println(textBox + "");
textBox.loadDoc();
/* If save has been clicked */
else if (source == save)
//====================================================================
// Menu (private class)
//====================================================================
private class Menu extends JMenu
public Menu()
JMenuBar menuBar = new JMenuBar();
JMenu menu = new JMenu("Document");
menu.setMnemonic(KeyEvent.VK_D);
JMenuItem menuItem = new JMenuItem("New");
menuItem.setMnemonic(KeyEvent.VK_N);
menuItem.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
TextDisplayFrame textBox = new TextDisplayFrame();
//this.getContentPane().add(textBox);
menu.add(menuItem);
menuBar.add(menu);
menuBar.setVisible(true);
//====================================================================
// TextDisplayFrame (private class)
//====================================================================
private class TextDisplayFrame extends JInternalFrame
/** The Default Title of an internal pane */
private static final String DEFAULT_TITLE = "untitled";
/** Path to the current File */
private File filePath = new File ("C:" + File.separatorChar + "test.txt");
/* Swing Components */
private JTextArea mainTextArea;
private JScrollPane scrollPane;
Creates a TextDisplayFrame with the given arguments
@param title Title of the TextDisplayFrame
public TextDisplayFrame(String title)
super(title, true, true, true, true); //creates resizable, closable, maximisable, and iconafiable internal frame
this.setContentPane( textBox() );
this.setPreferredSize( new Dimension (150, 100) );
/*********** CHANGED HERE ****************/
//this.setMaximumSize( new Dimension (300, 300) );
this.setNormalBounds(new Rectangle(300,300));
/*********** END CHANGE ****************/
this.setVisible(true);
Creates a resizable frame with the default title
public TextDisplayFrame()
this(DEFAULT_TITLE);
Creates a blank, resizable central text area, for the entering of text
@return Returns a JPanel object
private JPanel textBox()
mainTextArea = new JTextArea( new PlainDocument() );
mainTextArea.setLineWrap(false);
mainTextArea.setFont( new Font("monospaced", Font.PLAIN, 14) );
scrollPane = new JScrollPane( mainTextArea );
JPanel pane = new JPanel();
BorderLayout bord = new BorderLayout();
pane.setLayout(bord);
pane.add("Center", scrollPane);
return pane;
@return Returns a JTextComponent to be used as document object
public JTextComponent getDoc()
return mainTextArea;
public void loadDoc()
/* Create blank Document */
Document textDoc = new PlainDocument();
/* Attempt to load the document in the filePath into the blank Document object*/
try
Reader fileInput = new FileReader(filePath);
char[] charBuffer = new char[1000];
int numChars;
while (( numChars = fileInput.read( charBuffer, 0, charBuffer.length )) != -1 )
textDoc.insertString(textDoc.getLength(), new String( charBuffer, 0, numChars ), null);
catch (IOException error) {System.out.println(error); }
catch (BadLocationException error) {System.out.println(error); }
/* Set the loaded document to be the text of the JTextArea */
this.getDoc().setDocument( textDoc );

Similar Messages

  • Paper Size issues with CreatePDF Desktop Printer

    Are there any known paper size issues with PDFs created using Acrobat.com's CreatePDF Desktop Printer?
    I've performed limited testing with a trial subscription, in preparation for a rollout to several clients.
    Standard paper size in this country is A4, not Letter.  The desktop printer was created manually on a Windows XP system following the instructions in document cpsid_86984.  MS Word was then used to print a Word document to the virtual printer.  Paper Size in Word's Page Setup was correctly set to A4.  However the resultant PDF file was Letter size, causing the top of each page to be truncated.
    I then looked at the Properties of the printer, and found that it was using an "HP Color LaserJet PS" driver (self-chosen by the printer install procedure).  Its Paper Size was also set to A4.  Word does override some printer driver settings, but in this case both the application and the printer were set to A4, so there should have been no issue.
    On a hunch, I then changed the CreatePDF printer driver to a Xerox Phaser, as suggested in the above Adobe document for other versions of Windows.  (Couldn't find the recommended "Xerox Phaser 6120 PS", so chose the 1235 PS model instead.)  After confirming that it too was set for A4, I repeated the test using the same Word document.  This time the result was fine.
    While I seem to have solved the issue on this occasion, I have not been able to do sufficient testing with a 5-PDF trial, and wish to avoid similar problems with the future live users, all of which use Word and A4 paper.  Any information or recommendations would be appreciated.  Also, is there any information available on the service's sensitivity to different printer drivers used with the CreatePDF's printer definition?  And can we assume that the alternative "Upload and Convert" procedure correctly selects output paper size from the settings of an uploaded document?
    PS - The newly-revised doc cpsid_86984 still seems to need further revising.  Vista and Windows 7 instructions have now been split.  I tried the new Vista instructions on a Vista SP2 PC and found that step 6 appears to be out of place - there was no provision to enter Adobe ID and password at this stage.  It appears that, as with XP and Win7, one must configure the printer after it is installed (and not just if changing the ID or password, as stated in the document).

    Thank you, Rebecca.
    The plot thickens a little, given that it was the same unaltered Word document that first created a letter-size PDF, but correctly created an A4-size PDF after the driver was changed from the HP Color Laser PS to a Xerox Phaser.  I thought that the answer may lie in your comment that "it'll get complicated if there is a particular driver selected in the process of manually installing the PDF desktop printer".  But that HP driver was not (consciously) selected - it became part of the printer definition when the manual install instructions were followed.
    However I haven't yet had a chance to try a different XP system, and given that you haven't been able to reproduce the issue (thank you for trying), I will assume for the time being that it might have been a spurious problem that won't recur.  I'll take your point about using the installer, though when the opportunity arises I might try to satisfy my cursed curiosity by experimenting further with the manual install.  If I come up with anything of interest, I'll post again.

  • Smartcardio ResponseAPDU buffer size issue?

    Greetings All,
    I’ve been using the javax.smartcardio API to interface with smart cards for around a year now but I’ve recently come across an issue that may be beyond me. My issue is that I whenever I’m trying to extract a large data object from a smart card, I get a “javax.smartcardio.CardException: Could not obtain response” error.
    The data object I’m trying to extract from the card is around 12KB. I have noticed that if I send a GETRESPONSE APDU after this error occurs I get the last 5 KB of the object but the first 7 KB are gone. I do know that the GETRESPONSE dialogue is supposed to be sent by Java in the background where the responses are concatenated before being sent as a ResponseAPDU.
    At the same time, I am able to extract this data object from the card whenever I use other APDU tools or APIs, where I have oversight of the GETRESPONSE APDU interactions.
    Is it possible that the ResponseAPDU runs into buffer size issues? Is there a known workaround for this? Or am I doing something wrong?
    Any help would be greatly appreciated! Here is some code that will demonstrate this behavior:
    * test program
    import java.io.*;
    import java.util.*;
    import javax.smartcardio.*;
    import java.lang.String;
    public class GetDataTest{
        public void GetDataTest(){}
        public static void main(String[] args){
            try{
                byte[] aid = {(byte)0xA0, 0x00, 0x00, 0x03, 0x08, 0x00, 0x00};
                byte[] biometricDataID1 = {(byte)0x5C, (byte)0x03, (byte)0x5F, (byte)0xC1, (byte)0x08};
                byte[] biometricDataID2 = {(byte)0x5C, (byte)0x03, (byte)0x5F, (byte)0xC1, (byte)0x03};
                //get the first terminal
                TerminalFactory factory = TerminalFactory.getDefault();
                List<CardTerminal> terminals = factory.terminals().list();
                CardTerminal terminal = terminals.get(0);
                //establish a connection with the card
                Card card = terminal.connect("*");
                CardChannel channel = card.getBasicChannel();
                //select the card app
                select(channel, aid);
                //verify pin
                verify(channel);
                 * trouble occurs here
                 * error occurs only when extracting a large data object (~12KB) from card.
                 * works fine when used on other data objects, e.g. works with biometricDataID2
                 * (data object ~1Kb) and not biometricDataID1 (data object ~12Kb in size)
                //send a "GetData" command
                System.out.println("GETDATA Command");
                ResponseAPDU response = channel.transmit(new CommandAPDU(0x00, 0xCB, 0x3F, 0xFF, biometricDataID1));
                System.out.println(response);
                card.disconnect(false);
                return;
            }catch(Exception e){
                System.out.println(e);
            }finally{
                card.disconnect(false)
        }  

    Hello Tapatio,
    i was looking for a solution for my problem and i found your post, first i hope your answer
    so i am a begginer in card developpement, now am using javax.smartcardio, i can select the file i like to use,
    but the problem is : i can't read from it, i don't now exactly how to use hexa code
    i'm working with CCID Smart Card Reader as card reader and PayFlex as smart card,
              try {
                          TerminalFactory factory = TerminalFactory.getDefault();
                      List<CardTerminal> terminals = factory.terminals().list();
                      System.out.println("Terminals: " + terminals);
                      CardTerminal terminal = terminals.get(0);
                      if(terminal.isCardPresent())
                           System.out.println("carte presente");
                      else
                           System.out.println("carte absente");
                      Card card = terminal.connect("*");
                     CardChannel channel = card.getBasicChannel();
                     ResponseAPDU resp;
                     // this part select the DF
                     byte[] b = new byte[]{(byte)0x11, (byte)0x00} ;
                     CommandAPDU com = new CommandAPDU((byte)0x00, (byte)0xA4, (byte)0x00, (byte)0x00, b);
                     resp = channel.transmit(com);
                     System.out.println("Result: " + getHexString(resp.getBytes()));
                        //this part select the Data File
                     b = new byte[]{(byte)0x11, (byte)0x05} ;
                     com = new CommandAPDU((byte)0x00, (byte)0xA4, (byte)0x00, (byte)0x00, b);
                     System.out.println("CommandAPDU: " + getHexString(com.getBytes()));
                     resp = channel.transmit(com);
                     System.out.println("Result: " + getHexString(resp.getBytes()));
                     byte[] b1 = new byte[]{(byte)0x11, (byte)0x05} ;
                     com = new CommandAPDU((byte)0x00, (byte)0xB2, (byte)0x00, (byte)0x04, b1, (byte)0x0E); */
                        // the problem is that i don't now how to built a CommandAPDU to read from the file
                     System.out.println("CommandAPDU: " + getHexString(com.getBytes()));
                     resp = channel.transmit(com);
                     System.out.println("Result: " + getHexString(resp.getBytes()));
                      card.disconnect(false);
              } catch (Exception e) {
                   System.out.println("error " + e.getMessage());
              }read record : 00 A4 ....
    if you know how to do , i'm waiting for your answer

  • Recording File Size issue CS 5.5

    I am using CS 5.5, a Balckmagic Ultra Studio Pro through USB 3.0 being fed by a Roland HD Video switcher. Everything is set for 720P 60fps (59.94) and the Black Magic is using the Motion JPEG compression. I am trying to record our sermons live onto a Windows 7 machine with an Nvidia Ge-Force GTX 570, 16 GB of Ram and a 3TB internal raid array (3 drives). It usually works great but more often now when I push the stop button in the capture window, the video is not proceesed and becomes unusable. Is it a file size issue or what. I get nervous when my recording goes longer than 50 Minutes. Help

    Jim thank you for the response. I have been away and busy but getting
    caught up now.
    I do have all drives formatted as NTFS. My problem is so sporadic that I
    can not get a pattern down. This last Sunday recorded fine so we will see
    how long it last. Thanks again.

  • Swap size issues-Unable to install DB!!

    Unable to install DB. End part i am getting failed due to swap size issue .. FYI...
    [root@usr~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda2             5.9G  5.9G     0 100% /
    /dev/hda3             3.0G  848M  2.0G  31% /tmp
    /dev/hda5              34G   12G   21G  37% /refresh
    /dev/hda1              99M   12M   83M  12% /boot
    tmpfs                 3.9G     0  3.9G   0% /dev/shm
    [root@usr~]#
    Please help me...Thanks

    You can increase your swap space.. I have also faced same issue
    Just try: http://www.thegeekstuff.com/2010/08/how-to-add-swap-space/
    ~J

  • Unable to install DB(swap size issues)

    Unable to install DB. End part i am getting failed due to swap size issue .. FYI...
    [root@usr~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda2             5.9G  5.9G     0 100% /
    /dev/hda3             3.0G  848M  2.0G  31% /tmp
    /dev/hda5              34G   12G   21G  37% /refresh
    /dev/hda1              99M   12M   83M  12% /boot
    tmpfs                 3.9G     0  3.9G   0% /dev/shm
    [root@usr~]#
    Please help me...Thanks

    I tried with dd if=/dev/hda3 of=/dev/hda5 count=1024 bs=3097152
    Now the o/p is below ...
    [root@user/]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda2             5.9G  5.9G     0 100% /
    /dev/hda3              35G   33G  345M  99% /tmp
    /dev/hda5              34G   12G   21G  37% /refresh
    /dev/hda1              99M   12M   83M  12% /boot
    tmpfs                 3.9G     0  3.9G   0% /dev/shm
    [root@user/]# cd /tmp/

  • Windows Update Helps with File Size Issues?

    I'm just wondering if anybody has recently noticed an
    improvement related to the file size issue variously reported
    throughout the forums?
    I ask because our IT folks distributed a Windows update on 2
    days last week and since the application of those updates I have
    not experienced the freakishly large file sizes and the related
    performance issues in Captivate. Unfortunately I don't have any of
    the details of what patch(es) were installed, as it was part of our
    boot script one morning and I didn't even realize it was updating
    until I received the Reboot Now or Later alert.
    Anyway, I was curious because I have experienced significant
    performance improvement since then.
    Rory

    If you are using a remote workflow ... designers are sending off-site editors InCopy Assignment packages (ICAPs) .... then they need to create assignments in order to package them for the remote InCopy user. So there's no need to split up a layout into smaller files or anything.  An assignment is a subset of the INDD file; multiple assignments -- each encompassing different pages or sections -- are created from the same INDD file.
    When the designer creates the assignment, have them turn off "Include original images in packages"; that should keep the file size down.
    Or -- like Bob said -- you can avoid the whole remote workflow/assignment package rigamarole all together by just keeping the file in a project folder in the Dropbox folder on teh designer's local hard drive, and have them share the project folder with the editors. In that workflow, editors open the INDD file on their local computer and check out stories, just as though they were opening them from a networked file server.
    I cover how the InCopy Dropbox workflow works in a tutorial video (within the Remote Workflows chapter) on Lynda.com here:
    http://www.lynda.com/tutorial/62220
    AM

  • What am I doing wrong - size issue

    Need some advice...as usual!
    I designed a site on my 17" monitor and set the margins to 0
    and table to 100%. However when I look at it on different screens
    it looks rubbish...big gap at the bottom of the page with the
    design cramp at the top. I wonder if someone would mind looking at
    my code and see what's wrong with it. The site was designed using
    various techniques including css for nav bars, tables, and
    fireworks elements. the site can be viewed at:
    www.shelleyhadler.co.uk/nerja.html
    thanks for your help. Shell

    >Re: What ams I doing wrong - size issue.
    Several things...
    First, your 17" monitor has noting to do with web page
    layout. What
    resolution is your monitor set to? it could be 800 pixels
    wide or 1280
    pixels... wouldn't that make a difference? That aside, screen
    resolution and
    size are irrelevant anyway. What counts it eh size that your
    viewers have
    their web browser window set at.
    I have a pretty large monitor, set to a very high resolution,
    so I open
    several windows at once and size them so I can see the
    content in all.
    Sometimes my browser is full screen and sometimes its shrunk
    down to less
    than 600 x 800. Your web site needs to accommodate that.
    Every web viewer
    out there is different and likes the way they have their
    screens set up. So
    you need to be flexible and your site needs to be flexible.
    Next, Don't design in Fireworks and import to Dreamweaver.
    Fireworks is a
    superb web ready graphics and imaging processing program. The
    authors
    (mistakenly) threw in some web authoring stuff that works
    very poorly.
    Design your pages using Dreamweaver. Learn html markup and
    css styling to
    arrange it, then use Fireworks to create graphics to support
    your content.
    Along the way, be aware of the diffferant browsers in use.
    Internet
    Explorer is the most popular (or at least most in use) simply
    by virtue of
    the Microsoft market share, but it is also the least web
    complient (by virue
    of the Microsoft arrogance) so some things that work there,
    (like your green
    bands) won't on other browsers and vice versa.
    That said... graphically, your site looks great. You have a
    good eye for
    composition and simple clean design. You just need to learn
    to use html to
    your best advantage to create some realy nice looking and
    nicely working
    sites.
    "shelleyfish" <[email protected]> wrote in
    message
    news:[email protected]...
    > Need some advice...as usual!
    >
    > I designed a site on my 17" monitor and set the margins
    to 0 and table to
    > 100%. However when I look at it on different screens it
    looks
    > rubbish...big
    > gap at the bottom of the page with the design cramp at
    the top. I wonder
    > if
    > someone would mind looking at my code and see what's
    wrong with it. The
    > site
    > was designed using various techniques including css for
    nav bars, tables,
    > and
    > fireworks elements. the site can be viewed at:
    >
    > www.shelleyhadler.co.uk/nerja.html
    >
    > thanks for your help. Shell
    >

  • WMV and Disk Size issues

    So I am a pretty avid Encore user and I have come into some issues lately and could use some help.
    Background-
    I filmed a 14 hour conference on SD 16:9 mini dv
    I captured 14 hours with Premiere as .AVI - I edited the segments and exported as .AVI
    I used Media Encoder to convert the files to NTSC Progressive Widescreen High Quality (.m2v)   - Reduced the file size drastically
    I then used Media Encoder to convert the .m2v files to .wmv files - Reducing the conference size to 5.65 GB in total.
    I then imported the .wmv into Encore - my issues begin
    At first, Encore CS4 imported the .wmv files without a problem however the disk size (of 5.65 GB) registered in Encore as around 13 gigs???  Why is that?  The .wmv files only consume 5.65 gb on my harddrive.  Where is this file size issues coming from?
    So then Encore CS4 gets upset that I have exceeded the 8.5 DL Disk size and crashes...
    I reopen the program and try to import my .wmv files again (forgot to save like an idiot).  3 of 8 .wmv files import and then Encore starts giving me decoder errors saying I cannot import the rest of the .wmv files... 
    Can anyone help me with this issue?  Im quite confused by all of this.  Things seemed to work fine (sorta) at first and now Encore is pissed.
    I want to get this 14 hour conference on 1 DL DVD and I thought it would be as simple as getting the files reduced to a size sutable for a 8.5 gb disk.  Why is my way of thinking incorrect?
    Thanks for any help,
    Sam

    ssavery wrote:
    Thanks everyone for your help.
    Im still not giving up....  It's become an obsession at this point.  My uncle does this with kids movies for his children.   He'll download and compress entire seasons of children shows and put them all on one dvd which he then plays in a dvd player for them to watch.  Im currently trying to get ahold of him....
    Thanks for the help
    Sam
    i've done this as well for shows that are never to be seen again for the light of day from the 80s and such... i use VSO Software's "ConvertXtoDVD v4" i ONLY use this for archival purposes of xvid or wmv or stuff that encore would throw fits over. the menus are all mainly default stock stuff. but for these projects i'm not concerned about menus or specific navigation, i just need to get the job done. i can squeeze around 15 hrs of 720x480 on one DL (it compresses the ever living dayligths out of the video... but for most of the source footage... it really doesnt matter at that point, its mostly all VHS archives i use for this program anyway) if you just absolutely HAVE to have a 1 disker, you could check that app out, burn it an see how it looks.
    edited to add: that to really squeeze crap in, you can also use a DVDFab program (any ersion should do... Older ones are cheaper) make a disc image with ConvertX, if yiu have alot f footage it may push it beyond the normal boundary of a dvd-dl and fail the burn. So then you can just import the disc image into DVDFab, and choose it to burn to a DVD-DL, and it may compress it by about 3-7% more to fit it. I would NEVER use this method EVER for a client... But if you are just hell-bent on doing 1 disk. Tries these 2 apps out. It may work out if you can live with the compression.
    if you do try this, I recommend trying this workflow. Open premiere with your first gem captured AVI. set up your chapters how you want them or whatever, then save each chapter or lecture or segment or whatever as it's own AVI. the. Import all those separately into ConvertX and set it up to play one after the other when each segment ends. [i can't confirm this 100%, because i usually drop in already compressed  files... but if for some reason it don't wanna work out... then i would  suggest dropping in the mts files instead] (if say you want a new "movie" for each lecture instead, and have chapters per movie that can be done too... But it's more work, but I can expound later if need be)  To save time on encoding, set up the menu to be the "minimalist" menu. It's strictly text. Then just create sn ISO. if you donthe full thing, I can almost guarantee you'll have to use DVDFab to burn to disc, because it'll probably be about 5-8% overburn.

  • HP Office jet pro scanning size issue

    I have a HP Officejet Pro 8500
    When scanning to my computer to a .pdf it always results in an 8.5x14 document not an 8.5x11 document
    (and this happens regardless of whether I scan a book page with the scanning lid open or an 8.5x11 single page original with the scanning lid closed)
    Using the HP solution center Scan Settings - I cannot find any possible place to change the default settings to force it to scan to an 8.5x11 size
    I have looked at the Adobe help which tells me to find the place to change my scanning default settings (under File -> Create) but I do not have a Create option under my File menu in Adobe (I believe I just have the basic Adobe reader)
    And I cannot see how to change the properties of  .pdf in Adobe to change the size from 8.5x14 to 8.5x11
    I have no idea where else to look to figure out how to fix this
    Anyone have any other ideas?
    (and I am running an HP computer with Windows 8.1)
    Thanks.

    Hello there! Welcome to the forums @SKMgherkin ,
    I read about how you cannot scan in letter size and only in legal size from your Officejet 8500 model. I will certainly do my best to help you out!
    I would like to ask if you could post me back a screen shot of the scan size settings you are able to see in the Solution Center software.
    Also try running the Print and Scan Doctor tool to see if the tool will correct the settings in the software.
    Hope to hear from you!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Short dump-internal table size issue

    Hi,
    I get the following message in the short dump analysis for a report.
    No storage space available for extending table "IT_920".
    You attempted to extend an internal table, but the required space was not available.
    Error Analysis:
    The internal table "IT_920" could not be enlarged further.             
    To extend the internal table, 9696 bytes of storage space was          
    needed, but none was available. At this point, the table "IT_920" has  
    1008240 entries.
    Its an old report and I saw the internal table declaration using the "OCCURS" clause in the internal table declaration.
    begin of itab occurs 100.
    end of itab.
    I tried the option of changing to "OCCURS 0", still issue persists.
    Any help would be highly appretiated
    CM

    Hello CMV,
    This is basic problem with SAP internal tables. For every internal table memory is alocated ( Max..256K)...once you cross the memory size/limit of the internal table it resuls in short dump.
    Only way to overcome this problem is handle limited number of records at a time.. 
    Please refer following sample code which will help you to avoid short dump while processing large number of records....
      SORT TAB_RESULT.
      DESCRIBE TABLE TAB_RESULT LINES W_RECORDS.
      W_LOW      = 1.
      W_UP       = 1000.
    *Spliting the records from tab_result1 by pakage of 1000 at a time
    *to avoid short dump in case of more records
      WHILE W_LOW <= W_RECORDS.
        R_PKUNWE-SIGN = 'I'.
        R_PKUNWE-OPTION = 'EQ'.
        R_WERKS-SIGN = 'I'.
        R_WERKS-OPTION = 'EQ'.
        LOOP AT TAB_RESULT FROM W_LOW TO W_UP.
          MOVE TAB_RESULT-PKUNWE TO R_PKUNWE-LOW.
          MOVE TAB_RESULT-WERKS  TO  R_WERKS-LOW.
          APPEND R_PKUNWE.
          APPEND R_WERKS.
        ENDLOOP.
    *fetch sold to party
         SELECT KUNNR NAME1
           FROM KNA1
           APPENDING CORRESPONDING FIELDS OF TABLE TAB_KNA1
           WHERE KUNNR IN R_PKUNWE.
    *fetch plant
      SELECT WERKS NAME1
             FROM T001W
             APPENDING CORRESPONDING FIELDS OF TABLE TAB_T001W
             WHERE WERKS IN R_WERKS.
       REFRESH: R_PKUNWE,
                R_WERKS.
        W_LOW = W_LOW + 1000.
        W_UP  = W_UP  + 1000.
      ENDWHILE.
    Hope this will help you to solve problem.
    Cheers,
    Nilesh

  • Using Signal Express VI for DAQmx, timing & file size issues

    I am using a Signal Express VI with my DAQmx. Long story short, my DAQmx VI's don't work in LV 8.6 (possibly IT installation error). I have a few issues (I'm a beginner so be easy).
    First, I'm confused on how to get the timing correct. I am trying to read a 100 samples (2 channels) average them and repeat this at 30Hz and record this data.
    Second, everytime I open the Signal Express VI (in my block diagram) and change sampling for example, click OK, then save my VI before running my program. I noticed the file on disk increased in size by the megabytes! All I changed were the sampling settings.
    I appreciate any input, thanks in advance!
    -Michal
    Attachments:
    Philtec_09-22-09.vi ‏2589 KB

    To your first concern, it sounds like DAQmx was installed before LabVIEW.  Just reinstall DAQmx and it will work fine in LabVIEW.
    For you second concern.  To get 100 Samples at 30 Hz, you will need to change your channel setup in signal express.  You will need Continuous Aquisition, with 100 Samples to Read at 3000 Hz.  Then you code should work as expected.
    Chris Bakker
    National Instruments
    Applications Engineer
    Check out LabVIEW 2009 and the New X-series DAQ!

  • Email size issue in SAP

    How we need to send bigger file size than configured. Recieved part of document, not more than 2 MB. Please asses the issue here and tell me solution to fix the issue please.

    Hi,
    Please configure below mentioned parameters in the table SXPARAMS with transaction SM30.
    The Parameter'sare
    MAXLEN_BODYPART_ALI_SMTP
    MAXLEN_BODYPART_OTF_SMTP
    See the SAP note for the details..
    Note 837300 - Size restriction when sending documents will help you to fix the issue.

  • Is there a ballooning size issue in iBook Author?

    Now that I near completion of my layout, my IBA file reads 706 MB.
    My page count is 240 pages, 70,000 words. There are 90 images of different sizes. And the 5 videos total around 200 MB on their own, about 12 minutes of interviews.
    My feeling is that the total count showing in the file (706MB) is much bigger than the sum total of what I put into the file, but I'm wondering if there Is there a way to look inside the IBA file to see what each component file size is? Is there a way to go about reducing the file size?
    I read one suggestion about removing 'past versions', which I did but it didn't help. Another idea recommends first laying out all the text, and then as a final step adding the other media. That would mean starting over to build the book again.

    Another idea recommends first laying out all the text, and then as a final step adding the other media.
    That happens to be an Apple recommendation as I recall. I think it's made to help keep the book itself more wieldly while editing, tho, and has nothing to do with distribution/publishing.
    Other than speculating about the outcome, you don't specify an issue with the size, specifically...?
    The max is 2gb, so you have a ways to go. What is your concern actually?

  • Exported media file size issues Sometimes one size, Sometimes another without making any changes in FCPX?

    Hi there
    I'm having some strange issues with files sizes from
    Share>Export Media
    I'm not changing anything about the video (just moving an audio track forwards and backwards ever so slightly to try and get it to the correct timing), nor am I changing anything about the way I export the video.
    I am always using the EXACT same settings
    Sometimes finder states my video is 1.15GB, sometimes its states its 3.8GB
    But then when I close Finder down and then go back into Finder again to find the file it states its gone from 1.15GB to 3.8GB
    I'm not sure if this is a error with my system or Final Cut Pro X?
    By the way I'm running 10.0.5
    Thanks

    Bob,
    Well, the issue has gone to press and I have upgraded to Snow Leopard and CS5. Initial tests show that the problem still exists, and that it is  related to the XML tags. The problem occurs both with legacy (CS4) documents and documents created from scratch in CS5. As I mentioned before, it only seems to happen when overrides are applied to paragraph styles.
    Here is a sidebar as exported from InDesign. Overrides were applied to the two headlines to modify color, point size and baseline shift:
    The file with XML tags, packaged and opened in InCopy CS5:
    The same file with XML tags removed, packaged and opened in InCopy:
    OK. Now is when things start to get really interesting.
    I thought perhaps that exporting the InDesign file as an IDML document, then reopening it, might perhaps fix the problem. But, no. In fact, when I reopened the IDML file in InDesign, the font styles were broken in _exactly_ the same places as they were in InCopy. Apparently, whatever problem InCopy is having with the XML tags is being duplicated by the IDML export. (Do these processes share the same file format?)
    For example, here is a title page from the magazine as a screen grab in InDesign. Overrides were applied to the top headline on a line-by-line basis:
    The same file, exported as an IDML file and reopened in InDesign:
    As with InCopy, when the XML tags are removed, the IDML file reopens in InDesign just fine. Unfortunately, removing the XML tags is not a option. We need them to repurpose the content after it goes to press.
    This is a real bug, and for us it's a serious one. I'm surprised it hasn't come up before. Is there any way to draw this to Adobe's attention? I'd be more than happy to share any of these files if that would help.
    Steve

Maybe you are looking for

  • Disc stuck in mac mini

    The machine will not recognize it, even when holding in "x" and/or the mouse button upon startup. I tried to get to open firmware (to type in 'eject disc' at prompt), but when holding command, option, "o" and "f" at startup, I end up at the root menu

  • Transporting objects from SAP BW 3.5 to SAP BI

    Hi Experts, I have SAP BI 7.0 installed on my laptop (C & D Drives) and have SAP BW 3.5 and SAP R/3 4.7 installed on an external hard drive (G). Now I have created a data source in SAP BW 3.5 which i want to migrate to SAP BI 7.0. Could anybody pleas

  • My cd drive isn't reading cds anymore, any suggestions?

    Whenever I put in a CD into my macbook, I hear it work, however it never shows up on my desktop or anywhere else, and sometimes the CD ejects automatically soon later .. Any help?

  • How to play wma files on my i-tunes on a mac computer

    just need a little help with some WMA files. when i try to open them on my mac book pro. it opens it as a document file. what to i need to do so i can play it on i-tunes and my i-pod. how do i convert it to a MP3 file??

  • Unable to install on 2nd internal drive

    I have 2 internal hard drives, the startup drive only has 19 GB capacity and only 1 GB left so I am trying to change the startup to my other internal drive which is 150GB. I tried to intall the OS onto the 150GB drive by restarting with installation