Zoom JPanel and all its components

Folkses,
I have a JPanel which contains a lot of different components, containers with components, etc.
The components are either images or drawn 'by hand' (overwritten paintComponent).
Is there a simple way of zooming in/out to get the whole picture larger/smaller? I know Graphics2D.scale() but I'm hestitant to implement this in each and every component of my JPanel.
Thanx,
Thomas
PS: searching the forum I only found answers on zooing images...

Hello camickr,
I am also very much interested in this.
Well, you can create an image of a panel and then zoom the image.But I think this will not increase the components' bounds and components would not respond mouse events etc. correctly. Am I right? Then, what is the way of zooming such that all the components respond to events correctly.
I hope you have done something like this before and help us.
Thanks!

Similar Messages

  • How do I reinstall CS6 and all its components?

    How do I reinstall CWS 6 and all its componentsd?

    This is a public forum so there may be a delay in response.
    In order to advise you on how to uninstall Creative Suite 6 can you please respond with the operating system you are using on your computer?

  • How Do You UNINSTALL ITUNES And all its Components..

    Hi can you help me.
    after spending a solid 24hrs trying to get my itunes to recognise my ipod
    after upgrading it says software missing!!!
    tried a suggestion or 2 but I cannot get it to link up
    I AM VERY UPSET
    and have decided to remove itunes from my pc and start all over again..
    Can you help me??
    Thanks for reading
    Andrew Carrington

    Gah! Well at least it's not just me ;-))
    Not to worry, I guess they'll let us in sometime soon hopefully. In the meanwhile, I'll keep on sticking profiteroles thru the letterbox in the hope that such goodies will pacify the Discussions hounds guarding the doormat...
    Kind regards,
    Gopha.

  • [REQUEST] update ibus and all its components

    ibus 1.3.9 is released 9 months ago, so it is quite old.
    could any TUs and DEVs update the ibus branches to git version on github?
    It has quite a lot of bug fixes.
    I think ibus is important because gnome is going to integrate it in 3.2. I really want to see several testing builds just like other important packages.

    Usually, we stick with stable release for the packages in the repo. There are exceptions but the problem with ibus is that it's orphaned so no-one want to take the responsability in case the unstable release has problems. I took a look and some of the ibus stuff have newer stable release so I'll update them. There are also unstable releases which help a bit since you don't need to worry about choosing the correct git snapshot, but I'll need to see what other distro are doing. As I don't use ibus, I don't want to introduce new problems.

  • [svn:fx-trunk] 12542: When adding a mask to the display list need to validate it and all its children .

    Revision: 12542
    Revision: 12542
    Author:   [email protected]
    Date:     2009-12-04 10:38:32 -0800 (Fri, 04 Dec 2009)
    Log Message:
    When adding a mask to the display list need to validate it and all its children.  Previously the children were not validated and their display list was updated before properties were committed or measure was done.  RichText was not set up to handle this.
    QE notes:
    Doc notes:
    Bugs: SDK-24511
    Reviewer:  Evtim, Deepa
    Tests run: checkintests, fxg, primitives, Group
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24511
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/MaskUtil.as

    AFAIK, the only way to do this is to write a system modifcation.
    The BADI is executed only once at startup of the session, so that makes it merely static. (A strange point in time, I discussed it with SAP and they just shook their heads)
    I had the same problem with some other F4-Helps and it was a big hazzle. From my experience, no straight answer.

  • How to print a dialog box with all its components ?

    Hi !
    I've written an application.It has a dialog box [JDialog] containing following components:
    1) 2 JLabels.
    1) A JTextField.
    3) A JTable with some values.
    4) A JProgressBar.
    5) A JButton.
    6) An animated gif image.
    I want to print the dialog box with all its components exactly as the are [ Except the button & animated gif ].
    Would anybody please help me?
    My Operating System: Windows XP

    The article over at http://java.sun.com/developer/technicalArticles/Printing/Java2DPrinting/ has some helpful information on printing Swing components.
    It suggests creating a subclass of the JComponent that you want to print, and have it implement Printable interface.
    So, something like (note, uncompiled / untested code alert) :
    import java.awt.Frame;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.HeadlessException;
    import java.awt.print.PageFormat;
    import java.awt.print.Printable;
    import javax.swing.JDialog;
    public class PrintableDialog extends JDialog implements Printable {
          * Or whichever constructor you need...
         public PrintableDialog(Frame owner, String title, boolean modal) throws HeadlessException {
              super(owner, title, modal);
          * Implementation of the Printable interface.
           public int print(Graphics g, PageFormat pf, int pageIndex) {
              if (pageIndex != 0) return NO_SUCH_PAGE;
              Graphics2D g2 = (Graphics2D) g;
              g2.translate(pf.getImageableX(), pf.getImageableY());
              getContentPane().paint(g2);
              return PAGE_EXISTS;
    }Cheers,
    John

  • In my Iphone 5, Nothing on my App Store is working its displaying blank (Except for Genius section). I've tried to uninstall and install itunes and all its component but still it doen't fix. Not sure if its problem with apple servers. Someone help please!

    In my Iphone 5, Nothing on my App Store is working,  its displaying blank (Except for Genius section). I've tried to uninstall and install itunes and all its component in my desktop but still it doesn't fix the app store issue. Not sure if its problem with apple servers. Someone help please!

    settigns>itunes and app store to make sure you are signed in.. If  you are, you will see your account name..... anyhow, click your account name, sign out and sign back in
    also go to to settings>general>reset and reset network settings... if that doesnt work settings>general>reset and reset all settings!
    one of those shall work. The last step would be to restore your device (apple.com/support) HT1414

  • How can I save a page and all its component parts in a single file, like IE does as an MHT - it's much easier for mailing to people where page address not available?? (as in output from an airline booking site, for example)

    how can I save a page and all its component parts in a single file, like IE does as an MHT?
    It's much easier for mailing to people where page address not available?? (as in output from an airline booking site, for example)
    It is simply too painful to have to zip everything up into a single file to send. MHT format has been available for years now from IE, and with every new FF release it's the first thing I look for. I have been using FF for years, and hate having to come out of it, over into IE |(which I even took out of startup) and key everything in again, in order to send somebody something in a convenient format that they can open with a single click.
    I can't believe this hasn't been asked before, so have you looked at it and rejected it? Have MS kept the file format secret?
    Thanks
    MG

    This is not really an answer just my comments on your question.
    I am sure I recollect efforts being made to get mhtml to work with FF.
    Probably the important thing to remember about .mhtml is that if other browsers do support it they may need addons, and may not necessarily render the content correctly/consistently.
    There are FF addons designed for archiving webpages, you could try them, but that then assumes the recipient has the same software.
    You could simply save the page from FF to your XP pc; then offline open it with and save it using IE, before then emailing using FF, and attaching the .mht or mhtml file that you have now created on your PC.
    As an alternative method, in some cases it could be worth considering taking a screen grab of the required page, then sending that to the recipient as a single email attatchment using either a bitmap or jpeg file format for instance.
    Something such as an airline booking may be designed with a print option, possibly it could be worthwile looking at sending the print file itself as an email attachment.

  • Hi I want to buy an unlocked iPhone 5in the Middle East. I want to know if I will be able to use my iPhone and all its applications when we go back to live in the US for long term.

    Hi I want to buy an unlocked iPhone 5 in the Middle East. I want to know if I will be able to use my iPhone and all its applications when we go back to live in the US for long term.
    Thank you

    Apple Online Store sells unlocked iPhone in the following countries: Australia, Austria, Belgium (French, Dutch), Brazil, Canada (English, French), China, Czech Republic, Denmark, Finland, France, Germany, Hong Kong (English, Chinese), Hungary, Ireland, Italy, Luxembourg, Malaysia, Mexico, New Zealand, Netherlands, Norway, Poland, Portugal, Singapore, Spain, Sweden, Switzerland (French, German), Taiwan, Thailand, United Arab Emirates, United Kingdom, and United States.
    You can probably be absolutely sure any other source will be carrier locked
    It also appears that only Zain offer unlocking (of all the ME carriers )  in Jordan and Bahrain
    A ME iPhone 5  ( A1429 GSM )will not  work on US LTE when you return 

  • My itunes says that my ipod is synced with another library when it is not and cannot update or sync without wiping it and all its data

    My itunes says that my ipod is synced with another library when it is not and cannot update or sync without wiping it and all its data
    Can anyone help me

    Syncing to a new iTunes library or computer will erase your ipod. Only if you back up your iPod manually before syncing, you can restore your device from that backup again. A manual backup does not include the sync process.
    Do this:
    Disable autosync in iTunes, connect your iPod to your new computer and right click on it in the device list and choose backup. iTunes will backup your iPod without syncing.
    Transfer your purchases the same way, choosing "transfer purchases" this time.
    All media content will be erased during the first sync, but you can restore your settings and app data from your manual backup afterwards.
    Don't forget to set up at least one contact and event on your new computer to be able to merge calendars and contacts when you sync the ipod for the first time.
    Music is one way only, from the computer to your device, unless you bought the songs in itunes and transferred your purchases.
    There is 3rd party software out there, but not supported by Apple, see this thread:http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0

  • How to run the Oracle SOA Suite and all its prerequisites on different mach

    Greetings,
    Due to the difficulty to run the SOA Suite and all its prerequisites, including JDeveloper, on a single machine, I would like to deploy the admin server, the soa server and the bam server on separate machines. Is it possible and, if yes, how ?
    Kind regards,
    Nicolas

    yes.
    You can just install db + rcu + wlst + soa on 1 machine. After that you middleware should be up and running.
    Now you can install jdeveloper + soa extensions on your client and connect to the remote location of the soa server
    or did i misunderstood you ?

  • How to completely remove safari and all its files?

    I have Windows Vista and I need to COMPLETELY remove Safari and ALL its files. It is important that it is completely removed, and I've already tried simply uninstalling (from "uninstall a program" in the control panel)it but it doesn't get rid of EVERYTHING safari. I think some of the files are damaged or something because Safari won't open. How would I do this?
    Message was edited by: Friends of Apple

    Just go into Control panel and Uninstall programs. Select Safari and select uninstall.

  • How to properly remove e17 and all its dependencies?

    Hello,
    I installed a while back e17 and would like to do some clean up...
    Could someone confirm if all the below package (except notify-sharp-svn) are indeed e17 ones?
    [10:30:54][root@phusis]
    [/home/lcoumetou]Arch64# pacman -Qe | grep svn
    e-modules-extra-svn 41098-1
    e-svn 41080-1
    e_dbus-svn 41042-1
    ecore-svn 41085-1
    edje-svn 41103-1
    eet-svn 41307-1
    efreet-svn 41084-1
    eina-svn 41100-1
    elitaire-svn 40502-1
    embryo-svn 41042-1
    emprint-svn 40505-1
    engrave-svn 40228-2
    entrance-svn 41032-1
    epsilon-svn 40978-1
    esmart-svn 41098-1
    etk-svn 40990-1
    evas-svn 41104-2
    ewl-svn 41096-1
    exhibit-svn 41086-1
    exml-svn 40505-1
    notify-sharp-svn 3032-1
    Is there an easy to remove e17 and all its dependencies or do I have to do it manually for each package?
    Thanks in advance
    Ludo

    Thanks!
    The following did the trick:
    [11:28:41][root@phusis]
    [/home/lcoumetou]Arch64# pacman -Rcsn e17-svn e17-extra-svn
    e17-svn not found, searching for group...
    :: group e17-svn:
        e-svn  e_dbus-svn  ecore-svn  edje-svn  eet-svn  efreet-svn  eina-svn 
        embryo-svn  evas-svn 
        Remove whole content? [Y/n]
    e17-extra-svn not found, searching for group...
    :: group e17-extra-svn:
        e-modules-extra-svn  elitaire-svn  emprint-svn  engrave-svn  entrance-svn 
        epsilon-svn  esmart-svn  etk-svn  ewl-svn  exhibit-svn  exml-svn 
        Remove whole content? [Y/n]
    checking dependencies...
    Remove (21): exhibit-svn-41086-1  etk-svn-40990-1  entrance-svn-41032-1 
                 engrave-svn-40228-2  elitaire-svn-40502-1  ewl-svn-41096-1 
                 esmart-svn-41098-1  e-modules-extra-svn-41098-1  exml-svn-40505-1 
                 epsilon-svn-40978-1  emprint-svn-40505-1  e-svn-41080-1 
                 efreet-svn-41084-1  edje-svn-41103-1  embryo-svn-41042-1 
                 e_dbus-svn-41042-1  ecore-svn-41085-1  evas-svn-41104-2 
                 eet-svn-41307-1  eina-svn-41100-1  libmpd-0.18.0-1 
    Total Removed Size:   61.74 MB
    Do you want to remove these packages? [Y/n]

  • My audio unit manager has gone, i cant scan it and all the components are in the right place, i just cant access my au manager at all in logic

    my audio unit manager has gone, i cant scan it and all the components are in the right place, i just cant access my au manager at all in logic
    any help please im going out my mind
    regards james

    Thanks for getting back to me, The AU manger was there, just when you treid to click on it, it just wasn't responding.
    But i had a scan thourgh google and found the answer, i removed the audio units cache and restarted it and all was good. I was really starting to get stressed over the matter but however i got to the bottom of it.
    Again thanks for replying
    Regards James

  • HT5527 I have had my storage reduced once already.  In the process they removed my "Save" mailbox and all its contents.  I do notcare about contents so much as starting a new Save box.  How?  (OS X 10.7.5)

    My iCloud storage is being reduced.  I have already had it reduced once.  In the process they removed my "Save" mailbox and all its contents.  (One would think that that would be the last thing they removed.  But they took that and the "Trash" mailbox, yet left several thousand old and read messages which were in my "Inbox".)  I do not expect to get the "Save" contents back, but I would like to restore the "Save" mailbox, so that I can start from scratch saving msgs in it again.  But I cannot figure out how to do that.  When I go to "Mailbox" on the top line (between View and Message) and select New Mailbox I get a dialog box in which I can name a new mailbox.  When I type Save, for the name of the new Mailbox I get a response; "The mailbox 'Save" already exists."  But I cannot find it.
    Thanks,  Bill Burner

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

Maybe you are looking for

  • Generating Excel file using PL/SQL

    Hi, I wanted to generate the excel file using the below pasted PL/SQL which I have downloaded from one of the tech sites. And as I have very limited knowledge about PL/SQL I really dont know how & where I should compile this below mentioned code and

  • App is asking for credentials

    Hi all, I am facing userid/password with my app.Its has 3 components. First one is main application, second one is database utility and third is the monitoring tool for the application.This app is deployed on WLS 9.2 MP3. Recently we patched this MP3

  • Balanced score card: value fields(datasource)

    Hi Friends, I'm trying to assign measure to objective in scorecard design. In value fields tab, specified two value fields: Actual & Plan and trying to assign datasource to these two. For that i clicked details button, it gives a pop-up asking data s

  • Update bukrs and werks in infty 0 and 1 without running action

    Hi experts We have requirement to change country code n pa psa of an employée Without running any action. Can u suggest any fm Can hr infy operation fm do that magic? Can we get it done without creating se38 program? May be writing sap quart or lsmw?

  • OBIEE 11.1.1.7 & BI publisher

    Hi Experts, I am newbie to BIP I had installed OBIEE 11.1.1.7 along with that I installed Bi publisher 11.1.1.7. I have configured Microsoft Active Directory in the weblogic server. All the users who are in the Active directory were able to login to