2 L&F's, one app

I'd like to have two different L&F's in the same app. The architecture of Swing doesn't seem to allow this, but maybe I've missed a workaround. I've looked at the Multiplex stuff but it seems to address a different problem.
I realize the gut reaction is to say "bad idea", but it is not uncommon in multimedia apps. Look at iMovie- certain components and dialogs use standard Aqua but the components that are most frequently placed on top of videos, photos, etc. have a much different L&F that looks more appropriate in those spots.
Worst case, I'd be OK with just instantiating the right UI delegates and setting them on my Swing components. But that isn't enough because L&F's will typically depend on the various properties from UIManager that won't be set unless a L&F is actually installed, right? For now, I've written my own UI delegates that extend metal, and get their colors, borders, etc. from a static class. Essentially I've written my own incomplete and crappy L&F to address this problem- so just about any hack you can offer me will be better than that!
Thanks

I'd like to have two different L&F's in the same app. The architecture of Swing doesn't seem to allow this, but maybe I've missed a workaround. I've looked at the Multiplex stuff but it seems to address a different problem.
I realize the gut reaction is to say "bad idea", but it is not uncommon in multimedia apps. Look at iMovie- certain components and dialogs use standard Aqua but the components that are most frequently placed on top of videos, photos, etc. have a much different L&F that looks more appropriate in those spots.
Worst case, I'd be OK with just instantiating the right UI delegates and setting them on my Swing components. But that isn't enough because L&F's will typically depend on the various properties from UIManager that won't be set unless a L&F is actually installed, right? For now, I've written my own UI delegates that extend metal, and get their colors, borders, etc. from a static class. Essentially I've written my own incomplete and crappy L&F to address this problem- so just about any hack you can offer me will be better than that!
Thanks

