Resizing problems with TestStand OI

I've attached a number of bitmaps, along with some VIs to better illustrate my problem.  I recently update the Sequence File tab to contain two expression edit (ee) controls to the right of the SequenceView.  One ee is suposed to display the comment contained in the Sequence File properties and the other displays the comment associated with the selected sequence (main or sub).  The sequence file description was already being passed around to a number of VIs so I followed his lead and added references where necessary for the sequence description. 
When the TestStand splash screen shows up, the top level displays and the to ee boxes appear in their desired location.  However, as things start to load, etc, the Sequence File description seems to move underneath the Sequence File description, but they're offset enough that you can see the text (portions) of both.
Could someone take a look and let me know if you see anything obvious that may be causing this.  P.S. I made significant changes to the Full OI-Resize Controls.vi and minor changes to the other attached files.
Also, one of the bitmaps (Repeated Error) shows an error I receive every time I try to close my application.
Attachments:
ResizeErr_0629.zip ‏606 KB

Problem solved - sort of.  I don't know why these two controls were overlapping, but I ended up moving them underneath the SequenceView control and things worked out much better.

Similar Messages

  • DV resize problem with QuickTime's iPod 320 x 240 export

    Just a heads up for those with new 5th generation iPods who plan on converting their DV movies for display on the iPod. It seems that the iPod 320 x 240 export does not resize DV correctly. Here is a link concerning this problem:
    Waymen, "Possible resize problem with iPod 320 x 240 Export?" #1, 03:02am Oct 13, 2005 CDT

    This article show a workaround to have DV export correctly in QuickTime Pro
    http://docs.info.apple.com/article.html?artnum=302955

  • Photoshop CS5 - Image resize problem with move tool

    Hi People
    Here's my problem
    When I try to resize an layer using the move tool (as opposed to the Free Transform tool), while I'm in the process of moving the scaling handles, the bounding box reflects my movement but the layer preview stays at it's original size. When I stop moving the handles there is a few seconds delay and then the new scale size shows up. If I try to move the handles again, without commiting to the transform, the layer preview reverts back to it's original size until I've finished moving the handles.
    I didn't have this problem with CS4 and I've only recently upgraded. I work around this problem by using the proper Free Transform tool (ctrl+t) but it would be nice to know why the hell this happens. It seems to me to be more of a graphical glitch than a software preference but I thought I'd check just-in-case.
    Specs:
    Photoshop CS5 V12.1 x64
    PC
    Intel Xeon W3505 @2.53GHz
    Nvidia Quadro FX580
    12 GB RAM

    ace591 wrote:
    Hi People
    Here's my problem
    When I try to resize an layer using the move tool (as opposed to the Free Transform tool), while I'm in the process of moving the scaling handles, the bounding box reflects my movement but the layer preview stays at it's original size. When I stop moving the handles there is a few seconds delay and then the new scale size shows up. If I try to move the handles again, without commiting to the transform, the layer preview reverts back to it's original size until I've finished moving the handles.
    I also read you you tried updating your video dirvers and your syste crashed and you had to roll back.   Make sure you have downloaded the latest correct drivers. If that does not work try turning off Open GL in photoshops preferences.
    On my old XP 32 bit system CS5 movet tool with transform dialog does not fail like on your system. I can move the handles time and time again without commiting the transform. The only way to have Photoshop revert the transform back to the original state is to press the ESC key to cancel the uncommitted transform.

  • Step Type Problems with TestStand 3.5

    I have a TestStand system where I have created some custom step types (Created originally in TestStand 2.0). I've
    used these step types successfully in TestStand 3.1 projects with no problems.
    With TestStand 3.5 I have a recurring problem that I cannot clear.
    Once the custom steps have been added to the system, I re-load my Process model sequence files and resolve type
    conflicts by selecting currently loaded types. (Since my process model utilises these steps and was developed under
    3.1)
    I save the Process Model and then load in my test programs, again resolving type conflicts by selecting currently
    loaded types.
    So far so good.
    However, when I exit the sequence editor I'm ALWAYS being prompted that the NI_FlowControl.ini typepalette file has
    been changed.
    This happens even when I set the system to have NO Process Model selected and don't load a program! i.e. I open the
    sequence editor and shut it down immediately.
    1. Why isn't the Sequence editor prompting me that it's about to change the typepalette file?
    2. Why is it changing the type? (And at what point is it happening?)
    3. I have no indication as to what has changed within the type and where the conflict is coming from.
    4. Why is saving the type having no effect whatsoever?
    At one point with a configuration it kept telling me that the NI_DatabaseTypes.ini file had changed (and that it was
    the only one to change) I experimented by removing that type palette entry (since I didn't use the database steps
    with my process model) and it then started complaining about one of the other NI types as being changed! (Is this a
    TestStand bug?) or is there a decent explanation?
    I've even tried redefining the typepalette files of my step types to create a clean system, but it all falls apart
    whenever I try and load an existing test program. No matter how careful I am, TestStand insists on changing loaded
    types without telling me or giving me the option to choose what I want to do!! (Note - re-writing the test programs
    is NOT an option!)
    Any ideas would be welcomed....  

    Brian,
    Have you modified the CommonResults data type?  What is the version that you have loaded?  I have seen this problem when you have a newer version of a data type than the engine loads on startup.  You can fix this problem by either reverting back to an older version of that type (the same as the engine version), or using the following workaround:
    In TestStand, open your type palette window. In the Palette pull down ring select "Customize". Create a new type palette and make sure it is the top-most palette in the list. Name it whatever you like. Click "Ok". Now select your NI_DatabaseTypes.ini from the pull down. Go to the "Standard Data Types" tab, select the "CommonResults" type and copy it.
    Select your newly created type palette from the pull down, and paste the "CommonResults" type into this palette. Save all of your palettes.
    You should no longer be prompted to save your type palettes unless an actual change has been made.

  • Intermittent problem with TestStand calling CVI DLL calling MSCV DLL

    Sorry about cross post, but I am not sure which group is best to address
    this issue.
    Setup:
    Windows 2000 SP1
    TestStand 2.01f
    CVI 6.0
    MSVC++ 6.0 SP5
    Problem:
    I have a CVI Test Library DLL that contains test functions called by
    TestStand using the C/CVI adapter. The CVI Test Library DLL in turn makes
    several calls to another DLL written in MSVC++. I am experiencing an
    intermittent problem with one of the MSVC functions. The problem ~appears~
    to be stack related, but I am not sure. Among other things, this MSVC
    function accepts a const char * argument that is a TestStand lookup string.
    The function uses this string to access the TestStand API.
    What happens is this: Everything works fine. I then recompile the CVI DLL
    after making some mod, then run. The MSVC++ DLL asserts that the const char
    * arg passed by the CVI DLL is NULL. However, this is not the case if I
    single step through the CVI code. It has happened both with passing
    variables as the const char * argument and as hardcoded strings literals, so
    its not that I am actually passing NULL. The other argument to this
    function is the TestStand sequence context dispatch pointer (LPDISPATCH
    pobjSequenceContextDisp) and it always ~appears~ to be passed correctly.
    The problem is frustrating and hard to debug because I can not
    deterministically reproduce it. The problem ~never~ appears when I debug my
    MSVC++ DLL in Visual Studio. And it only occasionally appears otherwise.
    The problem, when it appears, always appears on the first run after
    recompiling the CVI DLL, though the problem does not happen after ~every~
    recompilation. I'd say it happens 1 in 6 times after a recompile.
    Recompiling the exact same code does not always make the problem disappear.
    If I change the CVI code (code that has nothing to do with the argument
    itself though) and recompile the problem almost always goes away. Selecting
    'Mark all for compilation' and rebuilding does not make the problem go away.
    Only tweaking the CVI code and recompiling does (usually).
    Whats more, the problem appears:
    * With the CVI DLL built as Debug or Release mode.
    * With the CVI default calling convention set to __stdcall or __cdecl.
    * With the C/CVI TestStand adapter set to run in-process or external
    instance of CVI.
    The problem appears to be some sort of stack or argument passing problem
    between CVI and MSVC, though thats just a guess based on the symptoms. I
    have quadruple checked the calling conventions of all declared functions.
    The CVI DLL functions all use TX_TEST (which resolves to __cdecl). The MSVC
    DLL functions all explicitly use __stdcall. Is there a problem with calling
    __stdcall MSVC functions from a __cdecl CVI function?
    I can find no other memory leaks or indications of memory corruption
    elsewhere in either the CVI or MSVC DLLs. Its only this one function that
    exhibits this strange 'null const char *' problem.
    Can anyone offer any ideas about what may be causing this problem? Anything
    else I should check/verify?
    Regards,
    Joe

    Silvius,
    > Although I'm not sure if any of the following are the real cause of
    > your problem, I have the following suggestions:
    Thanks for the reply. At this point any and all suggestions are welcome...
    > 1. There could be a problem with calling
    > __stdcall MSVC functions from a __cdecl CVI function. As a workaround
    > wrap the _cdecl call inside a _stdcall call that is exposed or
    > exported to TestStand or vice-versa. This can be a problem because if
    > _cdecl is used, the calling function is responsible for cleaning up
    > the stack and if _stdcall is used, the called function is responsible
    > for cleaning up the stack.
    I was under the impression that as long as everything was explicitly and
    consistently declared, you could safely mix cdecl and stdcall f
    unction
    calls. Is it bad to do this? Is this a known issue with the CVI compiler?
    I've never seen a problem with doing this under MSVC++.
    I'll try wrapping them in cdecl calls for CVI - though we have a
    depressingly large number of stdcall functions in the MSVC DLL ;-). They
    need to remain stdcall in the DLL because we also call them from Visual
    Basic.
    > 2.Don't mix Debug version of one DLL with the Release version of the
    > other DLL. I had some bad experiences doing this and both DLLs where
    > developed in MSVC. Allways use either Debug either Release versions of
    > DLLs.
    I verified that the MSVC DLLs were either ALL Debug or Release. I too have
    seen nasty problems when MSVC Debug and Release is mixed.
    One thing I had not thought of until your reply: What about mixing CVI Debug
    DLLs with MSVC Release DLLs? Have you ever seen issues with doing this?
    Thanks!
    Joe

  • Problem with JFrame resizing at runtime

    Hi All,
    I have a problem with resizing the JFrame at runtime. Even if i resize the JPanel. It is not affection on all the components over the frame. How can i solve that I am using AbsoluteLayout(jre1.6) and here i am going to provide you code snippet. My requirement is to resizt the form. If form is small in size then all the component should also be according tothe size of the form.
    public void initComponents(int size) {
    if(size >= 50) {
    x_co_or = 300;
    y_co_or = 300;
    } else if(size < 50) {
    x_co_or = 200;
    y_co_or = 200;
    jPanel1 = new javax.swing.JPanel();
    jButton1 = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
    jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
    jButton1.setText("jButton1");
    jPanel1.add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 40, 110, 40));
    getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, x_co_or, y_co_or));
    pack();
    Can anybody suggest any idea/solution.
    Any idea/solution are most welcome.
    Regards,
    Pradeep Dubey

    How can i solve that I am using AbsoluteLayout(jre1.6)
    and here i am going to provide you code snippet.no need for the snippet, you're using absolute positioning, which means you're responsible for location and size on every single change.
    start coding now, take about a week, or you could use a layout manager, take maybe, 5 minutes

  • Problems with multiple TestStand versions on the same computer

    I installed LabVIEW 2014 and TestStand 2014; then later I installed TestStand 2010 SP1 and have been using it since.  (I also updated LabVIEW 2014 to 14.0f1; I think I did that after installing TestStand 2010 SP1.)  Is this "legal?"  I have been seeing strange behavior with TestStand 2010 SP1:
    - if I type in any expression text boxes in the Sequence Editor (e.g., for a pre-expression), I periodically get an error dialog as I type:
     "The .NET support dll could not be loaded.  This is caused by an assembly path that could not be resolved.  Error Code: -18700, The .NET support dll could not be loaded.  This is caused by an assembly path that could not be resolved! Source: 'TSAPI'
    After I acknowledging the dialog, I can contine to type a little more before getting the dialog again, but it doesn't seem to invalidate anything I type.
    - If I open the Simple LabVIEW Simple User Interface that ships with TestStand 2014 while TestStand 2010 SP1 is active, LabVIEW immediately crashes.  I can open all the subVIs without a problem, but the top-level VI always crashes LabVIEW.
    So I used the TestStand Version Switcher to make TestStand 2014 active, opened the top-level Simple UI VI, and deleted all the UI controls.  Then I switched back to TestStand 2010 SP1, and then I was able to open the top-level VI.  I added back the TestStand UI controls to the VI, and now the VI runs.  But many operations return a TestStand error dialog, such as Close Execution ("Value invalid or out of range [Error Code: -17300]"), Logout ("Cannot find item to select in ComboBox [Error Code: -2147467259]"), and (critically) Exit ("Operation Failed.  Error Code: -17500]") and the X in the upper right corner of the window ("Operation Failed.  Unknown System Error in <VI name>").  So I can't exit without killing LabVIEW.
    These two issues may be unrelated.  But maybe installing an older version of TS after installing a newer version is not a valid use case?  Is the ActiveX error a result of this?  Should it be possible to use a (simple) UI written for a newer version of TestStand be able to work with an older version of TestStand?
    I have another issue that is probably unrelated, but I'll bring it up here just for completeness.  If I right-click on a LV property node or invoke node for a property or method from the TS API and ask for help for the property or method, a command window flashes briefly before showing the TS help window with the top-level item selected (i.e., it doesn't take me to the help for the selected property or method).  I have this problem with either version of TS active, and I saw this problem even before I installed TS 2010 SP1.  I seem to recall having this problem once before, but I can't find the solution.  I don't know if this problem is an indication of some other larger problem.
    For what it's worth, I am running WIndows 8.1 on a virtual machine.

    Thanks for the information, Doug.  Maybe the ActiveX error dialog I get while in the sequence editor is related to the fact that I'm running an unsupported operating system.
    So using a UI that was created in a newer version of TS is not supposed to be able to run with an older version of TS.  Is there any way to enforce this (like having a dialog appear informing you of the incompatibility when the TS engine is loaded) and avoid an immediate crash?  (Maybe the crash has to do with the incomaptible OS as well.)
    Is there a way to "relink" a UI to an older version of TestStand?  Can you just relink all the ActiveX reference controls/constants to the TS ActiveX servers?  As far as I can tell, everything I am trying to do with the new TS version should work with the old version.  And also, as far as I can tell, the TS version switcher changes the version of the available ActiveX server; so unless my UI uses a feature unavailable in older TS versions, I would think it shouldn't know the difference.  (I'm making a lot of assumptions in that last statement, so I may be totally wrong here.)
    Thanks,
    Jeff

  • My iPod Touch 3rd Gen is having problems with the touch screen being unresponsive, too responsive, freezing and constantly resizing. Is this a common problem? Is there a fix?

    My iPod Touch (3rd Gen) is having problems with the touch screen being unresponsive, too responsive, freezing and constantly resizing. It varies between not responding when I tap the screen and acting as if I double-tap or tap and hold when I tap. Every so often it freezes for a minute or so and then comes back. The scren is constantly changing sizes too such that I often can't see most of the top status bar or other edges. This makes typing almost impossible, ruins most games and generally makes everything difficult, but otherwise the iPod is working correctly. Powering off, shutting down apps, letting it sit have not worked. This has happened once before months ago, but the issue resolved itself somehow. Is this a common problem? Is there a fix?

    Try this for the freezing
    http://www.apple.com/support/ipodtouch/assistant/ipodtouch/
    Or if they don't work put it into recovery mode
    See here
    http://www.apple.com/support/ipodtouch/assistant/restore/
    Then restore
    http://support.apple.com/kb/HT1414

  • We have version 10.5.8 photoshop CS3 for Mac. How do we fix a problem with photoshop not resizing dpi? For example we resized a 72 dpi image to 200 dpi, when we do a pdf analysis it read as 344 dpi.

    We have version 10.5.8 photoshop CS3 for Mac. How do we fix a problem with photoshop not resizing dpi? For example we resized a 72 dpi image to 200 dpi, when we do a pdf analysis it read as 344 dpi.

    Sounds like it's a problem with the Acrobat settings. Did you set them to the same resolution?

  • Problem with getting resized image's bytes

    I've got a problem with getting correct bytes of a newly resized image. The flow is that I retrive an image from the filesystem. Due to the fact that it is large I resize it to a 50x50px thumbnail. I can display this thumbnail in #benchmark1 (see code below). Unfortunately something's wrong with my imageToBytes funtion which returns reasonably small size of image but is totally useless - I can't make an image of it anymore so at #benchmark2 the application either crashes or keeps freezing. I saved this byte array on my disk and tried to preview under Windows how does it look but I got a message "Preview unavailabe". I did some digging in the Internet and I supposed that it's because I don't use any jpg or png encoders to save the file. Actually I think that it's not the case, as the bytes returned from method imageToBytes look weird - I cannot even make a new image of them and display it without any saving in memory.
                                  byte[] bytes = FileHandler.readFile (
                                          FileHandler.PHOTOS_PATH, fileName);
                                  Image img2 = Image.createImage (bytes, 0, bytes.length);
                                  img2 = ImageHandler.getInstance ().resize (img2);
                                                    //#benchmark1
                                  bytes = ImageUtils.imageToBytes (img2);
                                  img2 = Image.createImage (bytes, 0, bytes.length);
                                                    //#benchmark2my imageToBytes function is as follows:
         public static byte[] imageToBytes (Image img)
              int[] imgRgbData = new int[img.getWidth () * img.getHeight ()];
              byte[] imageData = null;
              try
                   img.getRGB (imgRgbData, 0, img.getWidth (), 0, 0, img.getWidth (),
                           img.getHeight ());
              catch (Exception e)
              ByteArrayOutputStream baos = new ByteArrayOutputStream ();
              DataOutputStream dos = new DataOutputStream (baos);
              try
                   for (int i = 0; i < imgRgbData.length; i++)
                        dos.writeInt (imgRgbData);
                   imageData = baos.toByteArray ();
                   baos.close ();
                   dos.close ();
              catch (Exception e)
              return imageData;
    I've run totally out of any idea what's wrong, please help!
    Edited by: crawlie on Jul 17, 2010 6:21 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hey Crawlie,
    Please note that simply writing int values into ByteArrayOutputStream will not suffice. Please have a look at the following conversion from int pixel value into byte[4]:
    public static final byte[] intToByteArray(int value) {
            return new byte[] {
                    (byte)(value >>> 24),
                    (byte)(value >>> 16),
                    (byte)(value >>> 8),
                    (byte)value
    }Good Luck!
    Daniel

  • Split pane - problem with resize

    I have problem with splitPane. I can't resize panels using splitpane and i dont know why :(
    Here is my program: https://rapidshare.com/files/4139244909/inzynier.rar
    Any ideas, what i am doing wrong?
    Another problem is: When i try build this project i geting warinings :
    warning: No SupportedSourceVersion annotation found on org.jdesktop.beans.JavaBeanProcessor, returning RELEASE_6.
    warning: Supported source version 'RELEASE_6' from annotation processor 'org.jdesktop.beans.JavaBeanProcessor' less than -source '1.7'
    2 warnings
    ;/

    Seeing that your file has a size of 3.5 Mb, I preferred not to download it, but to send you this link.

  • Problems in using Labview DLL with TestStand!

    Hi,
    I tried to put the VI's to create a TCP/IP Connection, read/write Data to it and close it inside a LabVIEW DLL and use these functions with TestStand.
    The problem is to get access to the ConnectionID generated as TCP Network Refnum in LabVIEW.
    I don't know how to specify the prototype entry for this Refnum in LabVIEW and how to read it with TestStand.
    Another try to pass an ActiveXReference of SequenceContext and use the SetValIDispatch method to set a local variable (Type: ActiveXReference) to the returned ConnectionID of the TCPOpen.VI wasn't successful too.
    It seems to me that the connectionID isn't a normal ActiveXReference.
    Regards,
    Sunny

    Hi Sunny -
    You should treat this parameter as a pointer to an int when calling the DLL from TestStand (or any language like C or C++). Note that you can't do anything with the value outside of LabVIEW since it only has meaning inside of LabVIEW. You can only pass it around for use in other VIs you call from TestStand.
    Hope this helps....
    Kyle G.
    National Instruments
    Kyle Gupton
    LabVIEW R&D
    National Instruments

  • URGENT: Heap space problems with image resizing

    I'm creating a Swing program, with an InternalFrame-type interface. One of the frames contains a .gif file background and then primitive G2D objects are drawn on top of it.
    The background image loads and displays fine at its original size, but I've added code for when the window resizes, and resizing the image causes the VM to give me an OutOfMemory exception.

    I tried this without any problem (with a gif of 137 kb):
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class ImageFrame extends JFrame {
        public ImageFrame() {
            initComponents();
            Toolkit T=this.getToolkit();
            im0=T.getImage("C:\\sophie.gif");
            MediaTracker mediaTracker = new MediaTracker(this);
            mediaTracker.addImage(im0, 1);
            try {
                mediaTracker.waitForID(1);
            } catch (InterruptedException ie) {
                System.err.println(ie);
            jInternalFrame1.add(new MyPanel());
        private void initComponents() {
            jDesktopPane1 = new JDesktopPane();
            jInternalFrame1 = new JInternalFrame();
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            jInternalFrame1.setResizable(true);
            jInternalFrame1.setVisible(true);
            jInternalFrame1.addComponentListener(new ComponentAdapter() {
                public void componentResized(ComponentEvent evt) {
                    jInternalFrame1ComponentResized(evt);
            jInternalFrame1.setBounds(0, 0, width, height);
            jDesktopPane1.add(jInternalFrame1, JLayeredPane.DEFAULT_LAYER);
            getContentPane().add(jDesktopPane1, BorderLayout.CENTER);
            Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
            setBounds((screenSize.width-800)/2, (screenSize.height-500)/2, 800, 500);
        private void jInternalFrame1ComponentResized(ComponentEvent evt) {
            width=jInternalFrame1.getWidth();
            height=jInternalFrame1.getHeight();
        public static void main(String args[]) {
            new ImageFrame().setVisible(true);
        private int width=500,height=300;
        private Image im0;
        private JDesktopPane jDesktopPane1;
        private JInternalFrame jInternalFrame1;
        class MyPanel extends JPanel {
            public void paint(Graphics g1) {
                g1.drawImage(im0,0,0,width,height,this);
                g1.dispose();
    }

  • Problems with resizable container

    Hi,
    I have a resizable JPanel with cubes inside it.
    The problem is when I resize the JPanel the cubes inside it gets resized only after I move the borders of the JPanel ~14 pixels...
    The problem is in the X axis...
    The Y axis "jumps" every ~5 pixels...
    I need content of the JPanel also to resize every 1 pixel (so it would be on the borders of the JPanel)...
    Any Ideas?

    I guess that the only solution is NOT to use gridLayoutWell that would explain the behaviour. It would have been nice if that information was included in the original question. Thats why I always ask for a SSCCE, since you never no what information is importan or not.
    All components in a GridLayout have the same size. So if you have a Grid with 10 component that is 400 pixels wide each component will be 40 pixels wide. As suggested above the size of each component will only be adjusted when you incread the width by 10 or more (since you have 10 components in each row).
    Doing it manually would also be a pain. If you increase the width by 1 pixel you would only be able to increase the size of one component. Then if you increase it by one pixel again you can only change one component, so do you change the first one again or the second. So now you need an algorithm to determine which component gets the extra space.
    I need content of the JPanel also to resize every 1 pixel (so it would be on the borders of the JPanel)...Don't know exactly what your layout is like, but maybe you could center the panel in the frame. That way as you change the size the "border" will change on both sides and it may not look as bad.
    You can try using a BoxLayout. Components will grow as the size is increased but I think you might have problems with the first components always growing first.

  • Problems with resizing a JFrame

    Hello people! I'm having a problem setting the size of a JFrame while it is visible. Just resizing it by hand with the mouse is no problems, everything works ok, but when I call the setSize(blabla) method, the contents of the window doesn't notice that it has more space to draw the components on. The result is that the extended area of the window is just plainly white... until I resize it by hand, then everything looks ok. Does anyone have a solution? repaint() doesn't help...
    /Erik

    hay svenmeier...
    I'm all confused with the pack() method... I don't like it :) It always sets the size 2 pixels too large in windows 9x/Nt/2k/xp. Of course that's adjustable, but I'm unsure whether it will be the same on all other platforms. It's just one problem that I have that I have never been able to solve. Asking people around here for a solution never helped, because it seems others do not have this particular problem.
    So, to me it seems that the most reliable way to set the size of a frame is to first set it visible, and then resize it with respect to the insets.
    /Erik

Maybe you are looking for

  • How can I determine if my Creative Suite 5 is Premium or Standard?

    Will my serial number tell me the answer? Thanks!!

  • Aspnet_compiler: Command Prompt error

    Hello I am getting the following error when trying to compile my ASP.NET project from the Command Prompt: error 1001: Unexpected parameter: 'Studio'. The compiler on my hard drive is here: C:\Windows\Microsoft.NET\Framework64\v4.0.30319, although I d

  • Videos are wrong format

    I bought some music videos and tv shows on itunes. however, it says they are the wrong format for my ipod. i have the 5th generation video so everything should be okay. i also tried reformatting and it said there was an error. it shouldn't even need

  • Look at the 5th Char in a string

    Hi, In a string, after the 4th characters if it's a space i need to move the remaining characters in the string to another field. For example, String 1 = 'ABC DEF GH'. The 5th Character is not a space and the 8th character is a space,thus GH will be

  • ITunes won't start up, but icon is showing?

    Hi, I have a problem. I had upgraded iTunes to 7.0.2.16. When I went to open iTunes, it wouldn't start. The icon is showing, but when clicked on, my computer just makes noise, and then falls silent. Does anyone have any ideas to why this is??