Quicktime heavy weight components

Hi guys,
Im using the QT java api and have hit some problems with their AWT video window component. The reason I'm posting here rather than the QT forums is that I believe this problem is common to all heavy weight components in Java.
Ok, the QT api offers a factory method for creating what they call QTComponent (awt heavy weight component - extends java.awt.component) which I add to a dedicated JPanel.
I need to be able to set the visibility of the video window so I do;
parent_panel.setVisible(value)
parent_panel.repaint();
parent_panel.invalidate();
parent_panel.validate();
which sets the parent JPanel visibility to hidden but does not hide the child video window. (note: this is called from the event dispatch thread).
I have tried validate, invalidate, repaint (you name it), on both the parent JPanel and the java.awt.component itself, but this still doesn't fix the problem.
One thing to note is that if I resize or minimize then maximize the container JFrame the video window disappears. So i'm guessing the handlers for these events execute routines I need to in my 'setvisible' method.
If anyone could help that would be great.
Many thanks,
Alex

Lightweight components are components whose printed
sources weigh less than 200 grams.Is a paper and a print face required?

Similar Messages

  • Light weight && heavy weight

    hi
    i have on doubt in swing... awt are heavy weight && swing are light weight .awt are system dependedent ....iam right..
    if right System dependent in this sence java is plaftform independent
    so how is it possible..
    pls give me details
    regards
    kedar

    Light weight components: To draw the components the jvm takes the os routine.
    Heavy weight components: To draw the components the JVM takes its own routines.
    You can check this. If you draw the awt component in one os it gives the different layout in other os. But this is not in the case of swing.This is the main difference . That's why the main components in big project are done in swing.
    if in doubt please ask?
    javasans

  • Qt heavy weight component

    Hi guys,
    Im using the QT java api and have hit some problems with their AWT video window component. The reason I'm posting here rather than the QT forums is that I believe this problem is common to all heavy weight components in Java.
    Ok, the QT api offers a factory method for creating what they call QTComponent (awt heavy weight component - extends java.awt.component) which I add to a dedicated JPanel.
    I need to be able to set the visibility of the video window so I do;
    parent_panel.setVisible(value)
    parent_panel.repaint();
    parent_panel.invalidate();
    parent_panel.validate();
    which sets the parent JPanel visibility to hidden but does not hide the child video window. (note: this is called from the event dispatch thread).
    I have tried validate, invalidate, repaint (you name it), on both the parent JPanel and the java.awt.component itself, but this still doesn't fix the problem.
    One thing to note is that if I resize or minimize then maximize the container JFrame the video window disappears. So i'm guessing the handlers for these events execute routines I need to in my 'setvisible' method.
    If anyone could help that would be great.
    Many thanks,
    Alex

    Athlon1600 wrote:
    that heavy-weight component is JDIC web browser. It's the only cross-platform browser I know and it's one of the main controls in my GUI. can't change thatCan't help you there.
    JInternalFrame descends from JComponent? yes?Yep. So it's lightweight.
    Well, I'm not smart enough yet to mix lightweight and heavyweight components, but fortunately Google is: [Mixing Heavy and Light Components|http://java.sun.com/products/jfc/tsc/articles/mixing/]
    ~{color:gray}the first hit by the way{color}~

  • Why the AWT components are called heavy-weight and SWING as light-weight?

    Why the AWT components are called heavy-weight and SWING as light-weight?.
    Building our own components means overhead on JVM. hence in what sence the SWING components are called light weight.?
    I know that the Swing componets are the components which are not going to depend upon peer classes and render, OS independent LOOK n FEEL.
    Thanks,
    Sanath Kumar

    All extensions of Component are considered lightweight since, as you point out, they don't have their own dedicated native peer.
    Essentially a lightweight component only has a canvas on which to draw itself and some means of receiving events from the system. In fact, there is no need to have one of these "canvas" and "event" objects for each component - the parent component can manage these abilities on behalf of its children. Eventually you end up with only top-level components needing to be heavyweight in order to communicate with the windowing system.
    A lightweight component therefore has the minimal dependency on the underlying windowing system giving you maximum cross-platform flexibility.
    It is usually true that lightweight => slower and heavyweight => faster since it is reasonable to assume that native peers will be optimal for the windowing system. However, that's not the point of the lightweight/heavyweight distinction.
    Hope this helps.

  • I cannot install iTunes 10.5. Problem is that there are rest of installations. I uninstalled all iTunes, Quicktime, Bonjour, Apples components, but problem goes on. I run WIN XP SP 3 32 BITS. I accept ideas to solve, thanks.

    I cannot install iTunes 10.5. Problem is that there are rest of installations. I uninstalled all iTunes, Quicktime, Bonjour, Apples components, but problem goes on. I run WIN XP SP 3 32 BITS. I accept ideas to solve, thanks.

    A bit of repetition, mainly for the benefit of anyone else with the same issue. In your case the "for older video cards" version might be worth a try.
    When cleaning folders you need to check both the Program Files and Program Files (x86) folders, which you may well have done but didn't mention in the detail above.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The section Install missing components has advice on breaking down the iTunes installer into the individual .msi files which might prove useful if Apple Mobile Device Support won't install normally.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for performance issues or compatibility with third party software.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Quicktime Video Output Components equivalent in QTKit?

    I need to output video frames to external devices such as Firewire cameras and Digital Cinema Desktop. This used to be handled with Quicktime Video Output Components, but I'm not seeing an equivalent with QTKit. My application is 64-bit, so I cannot use Quicktime directly. Is this available in QTKit or another 64-bit compatible framework?

    Benjamin: The Digital Cinema Desktop is a Final Cut feature, even if implemented as a Quicktime Video out component. As you can see (by the lack of options) is not really meant to be invoked from other applications which use standard Quicktime video out for external previews. That requires a device with a proper QT video out driver. You could use an inexpensive device, like a Blackmagic Intensity with an HDMI to DVI cable, to feed the second display.
    Or you could just ask AE to play RAM previews at full screen, in which case you don't need to enable video previews at all. Together with the ability to take into account a calibrated display's profile, this should make for very high quality previewing on computer monitors.

  • Forcing PopupFactory to return a heavy weight popup

    Hi, in my application I want to display a Popup over the top of a Canvas that is within a JPanel. The way I am trying to achieve this is:
    PopupFactory popupFactory = PopupFactory.getSharedInstance();
             Popup tipWindow = popupFactory.getPopup(tipComp, tip, theLocation.x, theLocation.y);
             tipWindow.show();The variable tipComp is a heavy weight Canvas, and the variable tip is a subclass of JToolTip we are using to provide extra functionality.
    Using this code the Canvas is obscuring the Popup, as the Popup returned is light weight. Is there any way to force PopupFactory to return a heavy weight popup?

    I did consider this but unfortunately it is not possible. The software has been developed over a long period of time and is very large. It would not be possible to have anything other than a Canvas (we actually have extended Canvas to provide extra functionality). Is there any other way to solve this problem?
    Thanks

  • Laptop monitor crashed due to heavy weight on it

    Sir,
    I have hp pavilion n15-004TX, bought 6 months ago. I have 1+2 years extended factory warranty.And my laptop screen has crashed due to fall of heavy weight on it. I was wondering if this comes under factory warranty or not? 
    Waiting for your valuable response.

    This Forum is not a link to HP Warranty. We are volunteer end users like you. I think the Care Pack may or may not include Accidental Damage coverage. It is very expensive and you have to buy it as an add-on. Your best bet is to call HP. If it is not covered we can help you find a screen and show you how to replace it. How much was damaged? Do you just need the screen or also some platic chassis parts? Screens cost less than you probably think (under $100 in most cases) and the replacement is not real hard. 

  • What is lightweight process and heavy weight process

    please can any one send the difference between lightweight process and heavy weight process .... and why thread are called lightwieght process

    shankrocks wrote:
    please can any one send the difference between lightweight process and heavy weight process .... and why thread are called lightwieght processProcess and thread are often used interchangeably (even though process also is used in a wider meaning). In Java a lightweight thread is also called a green thread.
    [http://en.wikipedia.org/wiki/Green_threads]
    So when programming in Java you're going to be using lightweight threads (unless you somehow bypass the JVM and start OS threads directly).
    More generally heavyweight usually refers to something that supplied by the OS. You have the same is Swing/AWT where Swing widgets are called lightweight because they're drawn by Java while AWT widgets are called heayweight because they're drawn by the OS.

  • Problems with embedded font with medium or heavy weight

    Hey guys,
    I'm switching a current Project from Flashbuilder Beta2 to the Flashbuilder final release.
    I have a big problem concerning embedded fonts. The fonts I have to use are Futura Com Medium & Futura Com Heavy.
    Here's some of my code:
    @font-face
         src:                        url("assets/fonts/FuturaCom-Medium.ttf");
         font-weight:               normal;
         fontFamily:                 myFuturaMedium;
         advancedAntiAliasing:       true;
         embedAsCff:                 false;
    .myDatagrid{
         fontFamily: myFuturaMedium;
         color: #ff0000;   
    this worked well in beta2, but I'm not able to get the embedded Font working in the datagrid with the Flashbuilder final release.
    Any help on using embedded fonts in a mx|Datagrid is highly aprechiated.
    Cheers

    Hey guys,
    I'm switching a current Project from Flashbuilder Beta2 to the Flashbuilder final release.
    I have a big problem concerning embedded fonts. The fonts I have to use are Futura Com Medium & Futura Com Heavy.
    Here's some of my code:
    @font-face
         src:                        url("assets/fonts/FuturaCom-Medium.ttf");
         font-weight:               normal;
         fontFamily:                 myFuturaMedium;
         advancedAntiAliasing:       true;
         embedAsCff:                 false;
    .myDatagrid{
         fontFamily: myFuturaMedium;
         color: #ff0000;   
    this worked well in beta2, but I'm not able to get the embedded Font working in the datagrid with the Flashbuilder final release.
    Any help on using embedded fonts in a mx|Datagrid is highly aprechiated.
    Cheers

  • Bonjour help + clean uninstall and re-install of iTunes, Quicktime, and related components

    I am using Win7 x64.
    To make a long story short, I unistalled Bonjour.  When the next update for iTunes came out (Ver. 10.4.1), I was unable to update due to the error message: "Service Bonjour (Bonjour Services) failed to start.  Please verify you have sufficient administrative permission and try again" or something along those lines.  After trying several things to no avail, I finally did a clean uninstall of iTunes, Quicktime, and all related components as per http://support.apple.com/kb/HT1923.  When I then tried to reinstall iTunes and Quicktime, I got the same error message.  I know people have had problems with Bonjour before, but I couldn't find any info on why I am getting this after a clean uninstall or what to do about it, so any ideas would be very much appreciated.
    Thank you.

    Dear Jason Maidment,
    I've installed SAP BPC like this:
    1.If you use the Ms.SQL 2005, you should install Ms.SQL Server Suite. After that, upgrade to SP 2
    2.Please make sure all the Ms.SQL services is running.
    3.Install the preq SAP BPC
    4.Install SAP BPC 5.1 software.
    5.Cross check the error using BPC Server Manager, If nothing error happens, you should upgrade SAP BPC to SP 2.
    6.Try to create input schedules or report, please make sure BPC web, BPC excel is normallly running.
    7.Continue to upgrade SAP BPC with the latest version.
    for your cases please stop the IIS services. After that, the SAP BPC services, you look the name "Osoft..." on Window Services. Then, Uninstall Ms.SQL Server for the best result.    
    I hope my information can make you get good something.
    Thanks,
    Wandi

  • Fixing heavy weight Canvas problem

    I am new at posting in the forums so let me apologize ahead of time if I am not clear enough. I first (incorrectly) posted this topic in the "Java Programming" forum and was led to this forum instead.
    I am using NIH's open source "Image Processing and Analysis" libraries, ImageJ, in a program that I am creating. Basically I have a JFrame that is divided into 4 sections via nested JSplitPanes. Each of the 4 sections (top right, top left, bottom right, bottom left) contain a JScrollPane to which I have added a JPanel. I would like to display an image of type ImagePlus (an ImageJ class that extends java.lang.Object) in 3 of these sections.
    Each ImagePlus is currently contained in a subclass of an ImageCanvas (another ImageJ class) which extends java.awt.Canvas. This ImageCanvas is then added to the corresponding JPanel. When the JScrollPanes are resized so that they are smaller than the ImagePlus, the image extends outside (and appears over top) the JScrollPane.
    In another forum posting I was reading, it was said that instead of extending Canvas you should extend JPanel so that you do not mix AWT and Swing components, which I understand. However, would it be possible to add an ImagePlus to a JPanel since the ImagePlus does not extend java.awt.Component?
    If not, could anyone suggest some other way of displaying my ImagePlus in a light weight component?
    Thanks for any assistance!

    You where given a suggestion in your other posting two days ago.
    You where given the exact same suggestion as was given here. In fact you where also given the same to link to the article on mixing components.
    Where in the other posting did you comment that the suggestion given did or didn't work??? If you ask a question the least you can do is comment on whether the suggestion was helpfull or not.
    So quit multi-posting question and keep the conversation in on posting so everybodyy knows what has already been suggested and so people don't waste their time making the same suggestions.

  • Quicktime mpeg-2 components

    is it possible to spend 20 EURO(and not $) and don't solve the problem?
    I bought a sony videocamera and the output are mpeg-2 files and this @#**@# quicktime doesn't work. Can I have, MR JOBS, the codec I bought fully functionally w/out third parts prgs escamotages?
    It's seems windows f*** bug...but those files workin on win...
    please GIVE US a solution

    I bought a sony videocamera and the output are mpeg-2 files and this @#**@# quicktime doesn't work. Can I have, MR JOBS, the codec I bought fully functionally w/out third parts prgs escamotages?
    Neither MPEG-2 nor AC3 are supported natively by QT which is not a "mlutiplex" video editing/conversion engine. If you have already purchased the QT MPEG-2 Playback component and installed it, then simply download the free MPEG Streamclip application which will bridge the gap between MPEG-based content and the QT embedded structure. It also provides access to all QT/third-party components and QT Pro conversion options and most non-layering features without having to pay for the QT Pro upgrade. And, unlike HandBrake, you are not limited DVD or VIDEO_TS source content.

  • Robohelp 9 search: heavier weight with multiple keywords?

    We are working with the new search engine (moved from 7 to 9) and are having some issues with the way that our users are used to searching.  One thing was came up was the question of whether a single keyword added multiple times to a topic would bring it a higher weight in the Robohelp 9 search ranking.  Does anyone know if it will disregard multiple instances of the same word in the Keywords in the Topic Properties or if we can use that to stack the deck?

    Hi there
    One way to "stack the deck" so to speak is to ensure the keyword is used in the Topic Title. Aside from that, ensure it is also used in the Keywords field of the topic as well as in heading levels. For example, a keyword in a Heading 3 will be trumped by the same keyword in a Heading 1. And that is trumped by the keyword in the Topic Title.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Quicktime-Heavy Page solutions?

    I work as a video editor and am updating my online reel using iWeb '08. Currently, I use pop-up windows for all my Quicktimes (the window pops up when visitors click the "play" button on a jpeg still of the clip). The problem is, some less computer-savvy/lazier potential clients may not bother to enable pop-ups. Originally, I had all the quicktimes just embedded in the page, but on my "TV Network Promos" page, that means 8 quicktimes which seriously impedes the page's loadtime. I don't want to sacrifice any more quality by making the quicktimes even smaller (they're already around 3.8 megs for a 30 second TV commercial). Is there a way to embed the quicktimes directly in the page, but not load them until you click on them? Preferably with a "play" button or icon?
    Here's a link: http://web.me.com/roncutz/roncutz/TVnetworkpromos.html
    Thanks all!

    Here's my html page with the code I culled out of the ReadMe file. I named it PPTest.html:
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html>
    <head>
    <title>QuickTime Pro - Export for Web - PPTest</title>
    <script src="http://www.apple.com/library/quicktime/scripts/ac_quicktime.js" language="JavaScript" type="text/javascript"></script>
    <script src="http://www.apple.com/library/quicktime/scripts/qtp_library.js" language="JavaScript" type="text/javascript"></script>
    <link href="http://www.apple.com/library/quicktime/stylesheets/qtp_library.css" rel="StyleSheet" type="text/css" />
    </head>
    <body>
    <script type="text/javascript"><!--
    QTWritePosterXHTML('Click to Play', 'PPTest-poster.jpg',
    'PPTest.mov',
    '720', '496', '',
    'controller', 'true',
    'autoplay', 'true',
    'bgcolor', 'black',
    'scale', 'aspect');
    //-->
    </script>
    <noscript>
    <object width="720" height="496" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="src" value="PPTest-poster.jpg" />
    <param name="href" value="PPTest.mov" />
    <param name="target" value="myself" />
    <param name="controller" value="false" />
    <param name="autoplay" value="false" />
    <param name="scale" value="aspect" />
    <embed width="720" height="496" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"
    src="PPTest-poster.jpg"
    href="PPTest.mov"
    target="myself"
    controller="false"
    autoplay="false"
    scale="aspect">
    </embed>
    </object>
    </noscript>
    </body>
    </html>
    The folder is titled PPTest and is located in my iDisk/Movies folder. The html snippet code is:
    <iframe src="http://homepage.mac.com/MMe_Account/.Movies/PPTest/PPTest.html"
    style="width:740px; height:510px";
    scrolling="no" controller="true" frameborder="0";</iframe>

Maybe you are looking for

  • Trees in apex 4.0.2.00.07

    Hello all, I can't create tree with custom titles of nodes. for example: select case when connect_by_isleaf = 1 then 0 when level = 1 then 1 else -1 end as status, level, <b> case when level = 2 then "V001_NODE_NAME"||'[edit]' else "V001_NODE_NAME" e

  • Find and replace paragraph style

    I am creating a javascript for InDesign in order to search and replace some text. The text I am looking for has to be in a certain Paragraph style. This is what I have so far: app.findTextPreferences = app.changeTextPreferences = null; app.findTextPr

  • Email received as html code

    My work/enterprise emails are received garbled as HTML codes by some recipients (Gmail, hotmail). I have no problem sending to people with company or yahoo addresses, both of which I have set up an account on Z10. What could be the problem? Any setti

  • Edit email in iCloud

    How do I edit my email address in iCloud?

  • AnnotadedLinkageError problem

    Please help to resolve the problem described below: I have deployed an application to OAS 10.1.3.00 installed on SUN Sparc with Java 1.5.0_06. Application has been developed on JDeveloper 10.1.3.0.4 (SU5) with Java 1.5.0_09. The aplication consists o