Similar Messages

  • How do i get my ipod touch to download more than one app at a time, can i make it toware i dont have to wait for one app to download before it starts downloading another,

    my ipod will only download one app at a time and runs extremely slow. i was wondering if there is some way that i can make it download more than one app at a time and how can i make the app start downloading again after i have left my wi-fi zone and then went back in. im really confused.

    Download everything on your computer in iTunes, then sync your iPod to iTunes.
    You should be syncing (backing up) to iTunes and your photo app regurally, anyway.

  • Can you download more than one app at a time?

    Basically, can I purchase two apps for OS X, both large downloads, and leave it overnight trusting both to be ready when I come back to the machine? Will they download one at a time, or concurrently?
    Thanks

    Only one app can be downloaded simultaneously. However, if you select to install both before going to bed, both should be downloaded and installed when you wake up, before when one app finishes installing, the other one will start being installed

  • I upgraded from iPhone 3GS to iPhone 6.  Everything converted fine until I deleted an app in error.  When I downloaded it from iTunes, my account is no longer recognized by the app's host servers.  Can I go back and re-sync one app from my old phone?

    I upgraded from iPhone 3GS to iPhone 6.  Everything converted fine.  Yesterday I deleted an app in error.  When I downloaded the software it from iTunes ( did this many times on the old 3GS), my account is no longer recognized by the app's host servers (Playtika), even though it did after the initial conversion.  Can I go back and re-sync just one app from my old phone?  

    Try deleting what is called the iPod Photo Cache. 
    http://support.apple.com/kb/TS1314

  • IPhone installs one app at a time, why?

    I have an iPhone 4S and an iPad 2.  Both are running iOS 6.1.3.  For the longest time, the way my iPhone and iPad install or upgrade apps has differed.
    For my iPad, the install/update process for multiple installs/updates works like this:
    1. Download first app
    2. Start installing the app and simultaneously start downloading next app.
    For my iPhone, the process works like this:
    1. Download app.
    2. Install app.
    3. Once install is finished, download next app.
    In other words, my iPad will download an app without waiting for the prior one to finish installing, while my iPhone downloads and installs one app at a time.  Because of this it takes longer to update apps on my iPhone than on my iPad.   This is case over both cellular and Wifi.
    I'm assuming the way the iPad is working is the correct method.  Why doesn't my iPhone work the same way?

    Whil you can run two apps at the same time, i.e. Music and Safari, you can only see one app at a time.

  • Developer Application Provisioning Issues -- Only one app at a time?

    _The upshot:_
    You can have one and only one developer provision and developer application on the iPhone at a time otherwise you get installation errors (i.e. 0xe8000001).
    _To fix:_
    Use Xcode Organizer to ensure that you have one and only one application and provision installed to the iPhone that uses your developer certificate.
    _To any Apple people:_
    If I am wrong about any of this, please let me know. I have wasted 3-4 days over the past 2 weeks due to these issues, and any explanation would be well received! Having one and only one application and provision installed to the iPhone fixed the 0xe8000001 issues for me.
    _Long winded explanation:_
    It turns out that I am working on multiple iPhone applications at the same time.
    Each application has a different AppID (as registered on the iPhone Developer Portal).
    I have spent quite a bit of time having major issues with Developer Provisioning and application installation from within Xcode and Xcode Organizer, which led me to not be able to debug my application on a live iPhone.
    I finally discovered my problem: I can only have one app and one provision on the iPhone that uses the same developer certificate.
    When swapping between Xcode projects if I remove all provisions and applications using Organizer and re-add only the provision of the application I am working on, then the install errors at build time go away.
    Samples of install errors that manifest themselves using the 0xe8000001 code:
    Thu Aug 21 16:56:02 unknown mobileinstallationproxy[770] <Error>: entitlement 'application-identifier' has value not permitted by provisioning profile
    Thu Aug 21 16:56:02 unknown mobileinstallationproxy[770] <Error>: verify_executable: Could not validate signature: e8008016
    -- Taken from the Xcode Organizer Console window for my development iPhone --
    These errors seem to be occurring because of an install time check against the installed provision files to verify the app, and it seems the provision from an already installed application is being used.
    This is probably occurring because the main developer certificate has to be the same between the 2 applications. As the scan through the provisions is occurring, the certificate of the new app matches the certificate from the already installed app, and the provision check fails due to different App IDs.
    There is one and only one developer certificate allowed per iPhone Standard program.
    I hope that this helps some other people out there with their development provisioning and debug / installation errors.
    --Batgar

    This is why you should create a wildcard developer certificate (com.youcompany.*)...follow the directions in the program portal. Then you can then install all your apps on your phone.

  • Why is my macbook pro running slow.  It runs slow even if only one app is open, especially if it's a browser.  I don't know how to read Etrecheck, but was hoping someone who does can help me out.  Would be super grateful.  :-)

    Hi.  This is my first time posting.  My Macbook Pro with Os X Mavericks has been running super slow since before I installed Mavericks so I'm pretty sure it's not the OS that has the problem.  It runs slow even if only one app is open, especially if it's a browser, particulary google chrome.  If mail is open...forget about it, down to a crawl.  I don't know how to read Etrecheck, but was hoping someone who does can help me out.  Would be super grateful.  :-)
    P.S. - Also, it sounds like something is loose inside my mac.  How should I proceed?
    Thanks in advance.
    Hardware Information:
              MacBook Pro (13-inch, Late 2011)
              MacBook Pro - model: MacBookPro8,1
              1 2.8 GHz Intel Core i7 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 384 MB
    System Software:
              OS X 10.9.2 (13C1021) - Uptime: 0 days 23:21:37
    Disk Information:
              APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 749.3 GB (603.2 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Gatekeeper:
              Mac App Store and identified developers
    Kernel Extensions:
              [not loaded] com.leapfrog.driver.LfConnectDriver (1.8.0 - SDK 10.7) Support
              [not loaded] com.seagate.driver.PowSecDriverCore (5.0.1) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.0.1) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.0.1) Support
              [not loaded] com.seagate.driver.SeagateDriveIcons (5.0.1) Support
    Problem System Launch Daemons:
              [failed] com.apple.wdhelper.plist
    Problem System Launch Agents:
              [loaded] com.paragon.NTFS.auth.plist Support
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.google.keystone.daemon.plist Support
              [loaded] com.leapfrog.connect.shell.plist Support
              [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
              [loaded] com.microsoft.office.licensing.helper.plist Support
              [running] com.sophos.autoupdate.plist Support
              [running] com.sophos.intercheck.plist Support
              [running] com.sophos.notification.plist Support
    Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.google.keystone.agent.plist Support
              [running] com.seagate.SeagateStorageGauge.plist Support
              [running] com.sophos.uiserver.plist Support
              [running] org.chromium.chromoting.plist Support
    User Launch Agents:
              [loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [failed] com.adobe.ARM.[...].plist Support
              [loaded] com.facebook.videochat.[redacted].plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
    User Login Items:
              Activity Monitor
              Dropbox
              Google Drive
              younity
              EvernoteHelper
    Internet Plug-ins:
              o1dbrowserplugin: Version: 5.2.4.18058 Support
              nplastpass: Version: 2.5.5 Support
              Default Browser: Version: 537 - SDK 10.9
              AdobePDFViewerNPAPI: Version: 11.0.06 - SDK 10.6 Support
              FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
              Silverlight: Version: 5.1.20125.0 - SDK 10.6 Support
              Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
              QuickTime Plugin: Version: 7.7.3
              googletalkbrowserplugin: Version: 5.2.4.18058 Support
              SharePointBrowserPlugin: Version: 14.4.1 - SDK 10.6 Support
              AdobePDFViewer: Version: 11.0.06 - SDK 10.6 Support
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    Safari Extensions:
              Slick Savings: Version: 1.0
              Slick Savings: Version: 1.0
              Surfon: Version: 1.2.2
              Pearltrees Extension: Version: 6.0.13
              Mindomo Bookmarks: Version: 1.0
              Ebay Shopping Assistant: Version: 1.1
              Zootool: Version: 0.7
              Amazon Shopping Assistant: Version: 1.1
              Pocket: Version: 1.7.1
              Searchme: Version: 1.3
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User iTunes Plug-ins:
              TuneUp Visualizer: Version: 2.4.0 - SDK 10.6 Support
    User Internet Plug-ins:
              Picasa: Version: 1.0 - SDK 10.4 Support
    3rd Party Preference Panes:
              remoting_host_prefpane  Support
              Flash Player  Support
              Paragon NTFS for Mac ® OS X  Support
    Time Machine:
              Mobile backups: ON
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 697.84 GB Disk used: 136.06 GB
              Destinations:
                        NO NAME [Local] (Last used)
                        Total size: 3.41 GB
                        Total number of backups: (null)
                        Size of backup disk: Too small
                                  Backup size 3.41 GB < (Disk used 136.06 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   6%          Activity Monitor
                   5%          WindowServer
                   1%          InterCheck
                   1%          sysmond
                   0%          ocspd
    Top Processes by Memory:
              152 MB          Finder
              115 MB          HelpViewer
              111 MB          mds_stores
              86 MB          InterCheck
              57 MB          WindowServer
    Virtual Memory Information:
              983 MB          Free RAM
              1.03 GB          Active RAM
              584 MB          Inactive RAM
              1.01 GB          Wired RAM
              17.41 GB          Page-ins
              222 MB          Page-outs

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • One App   Two iPhones   Different iTunes Accounts

    I currently have an iPhone 5 and I will be upgrading to an iPhone 6. I'm going give the iPhone 5 to my brother. I purchased a TomTom Navigation App and I want the App to be available on both phones but managed through different iTunes accounts. How should I go about doing this, if possible?
    If it isn't possible to do this because the App is linked to my iTunes account, can I, instead, manage my iTunes account on multiple computers? Or is it that one computer can handle multiple devices?
    I read the following two forums but they are not exactly the same questions as mine.
    One APP to Multiple iPods? 
    Can you use apps from one computer/iTunes accounts on multiple iPhones?

    Suppose I authorize another computer to use my current iPhone 5 and sync apps to that computer. Then I get my iPhone 6 and sync my apps to this new phone. Then I change the apple ID on one of the two computers. Would leave the installed apps on both devices? I don't have the new iPhone yet as I'm waiting to get an unlocked GSM version directly from Apple so I can't try this right away.

  • How do I download one app at a time in itunes or appstore

    Hi there fellow apple lovers, just got my first iphone, you see I have a habbit of downloading from the app store simultaneously, is there anyway I can set my iphone 5s to download one app at a time, well in other words queing them so that if a download finishes, it will automatically download the next app

    If the program/window is not a text-based one (such as a word processor), you can usually use the up and down arrow keys to scroll up or down one line at a time.
    There are often mods to this behavior, but exactly what depends on the program. Test with the up and down arrow keys in conjunction with the usual modifier keys - Shift, Command, Option, etc.

  • How do I move my pic from one app to another?

    How do can I move pics from one app to another?

    It all depends upon the apps. I would expect you can email it from one app. How you get it into the other depends upon the app.

  • Multiple Libraries of folios in one app?

    Can you have multiple Libraries of folios in one app? For example, in one app you have two separate monthly magazines. Each of these magazines has its own library of monthly issues; each issue would be its own folio. Or would I need to make two separate apps, one for each magazine?

    You'd need to make two separate apps.
    Neil

  • I updated to ios7 on my iphone 4 and now cant install apps and one app says waiting for 2 days now. Also it started ading apps from my wife's phone onto my phone even though we have separate apple ids.

    I updated to ios7 on my iphone 4 and now cant install apps and one app says waiting for 2 days now. Also it started ading apps from my wife's phone onto my phone even though we have separate apple ids.

    We do not share an apple ID and her phone is now logged in with her account and I have since backed it up on itunes under her account as well. I have turned off automatic downloads on her phone but they still keep downloading. I delete one app and then another one just appears on the phone.

  • I am trying to reorganise my apps on my iphone via the new itunes software, you don't seem to be able to move one app at a time to a different screen, just move the screens around, what am I doing wrong

    I am trying to reorganise my apps on my iphone via the new itunes software, you don't seem to be able to move one app at a time to a different screen, just move the screens around, what am I doing wrong

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • Ipad, filing, folders, opening a document with more than one app...

    Hi
    I am wondering about iPad filing, documents and the future that iOS 5 and iCloud hold.
    Am I right in thinking that there will still be no file/folder structure and that documents will be held individually by apps?
    This creates two problems for me:
    1)  I need to access the same document (e.g. a pdf file) from more than one app. For example, say I need to use iAnnotate to mark it up and Sente to file it. However each app keeps their own copy of the document, so the annotated copy from iAnnotate is not the same copy as the one filed correctly in the Sente database.
    2) How do I keep the files for a specific project together? Say I have source documents, word-processing documents, presentations, images etc all related to one project: how do I keep them all together? If we had tagging  (as in openmeta or similar) I could tag them - works beautifully on the desktop but not available on the iPad. If we had folders I could at least group them in folders... What is is the iPad solution?
    M

    Here's how I address # 1:
    I use DropBox as my central hub to keep documents accessible and synced between my iPad and my laptop. That means that I export, share, copy or print the document, with my changes, to DropBox from whatever application I'm using. For example, if I open a PDF in PDF Expert (the app I use for reading and annotating) I can "open" a copy in DropBox with my annotations. For Pages and other iWork files I use DropDAV which enables me to save to DropBox via WebDAV. For other apps like Safari that don't have DropBox integration, I use Save2PDF to "print" a PDF to the appropriate DropBox folder.
    As to #2, two things come to mind. The first is that you can use the search function to find related files if you put your tag in the title or somewhere else searchable. The second is that I set up a file structure in DropBox on my laptop that meets my needs (and is also one way to begin to emulate a file structure on the iPad). For example, i keep my current course files, with their presentations, documents, and spreadsheets, in DropBox. But many of my projects have so many components and so many images, etc, I've become used to having components in different applications (Aperture, iTunes, etc) and I do rely on my laptop (and its external drives) for my central and final project management. For things in process, though, the iPad works very well.
    ICloud may change all this. :-)

  • Transfer purchases only transfers one app at a time

    I'm trying to back up my iPad in preparation for installing the new iOS, I'm transferring purchases first, but iTunes only transfers one app each time I click transfer purchases! This never used to happen, any idea how to stop it doing this, how do I transfer all the apps at once?
    Also, when I sync my iPad or iPhone, iTunes frequently moves the apps around on the screen of the iPhone/iPad, taking them out of folders etc, and re-installs ones I've deleted from the iPhone/iPad. How do I get it to stop doing this? I just want it to back up whatever is on the iPhone/iPad, not change it in any way.

    My iPhone4 and iPad2 are both doing this same thing (only transferring one app at a time). It is really frustrating because I purchase a lot of apps from my phone or ipad and it takes forever to keep clicking 'transfer purchases' over and over again for each individual app every time that I sync or update. It would be great if someone could figure out how I could enable it so that all of the apps transfer to the computer at once.
    Regarding the second part of your post, I've had that same problem before. When doing a sync, after backing up my iPhone/iPad, the apps are updated, and when the screen comes back all or most of the folders are missing and I have more apps than can fit in the display. Or sometimes it happens after upgrading the software or restoring it. After reading other posts about the same thing, I've found that doing a restore from your latest backup will usually restore all of your folders, too. The trick is that you might have to do the restore twice. Try to restore your phone from a backup and when it comes back, if the folders are still missing, do the restore one more time. I don't know why doing it the second time works, but it has worked for me on 3 separate occasions when nothing else would. I know that it is a pain to have to waste the time of doing an entire restore (especially if you have to do it twice), but it is less work than having to remember and recreate your folders from scratch.
    Message was edited by: bigdaddylongluv
    Message was edited by: bigdaddylongluv

  • All in one app for note 3

    I have downloaded the all in one app remote for my galaxy note 3, my printer is the hp officejet 4500 wireless; I wanted to use the app to scan my documents, but the message said "some features unavailable" & I can't press on the scan button. I had already linked my printer to my router& linked my printer to my smartphone. Please help me...

    Hi b –steddy,
    Welcome to the HP Support forums.  I understand that while using the HP All-in-One Printer Remote app that you are getting a message saying “some feature unavailable”.
    The Officejet 4500 wireless  is not a supported printer for HP’s AiO app.  You printer only supports HP’s ePrint mobile app.  I have included the HP Web-Connected Printers and Supported Cloud Services document for reference.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

Maybe you are looking for