Resizing a Window and proportionately varying the size of all it components

Hi,
I am writing a java application in which I am creating different componets like Panels, Canvas, ScrollPane etc. on a Frame. When I resize this Window, I want to proportionately vary the sizes of all its components. Any idea how I can do that ?
Thanks,
Arun

Panels, Canvas, ScrollPane etc. on a FrameThose are all AWT Components. This is a Swing forum.
Also its about time you learned to respond to the suggestions you've been given in the past so people know if the advice given is helping or not. Otherwise we will just stop answering questions since it appear you are ignoring all the suggestions.

Similar Messages

  • How do I reduce the size of all elements in a Motion project proportionately and simultaneously?

    I have created a complex Motion project with many elements.  Does anyone know how to reduce the size of all elements proportionately and simultaneously in order to shrink this down to a corner logo? Thanks

    Sure.
    In the Layers pane,  IF all of your layers are already in a single Group (if you're really a beginner, then you probably just have the one group), all you need to do is select the Group "layer" containing your design elements and clone it (type - k) -- you'll get a new layer in a new group if it's a top level group of the project called Clone Layer.  (If you have more than one group, select all of them --- however, if there is an FCPX Placeholder-drop-zone-looking-layer with a label like Effect Source or Title Background, don't select that -- you'll need to command-click select just the layers that make up your logo design). [You can alternately select *everything* and command click the layers you do not want to include in the Clone.]
    Creating a clone of anything in no way changes that object or objects.  A clone is like a composite viewer for objects/layers -- like a tv screen is to broadcast signals...
    Uncheck the Cloned Group (or selected objects - if still selected, unchecking one will uncheck all of the selected layers) to inactivate it (this will not affect the clone visibility.) 
    Select the Clone Layer.
    Use the Properties > Transform tools to scale and position the clone layer (changing the blend mode to something like hard light, overlay or similar, and adjusting the opacity makes for a nice "watermark" [corner logo]).
    HTH (hope it's clear enough!)

  • Dynamically vary the size of various frames

    I have a jsp page which has a number of frames. What I want is to vary the size and location of the frames.
    If you use eclipse IDE you can just drag and drop one frame from one place to another , I want something of that sort.

    Don't know how this applies to this forum, but you can set the size of a frame using a JSP expression (i.e. <frame width="<%=mySize%>"...>) where you've previously assigned a value to mySize.
    HTH.

  • Some apps crash out when I close their window and switch to the Finder

    It has been doing this since day one.  I'm a college student and bought a laptop to replace another really old mac system, to use as my main system.  The issue I'm noting is that on some apps, if I close out their window and switch to the Finder, by either click on the desktop, or by command tabbing.  The application seems to crash.  I say 'seems' becuase I'm not certain it's crashing.  It does this in Text Edit along with pages.  I'm trying to find out if it's supposed to this or if it's supposed to be a new feature.  There is never a crash log made that I know of, nor a dialog box stating the app crashed.  However, it does this by itself, without my quiting out the app by command q nor file>quit.
    This has been relatively minor and hasn't caused any large problems.  To me it's an annoyance and inconviencning.  Which is why I waited until summer break at school to investigate.  Other classmates with older mac book pros but the same OS version have not had this problem.  Wondering if I have a botched isntall of OS X from the factory.  I've already had it in for service for the motherboard.  The cooling system was not correctly attached to teh CPU at the factory and cooked itself.
    I'm tempted to do a reload of the OS from the diagnostics partition the system came with.  I haven't transferred much of anything from the previous system that this one is replacing.  Now would be an ideal time to do anything of this nature rather than say in the middle of next semester.
    The issue occurs in TextEdit, Pages, and that's it so far.  I really have almost nothing loaded on the system.  I dual boot into another OS for using Maya and other various software apps.  The issue does not occur with Safari nor FireFox nor Preview.  It seems confined to Pages and TextEdit.  It can be extremely annoying however when typing an essay in Pages.  Perhaps it's a feature that was introduced that I can turn off?  Going from a 5 year old Mac Mini to a MBP, LOTS has changed.

    Sorry for taking so long to reply.  It's still doing it.  I'm kind of wondering if something like a preferences file is corrupted, however, I have to do a total system reload to begin with to eliminate any potential corrupt data on the windows 7 install.
    Back story.  When I first got this thing it was running super ridiculously hot.  It's the first laptop I've ever owned however so I had nothign to use for reference.  After about two months of it getting brutally hot, it did a BSOD in the windows 7 install I did via bootcamp.  It never turned back on.  Took it to the Apple store in Novi MI and they stated it somehow ran so brutally hot the CPU did a solder reflow and the whole motherboard shorted out.  Even worse though, I had gotten this hot before rendering stuff in Maya and Vue.  I had done burn in tests when I first received the system, it had passed, or so I thought.  They couldn't even get the system to turn on at the Apple Store.
    The tech at the apple store told me that one of the heat sink pins on the CPU just plan broke off and another wasn't attached correctly.  Essentially the system kept overheating as I was consisently completely maxxing out the system doing CGI test renders for my junior animated short film.  The cooling system was never fully connected at the factory according to the Apple Tech.  I don't know how literate everyone reading this is on computer engineering but, when you overheat an IC, whether it's an ASIC or CPU, they dont' immediately crash, they corrupt data.  To further complicate the mess and increase teh chances of data corruption, with the 4th gen Intel i series CPUs (which the MBP uses), they moved the northbridge directly into the CPU die.  So if teh CPU is overheating, the chances of data corruption inadvertantly go up even higher.  I'm suspecting that happened in the first few days of owning the system but that it was minor at that point.  It can take months for the effects of corrupted data to propagate out and be visible to the user.
    I would assume that they did a diagnostic test on the SSD when it was in for service, to ensure the SSD didn't overheat.  The tech did state that if the drive failed the diagnostics, they would have ot replace the drive and henceforth all my data would be gone.  Not really a way around it.
    Currently under the windows 7 install with Maya and Vue, later iterations of the scene file, from Maya, for my animated short film, have a reproduceable glitch involving a gamma shift and camera selection.  Part of the scene files seem to be corrupt and were saved that way.
    Reloading the OS from the recovery partition did not fix the original problem I've been having that I initially asked for help with.  I'm considering wiping out the recovery partition in addition to reinstalling windows 7 and OS X again, it would be the only way to completely eliminate the possibility of any corrupted data floating around on either partition.  I don't have a way of knowing if corrupted data was written to the SSD beyond the corrupted Maya scene files.  The only way I can be sure that it's 'contained' or eliminated, is if I completely wipe the drive and start from scratch.  Now would be a great time rather than in the middle of working on my senior thesis for my BFA degree.
    I'm wondering if you could point me to documentation showing how to wipe out all the partitions, including the recovery one.  My understanding is that there is a way to do a 'net boot' or 'net recovery' over a broadband connection using Apples servers.  The idea of doing a Live boot from a Ubuntu distro to run fsck is appealing but it would be pointless.  The file system shoul be fine, it's the data the file system points to that I suspect is corrupted at somepoint.  Unless you recommend otherwise and or formatting.
    The overheating also corrupted my journal but there is no way to recover it, I overwrote the earlier file(it looks like uncompiled C++ and jibberished text) when I saved it after completing an entry.  This was many months ago.  Though the idea of attempting a restore with Ubuntu Remix or other recovery Linux distros is appealing I'm doubtful I'd get far, though it's an SSD not a traditional harddrive and they don't work the same.
    Back to the main point though, I suspect the overheating corrupted a prefs file which is causing the glitch I'm seeing, and reloading the OS did not fix it.

  • I have installed the LATEST VERSION of itunes in my windows and i bought the new ipad with retina display ,i had moved music into the ipad from my windows through the itunes but I DONT KNOW HOW TO MOVE THE VIDEOS IN MY VIDEOS LIBRARY OF MY COMPUTER TO MY

    i have installed the LATEST VERSION of itunes in my windows and i bought the new ipad with retina display ,i had moved music into the ipad from my windows through the itunes but I DONT KNOW HOW TO MOVE THE VIDEOS IN MY VIDEOS LIBRARY OF MY COMPUTER TO MY

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • When i download software, then go to the download window and click on the file, it is aking me to open it with a launch application. how do i figure out what app to use. ex; downloaded a new version of java, what app do i use to install?

    when i download software, then go to the download window and click on the program , i'am being ask to choose a launch program. how do i figure out what app to use to install. ex: i downloaded a new version of java and a game program. how do i install?

    Where did you download the java?
    Download it from here [https://www.java.com/en/download/index.jsp https://www.java.com/en/download/index.jsp]

  • How do I get a longer list of items in the history window - and not have to click "Show All History"? The default list is too short.

    How do I get a longer list of items in the history window - and not have to click "Show All History"? The default list is too short.

    Well I figured it out… all you do say show commands :-/

  • Open a new window, draw boxes in the window, and communicate between the two windows

    I'm going to research this, but figured I'd jump start here in case someone can give me a quick link or point me in the right direction on how to do this while I'm looking.  This is an area of Flex I haven't hit on yet.
    Basically I need to have my flex app (AIR Application) open a new window, allow the user to draw a box on that new window, and then pass the info of the box (X and Y, Width and Height) back to the main window.
    I've never done any of that and am going to try to find out how, but if someone could point me here before I find it online, that would help a great deal, kind of in a time crunch.... thanks.

    You can open the new window as a TitleWindow popup. You can pass info back to the main app using mx.core.Application.application.
    In main app:
    public var windowInfo:Object;
    In popup:
    import mx.core.Application.application;
    private var app:Object = mx.core.Application.application;
    app.windowInfo.x = this.x;
    app.windowInfo.y = this.y;
    app.windowInfo.otherOne = this.otherProp;
    Looking ahead, it is best to pass information between the main app and components using custom components. Below systemManager, popups and the main app are in different display lists, so add event listeners for custom events to systemManager. My Flex Cookbook post on custom events shows this:
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=11246
    http://livedocs.adobe.com/flex/3/html/help.html?content=layouts_12.html
    If this post answers your question or helps, please mark it as such.

  • I am trying to upgrade to itunes 10.7 using windows and keep getting the following error message: "Error writing to file: C:\Config.Msi\364460.rbf   Verify access to this dierctory". Help!

    I am trying to upgrade to itunes 10.7 using windows and keep getting the following error message: "Error writing to file: C:\Config.Msi\364460.rbf   Verify access to this dierctory". Help!

    Fixed! (win7 64 bit)! Just stop your antivirus during the upgrade/installation (I've got Kaspersky).
    Good luck!

  • Can you please fix problem error msg ..well this is embarrassing ..Firefox is having trouble recovering window and tabs. Etc. comes up all the time

    I checked FAQ and solution to quit first and not close windows didn't help me. Will a new version be coming out to fix this problem? And if so PLEASE make it soon

    hello, this is currently a problem in firefox when you first close all open firefox windows and then close the application afterwards - the bug should be addressed in a later version of firefox.
    as a workaround in the meanwhile you could close firefox (through firefox > quit) while the browser window is still running or try this: enter about:config into the firefox location bar (confirm the info message in case it shows up) & search for the preference named '''browser.sessionstore.resume_from_crash'''. double-click it and change its value to '''false'''.

  • How to customize and fix permanently the size of web pages (zoom%) in Firefox as in Internet Explorer either: View - Zoom - Custom (percentage).

    How to customize and fix permanently the size of web pages (zoom%) in Firefox as in Internet Explorer either:
    View - Zoom - Custom (percentage).
    Thank you

    This may help you.
    https://support.mozilla.com/en-US/questions/894000

  • Safari 5.1 not loading MOST of the times. like 1 in 100 attempts it works fine, and that too, as long as you work in same window. and what's the webkit2webprocess.exe file?

    safari 5.1 not loading MOST of the times. like 1 in 100 attempts it works fine, and that too, as long as you work in same window. and what's the webkit2webprocess.exe file?

    the webkit2webprocess.exe has something to do with the sound. Safari works fine for me, except for the occasional time when the webkit2webprocess.exe crashes. Sometimes it crashes Safari altogether but sometimes it just reloads all the tabs I have opened. Either way, it's a huge pain. I hope they fix it with an update soon.

  • I partitioned my apple macbook with windows and mistakenly deleted the apple partition, now i want to restore my system fully to apple. please how can i do that

    i partitioned my apple macbook with windows and mistakenly deleted the apple partition, now i want to restore my system fully to apple. please how can i do that

    If your MacBook shipped with an install disc you'll have to use that. If it didn't you should be able to use Internet Recovery OS X: About OS X Recovery
    EXactly which macbook do you have?

  • When I try to play several games like: FiFa 2011HD, Real Racing2HD and TransformersHD, after I selected the configurations to start to play it, and then the game close  the window and returns to the Ipad main screen. I upgraded my Ipad at Apple store but

    When I try to play several games like: FiFa 2011HD, Real Racing2HD and TransformersHD, after I selected the configurations to start to play it, and then the game close  the window and returns to the Ipad main screen. I upgraded my Ipad at Apple store but nothing happened. Anyone knows how can I resolve it, please ?

    1. first try to reboot your ipad
    if that don't work then try downloading another app don't matter which one
    and if it fix your problem you can just delete it afterwards

  • Hi Thanks for 4.0. It runs much faster on my Mac, however, it no longer works to zoom in all of my web pages. I use to be able to use my finger pad to increase the size of all of all pages. Thanks again.

    Hi Thanks for 4.0. It runs much faster on my Mac, however, it no longer works to zoom in all of my web pages. I use to be able to use my finger pad to increase the size of all of all pages.
    Thanks again.
    PS Are you working on a version for the iPad and iPhone with Add Blocker? That would be great!

    Here are some zoom add-ons which might provide a workaround:
    [https://addons.mozilla.org/en-US/firefox/search/?q=image+zoom&cat=all&x=0&y=0 Image Zoom]
    As regards your question about iPad and iPhone, you'd be better off posting that question here: [https://forums.mozilla.org/addons/ Mozilla Add-ons Forum]
    P.S. ''Apologies for not responding earlier''.

Maybe you are looking for

  • Purchase Order Issue

    Dear All,          I am working on SAP 2007 B PL 10. Now I am making a Purchase Order for Item1 Qty as 100.         Now based on this Purchase Order I prepare GR PO of Qty 100. Now manually my production Team does Inspection and hence after inspectio

  • Ipod touch (5 gen) wont recognize that I have subscribed to Itunes Match

    I have a 5th generation Ipod Touch. I subscribed to Itunes Match on my computer (Windows 7) I have not been able to get Itunes on my computer to recognize the Ipod Touch therefore I purchased the Itunes Match to get my songs onto the Icloud to then t

  • Printing Contact Sheet on a black background

    Hello, I would like to print a contact sheet on a black background. Is it possible? I have various type of photo 6x6 3x2 but also 4x3 or 1x3 and the space between these photo on the contact sheet is white... and not black as I think it should be to m

  • Hi? I have a problem knowing the battery measurements for my Acer Aspire V5-471 model, assist please

    jakodielo, I went and measured one for a the V5-471 notebook we have here: Length: 10 1/2" Width: 1 1/2" (this includes standouts) Depth: 3/4"

  • My iOS5 device cannot locate my Mac

    My MacBook Pro was located on my iPod Touch just fine at work, but at home my Touch cannot find the laptop.  I am using wifi at home with both devices on the same wifi networ.  The Find iphone utility on my Touch reports "no location available" for t