Frame dispose problem

hello guys
i have my master panel working and one button on that opens a graph panel. i
want to have an exit button on the graph panel that can close it coz at the
moment user will have to kill the window.
the dispose() menthod i m applying in the buttonactionlistener is not
working.. please suggest a solution.
cheers

May be you button event is not actually triggering..
A dispose to the form will definetly dispose the frame

Similar Messages

  • Passing data from a panel to a frame / disposing of a frame from in a panel

    Hello, I have recently created a program where all windows are made of seperate frames, now, to make the whole thing a bit more appealing and professional looking, i'd like to make 1 main frame, and load my content panels into this 1 frame. Problem i'm having with this is passing data from the loaded in panel to the main frame, so the main frame can hide one panel to load another with data inserted in the first panel. OR another solution to my problem would be a way to dispose of a frame, but from within the seperate panel class. I have searched the www for a solution, but haven't found one so far, so, any suggestions or references to some info about this kind of issue? Any pointer is greatly appreciated

    kennethdm wrote:
    EDIT: I took a look at the cardlayout, and, although i see its relevance to my question, it still leaves me with the question how exactly i will pass data the user inputs into the first panel, to the second panel. The second panel is built by the info which is provided in the first panel.Stop thinking of them as Panels and start thinking of them as OOP objects that have data that must be shared. It's often a matter of using getters and setters and sometimes requiring a sprinkling of the Observer design pattern.

  • JFrame Dispose Problem

    Hello everyone,
    This is probably a really easily answerable question and I think the reason is that I have the problem is because I'm getting a stack overflow but I am not sure how to solve it.
    So, my program is a simple login and logout program
    A login JFrame creates a new Main JFrame when log in is pressed, then login is disposed.
    When a user logs out of the main frame, a new Login Frame is created and the Main Frame disposed
    The problem is that when the user logs in again, the main frame is created but the login frame remains even though dispose is called,
    why is this?
    Any help at all is greatly appreciated!
    Cheers

    why is this?You have a bug in your code.
    For more help create a [SSCCE (Short, Self Contained, Compilable and Executable, Example Program)|http://sscce.org], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • I want to play video on my computer to make some analysis to frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program

    HI All
    I want to play video on my computer to make some analysis to it's frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program .
    I used IMAQ AVI Read Frame VI
    for example I have avi video It's frame rate is 25 fbs ,my image processing code is very fast that can process more 25 fbs,so I want to accelerate video acquisition

    Hi abdelhady,
    I looked into this further, and reading an AVI file into LabVIEW faster than its frames per second won't be possible. LabVIEW could read in frames faster than 25fps, but because it will be pulling the available frame at that point in time this would just give you duplicate frames. If you want to be able to read in frames at faster than 25fps, you would need to speed up your AVI file before reading into LabVIEW.
    There's a good shipping example to show how to read in from an AVI file, "Read AVI File.vi". You'll notice that they add timing to make sure that the while loop runs at the right speed to match up with the frames per second of the file being read. This is to make sure you're not reading duplicate frames.
    Thank you,
    Emily C
    Applications Engineer
    National Instruments

  • Sync and frame rate problems importing video to Flash CS3

    Just like the subject states, I am indeed having frame rate problems importing video to Flash CS3.
    When I export a video from Premiere with the settings:
    1280x720
    frame rate of 23.976
    using H264 or Animation (basically every codec produces the same results),
    "embed video on SWF and play in timeline"
    When I do this the file exports fine. Playing it in Quicktime works fine and the audio syncs up no problem. But when I import it into Flash using the same settings, for some reason the movie clip is now too fast in that the video does not match the audio and seems to be at more like 12 fps now (just a guestimate). The action of the video is over long before the audio even comes in.I have verified that the frame rate is correct in Flash so it's not that.
    I've done this literally hundreds of times in the past and suddenly it does not work and I can not figure out why. I'm not even really using video, but actually artwork that I am putting together as an animatic for an animated piece so the video could not have been imported incorrectly or digitized wrong either. Can someone out there please tell me how to make this work? Any help would be GREATLY appreciated!
    -Mike

    Thanks for you quick response however it really doesn't apply to what I am doing in any way. I will not be uploading the video to a server. I am using the imbed function so I can use it as a layer and then animate over it. It is just reference and will ultimately be deleted. The Fla file does indeed carry the same specs as I stated in my first post. I have done it this way dozens of times and I am trying to figure out why it suddenly will not work.
    ~Mike

  • Ghosting effect - Is it a frame rate problem?

    I've just made a music video lyric video (I'm still really new to movie editing) and there's this ghosting effect. Does anyone know what may cause it? Is it a frame rate problem, or the frame blend thing?
    Here's the cliup on YouTube: (You can really see the ghosting when you watch it in HD.)
    I'm using Adobe Premiere Pro CS4 on Windows 7 (32 bit)

    hmm, looks like you need to read a few things maybe...to understand some stuff.
    Here's some links I got from google for you
    NTSC
    Short for National Television System Committee. The NTSC is responsible for setting television and video standards in the United States (in Europe and the rest of the world, the dominant television standards are PAL and SECAM). The NTSC standard for television defines a composite video signal with a refresh rate of 60 half-frames (interlaced) per second. Each frame contains 525 lines and can contain 16 million different colors.
    The NTSC standard is incompatible with most computer video standards, which generally use RGB video signals
    ============
    info about aspect ratios... and better to scale down than up...or just stay the same as source.
    http://www.techsmith.com/tutorial-camtasia-understanding-dimensions-prior.html
    ================
    Soooo, you didnt export ntsc and it looks like you upscaled to 1080p but a different fps than original also.
    In gereral if you start at say 24fps and make it 30fps, your editor has to "make" new frames ( add 6 per second ) and it does that by creating new frames out of what you have on timeline. Sometimes a VBR 2 pass will give you better results than 1 pass, but you have to experiment a bit ( just export small section of timeline for tests...and try to use area where you see your "ghosting" ).
    good luck

  • Live! Cam Video IM Pro VF0410 Frame Rate Problem

    Hello I'm from Turkey sorry for my English first. I bought this camera yesterday and i tried it on 2 PC.First one is using Win Vista Home Premium (4Gb RAM + Core 2 Duo E6750),second one is Win XP Home (Gb Ram + Pentium M .8). In these PC's i can't get more than 4 or 5 FPS. I only saw 8 FPS for one second. I downloaded the?latest drivers from the site which is v.0.0 (2.68 Mb).Nothing changed it is 4 FPS again.What can i do what is this problem. Is my camera faulty ?

    I too have the same problem. It seems to be a flaw with the software or the hardware. If you disable the auto exposure setting the frame rate will still site at 4-5 fps.
    If you then move the exposure slider to the far left and then back to the right the frame rate will immediatley increase to 20-30 fps, but the exposure is quite poor even with the adjustment of brightness, contrast, etc. Is this a software bug or a hardware flaw?

  • Photon Focus MV-D1024E-160-CL-12 Camera frame rate problem.

    Hi,
    I have a photon Focus MV-D1024E-160-CL-12 camera connected with a PCI2-1429 board. I trigger my camera externally using a NI-DAQ and an I/O board to the camera. I am having a problem with the frame rate of my camera. In the manual it says that the camera can operate at 150 fps. When I am triggering at 10Hz the camera works fine. But when I trigger it at 100 Hz the camera does not give me the required fps. I am imaging an analog clock to measure the fps. When I am triggering at 100 Hz I should get just 1sec in images but instead I am getting images of 3sec. I am using the NI-IMAQ sequence example for it. Is it a software problem (e.g. buffer allocation etc) or a hardware limitation.
    Regards,
    Farhan Ahmad.

    Hello Farhan,
    You can use the Calculate FPS VI here to display the number of frames/second for your camera.
    Andy Chang
    National Instruments
    LabVIEW Control Design and Simulation
    Attachments:
    CalculateFPS.vi ‏12 KB

  • New Quick Time frame size problem when viewing

    Just upgraded to FCPv7 and am having weird issues with playing back video in the new QT player.
    I have exported several different formats of the same 30s video(ProRes422, H264 etc) . When played back, the window /frame size of the QT window is way out. The file info shows the correct info, as a 320 x 180 frame size, but QT keeps displaying it as larger than this, with poor quality (like it has been enlarged). If i export exactly the same file as a 480 x 270, it plays perfectly. I know it must be wrong as the dimensions of the QT windows are the same for both!
    I have further checked this by playing both videos in my macbook (prev version of QT), and both play at the correct size.
    How can I get the new version of QT to play the 320 x 180 at "actual size"? as the option is greyed out if I click properties?
    Thanks
    Message was edited by: mr bluefin

    after an hours search on this forum. i found some ppl have the similar issue. it looks like my problem is one of those Layout problem
    see before my code looks like this
                Component comp;
                if ( ( comp = player.getVisualComponent() ) != null ) {
                    comp.setBackground( Color.BLACK );
                    add( BorderLayout.CENTER, comp );             
                }now i am doing this:
                Component comp;
                if ( ( comp = player.getVisualComponent() ) != null ) {
                    comp.setBackground( Color.BLACK );
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();// get screen size
              comp.setSize(screenSize.width, screenSize.height); // set size to video component at the start
                    add( BorderLayout.CENTER, comp );              
                }i am not sure if this will fix my problem, i am keep running the test.
    Thanks

  • Make frame freeze problem

    Two problems I have....
    1st problem...when I make frame freeze, the filters disappear. How do I keep those clips with filters stay look same. Some clips are fine...no problem. But other clips when freeze, filters gone.
    2nd problem...I decide to use QT conversion to save still image but the pixels ratio into 4:3 which it should not be.... video is 16:9. How do I keep 16:9 when export still image?

    My freeze frames usually take on the appearance of my clips with whatever filters I have applied. What you see of the freeze frame is often affected by which tracks are auto-selected in the timeline.
    As far as the pixel aspect ratio is concerned, if you are staying within FCP, the pixel aspect ratio should be compensated for. However, if you need to create a still that looks correct at square-pixel dimension, you'll need to resize it in photoshop (don't forget to de-interlace it as well). The square pixel image size I use for 16:9 stills iis 864x480.
    Hope this helps -
    Max Average

  • Master Template Drop Zone Causes Frame Offset Problem

    I created a template in Motion with two drop zones. When I use it in Final Cut as a master template, and drop in two video clips, the clips are offset about 4 frames from the originals. I can see this when I toggle the template's track on and off to see the underlying clips that got dropped in from my timeline. The cut points don't match up to what winds up in the template's dropzones for some reason.
    This is a problem, because I'm using the template as a transition between full screen and a PIP-type effect.
    The weird frame offset causes a visual glitch that I have to correct by adjusting the start/end points. This is extremely time consuming, as I have to apply the template to a huge number of clips.
    I'm using the latest version of Final Cut Studio.

    Just discovered that the frame offset increases the further I am into a clip.
    I took a part from the beginning.. frame offset = 2 frames.
    Took one closer to the end of a 4 minute clip.. frame offset = 14 frames.
    The video is encoded in ProRes422 at 29.97 fps, and the Motion template is 29.97 also. Any ideas?

  • Frame Dominance Problems

    I have a PAL matrox RTx-100 board in my machine and am building DVD's in Encore 2.0 When I build the DVD the video seems to stutter looking like the field dominance is wrong. The RTX-100 captures at upper field first and my renders out of Premiere also stay as upper field.
    I have tried the automatic setting in Encore as well as changing the field to upper manually and the problem still occurs. I thought it may be bitrate possibly so have tried various VBR and CBR rates right down to below 4mbps but it still does exactly the same.
    The only thing I can thing it is, is that it is forcing the encoding to lower field when all my avi files are upper, but I have no idea why. It also works fine in encore 1.5 on the automatic setting and on manual upper field first.
    I have also tried using various disc media using different brands and -r and +r. I have also tried another burner drive (my installed drive is an NEC and I tried an external Freecom) but with no difference.

    Matrox have the field order wrong.
    It's that simple.
    It does not matter what the true order is, whatever frame the RTX-100 sees first will be called "Upper Field", whether it is or not.
    Always avoidthe use of proprietary AVI formats like Matrox or Canopus ones, and use MS DV-AVI.
    Sorry to say, but Matrox' main concern these days is in the Games market, and pro users can apparently all go to hell.
    The Parhelia 256 AGP card, for example, only supports OpenGL 1.3, so is useless with After Effects, and is also built on DirectX 8.1 drivers, as the card cannot handle DX9 because of architecture problems.
    And so it goes on.....

  • Repeating frame spacing Problem in Reports 6i

    I have a Matrix with Group report. Now I have two sections (one is matrix section, second is Grand totals section).
    After I run the report layout ,Matrix section data (repeating frame) is appearing at one spacing but the other repeating frame in Grand Totals - appears in the same page (below the Matrix data section) with different spacing and aligning.
    I’ve attached the output of the sample report. You can find the aligning/spacing problem between Matrix data (one repeating frame) and Grand Total data (another repeating frame)
    This is the problem, I have tried changing all the properties, but all in vain. I feel that the repeating frame in Grand Totals appears exactly at the same position as the first one.
    Please help...
    Ratnakar.

    Hi,
    There are no such limitations with Reports. If I understand properly, you run the Report twice, in each run, you are trying to execute different query, and you generate two dilimited Reports output files? This should work fine. Try out the latest Reports 6i patch-10 for this. You can even approach Oracle Support with your testcase. FYI, with Reports 6i patch-11, a new feature "dlimited data" is introduced which will give delimited output with a data dump i.e it would not be dependent upon the Reports layout. You can probably try out this new feature also.
    Thanks,
    Rohit Hi Rohit,
    Thanks for the information.
    well I am generating single output file on each run .
    the problem is somewhat funny.
    I have build query2 in data model after query1.
    query 1 is giving me correct output both in .PDF and delimiter version.
    But query2 is giving me 0 byte file for delimiter version although in .PDF it is running fine.
    When I took out query2 to another module it is running fine for both.
    I hope this make sense.
    Moreover if u still not clear about the problem and thinks that u can help me out please send me ur mail id so that I can send you the RDF copy.
    Thanks
    Mohit...

  • Scrollable frame scaling problems

    Hello all,
    Having a funny problem I've never encountered before. I've got the usual set-up for a scrollable frame ( content / content frame ) I've grouped it all together and then when I paste it into the content frame it either scales itself down and then when I tried it again it scaled itself up. The content in question is a combination of picture and text. Anyone encountered this before? Any solutions? The only solution I found was to copy an old scrollable box box from an old page.
    As always any help is much appreciated.

    Right click the frame and choose Fitting > Frame Fitting Options. Deselect Auto-Fit:

  • Gradients and PDF frame edge problems

    I have a document that has a series of cut-out bottles on a gradiant background.
    If I print this document to a color printer, it looks fine.
    If I print it to a PDF, however, all of the frame edges appear (that is, the frame edges of the cut-out bottles). If I lose the gradient, this problem no longer occurs.
    Can someone please explain how to resolve this problem (and why it's happenning to begin with)?
    Thanks in advance.

    In rereading the post, I may have misinterpreted what you were saying originally (a screen capture is a wonderful way to show us what you are talking about). I thought you were saying the transparent background area was showing as a differnt shade from the rest of the background, but I realize now that probably is not what you meant at all.
    First off let's try to get some more details about the file, and about the intended final output. Will this print on a press, or digitally? Are the colors Spot or Process?
    What settings are you using to make the PDF? You said "print" to PDF, and if that's the case, you're flattening transparency and what you desbcibe as frame edges showing might be thin white lines at the image bounding boxes. These are called "stitching" and are a flattening artifact that shows on screen and in low resolution prints made from the PDF, but generally not in press output.
    Print to PDF is a distillation process and ALWAYS makes PDF with flattened transparency. It's far better to leave transparency live for as long as possible, ideally letting the printer's RIP do the flattening. To keep live transparency you must EXPORT to PDF, not print (and starting in CS5 you for printed output you need to change the default on export from PDF [Interactive] to PDF [Print]) and use Acrobat 5 or higher compatibility. The Press Quality preset is one good choice if you are going to press and you are controlling color management on your end because you know the print conditions (it converts all colors to process and a single output profile). PDF/X-4 will preserve all colors and embedded profiles for the Printer's RIP to do the color management, but not all printers are up to date enough to handle this.

Maybe you are looking for

  • PO Output For Communication Program is not Submitting in Background PO appr

    Hi Gurus, We are working on "PO Output For Communication" Program.We created a Standard Purchase Order and Approved it through the "E-Mail" option checked."PO Output For Communication" program was not submitted in the background. From the workflow we

  • Distributed Transactions in Oracle

    I have a SP which has explicit commit but it fails in DTC with the following error: ORA-02089: COMMIT is not allowed in a subordinate session The functionality that I want to achieve is the Oracle procedure should have commit / rollback when its done

  • Group Messaging Help!!

    Ok so I recently got an iPhone 4s and I'm having trouble with the group messaging system. On my old phone (HTC 7 Pro, windows phone) I would keep getting individual messages from people in a group text that I have been added in. The only difference i

  • Adobe Flash Builder 4.7 Plug-in Utility Not Installing on Eclipse

    I am trying to install Flash Builder 4.7 Plugin into Eclipse. I have downloaded Flash Builder Premium via Adobe's Creative Cloud. I have also installed Eclipse Indigo. I am running this all on Mac OSX. According to a tutorial I found I needed to go i

  • Adobe Captivate 7 will not open after successful installation

    After successful installtion of Captivate 7, I am unable to open/run the program.  The error message below is received when attempting to open the program.  I've installed/uninstalled the program twice both with the same results.  Any thoughts on why