"Do not display" Problem

hi friends,
at first, I use a Player to play a DataSource I captured from my webcam, that's ok.
second, I use a Processor to transcode the cloned DataSource I captured from my webcam, my video disappeared.
what's the matter? Thx.

import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.io.IOException;
import javax.media.CannotRealizeException;
import javax.media.CaptureDeviceInfo;
import javax.media.CaptureDeviceManager;
import javax.media.Format;
import javax.media.Manager;
import javax.media.MediaLocator;
import javax.media.NoDataSourceException;
import javax.media.NoPlayerException;
import javax.media.NoProcessorException;
import javax.media.Player;
import javax.media.Processor;
import javax.media.control.TrackControl;
import javax.media.format.VideoFormat;
import javax.media.protocol.DataSource;
import javax.swing.JFrame;
public class CaptureTranscode {
     private String videoDevice = "vfw:Microsoft WDM Image Capture (Win32):0";
     private String audioDevice = "DirectSoundCapture";
     private CaptureDeviceInfo cdi1 = CaptureDeviceManager
               .getDevice(videoDevice);
     private CaptureDeviceInfo cdi2 = CaptureDeviceManager
               .getDevice(audioDevice);
     private DataSource ds1 = null;
     private DataSource ds2 = null;
     private DataSource dsVideo = null;
     private DataSource dsAudio = null;
     private Player player1 = null;
     private Player player2 = null;
     private Processor processor = null;
     private JFrame frame;
     private Container contentPane;
     public CaptureSend() {
          // iniGUI
          frame = new JFrame("");
          frame.setBounds(120, 90, 800, 600);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          contentPane = frame.getContentPane();
          frame.setVisible(true);
          System.out.println("frame initialed!");
     public void play() {
          MediaLocator ml1 = cdi1.getLocator();
          MediaLocator ml2 = cdi2.getLocator();
          System.out.println("MedaiLocator created!");
          try {
               this.ds1 = Manager.createDataSource(ml1);
               System.out.println("ds1 created!");
               this.dsVideo = Manager.createCloneableDataSource(ds1);               
               System.out.println("dsAudio cloned!");               
               this.player1 = Manager.createRealizedPlayer(ds1);
               System.out.println("player1 created!");
               player1.start();
               System.out.println("player1 started!");
               this.ds2 = Manager.createDataSource(ml2);
               System.out.println("ds2 created!");               
               this.dsAudio = Manager.createCloneableDataSource(ds2);
               System.out.println("dsAudio cloned!");
               this.player2 = Manager.createRealizedPlayer(ds2);
               System.out.println("player2 created!");
               player2.start();
               System.out.println("player2 started!");
               Component c1 = player1.getVisualComponent();
               if (c1 != null) {
                    contentPane.add(c1);
                    c1.setBounds(40, 30, 400, 300);
                    System.out.println("visualComponent added!");
               Component c2 = player1.getControlPanelComponent();
               if (c2 != null) {
                    contentPane.add(c2);
                    c2.setBounds(40, 330, 400, 20);
                    System.out.println("controlPanelComponent added!");
          } catch (NoDataSourceException e) {
               e.printStackTrace();
          } catch (IOException e) {
               e.printStackTrace();
          } catch (NoPlayerException e) {
               e.printStackTrace();
          } catch (CannotRealizeException e) {
               e.printStackTrace();
     public void transCode() {
          try {
               this.processor = Manager.createProcessor(dsVideo);
          } catch (NoProcessorException e) {
               System.out.println(e);
               e.printStackTrace();
          } catch (IOException e) {
               System.out.println(e);
               e.printStackTrace();
          System.out.println("processor created!");
          this.processor.configure();
          System.out.println();
          this.processor.deallocate();
          TrackControl[] tracks = processor.getTrackControls();
          System.out.println("TrackControl[] tracks created!");
          for (int i = 0; i < tracks.length; i++) {
               System.out.println("tracks[" + i + "]: " + tracks.toString());
               Format[] supported = tracks[i].getSupportedFormats();
               System.out.println("tracks[" + i + "] supported Formats: "
                         + supported);
               Format chosen = this.checkForVideoSizes(tracks[i].getFormat(),
                         supported[0]);
               System.out.println("chosen: " + chosen);
               tracks[i].setFormat(chosen);
               System.out.println("tracks[" + i + "] setted!");
     public Format checkForVideoSizes(Format original, Format supported) {
          int width, height;
          Dimension size = ((VideoFormat) original).getSize();
          Format jpegFmt = new Format(VideoFormat.JPEG_RTP);
          Format h263Fmt = new Format(VideoFormat.H263_RTP);
          if (supported.matches(jpegFmt)) {
               width = (size.width % 8 == 0 ? size.width
                         : (int) (size.width / 8) * 8);
               height = (size.height % 8 == 0 ? size.height
                         : (int) (size.height / 8) * 8);
          } else if (supported.matches(h263Fmt)) {
               if (size.width < 128) {
                    width = 128;
                    height = 96;
               } else if (size.width < 176) {
                    width = 176;
                    height = 144;
               } else {
                    width = 352;
                    height = 288;
          } else {               
               return supported;
          return (new VideoFormat(null, new Dimension(width, height),
                    Format.NOT_SPECIFIED, null, Format.NOT_SPECIFIED)).intersects
          (supported);
     public void transmitte() {
     public static void main(String[] args) {
          CaptureSend cs = new CaptureSend();
          cs.play();
          cs.transCode();
oky, and now what does your crystal show?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Can You Help with an iWeb Nav Bar Not Displaying Problem?

    Hi Everyone,
    I have had a website that I created with iWeb and have successfully hosted with me.com (Mobile Me) for the past 8 months. I added a new page yesterday and ever since then, the Nav Bar has stopped appearing on any browser. This happens on every page of my site where there should be a Nav Bar.
    I brought up the Safari "Activity" window and when I load one of my pages in, error messages pop up that may hold the clue for someone helping out. (I'm not sure if this has anything to do with the problem.)
    All the "http://..." components (not shown) load in okay, but the following "https://..." components below are followed by a "bad server certificate" error message.
    https://www.me.com/st/1/sharedassets/2.0.4/Common/Scripts/Site/iWebImage.js
    https://www.me.com/st/1/sharedassets/2.0.4/Common/Scripts/Site/iWebSite.js
    https://www.me.com/st/1/sharedassets/2.0.4/Common/Templates/Layered%20Paper/Laye redPaper_01.jpg
    https://www.me.com/st/1/sharedassets/2.0.4/Common/Templates/Layered%20Paper/Laye redPaper_04.jpg
    No, I haven't tried deleting the page I created yesterday. I'm quite proud of it and would hate to can it. I will, if I have to, but before then, I was hoping someone else familiar with this problem had a solution they could share.
    Thanks.

    Hello
    I am having the same problem. I have had my website with mobile me for nearly 2 years and have never had a problem.
    However my Nav Bar has disappeared on the published website. When I go into iWeb it is there. I have made some changes and republished it - a few times - and when live you can only get to the Home page, there is just a dot where all the other pages used to list.
    I brought up the Safari Activity window and it tells me that only 13 of 15 items are there. It doesn't show any other errors.
    I would love some help on how to fix it.
    Thanks
    http://www.allthingsslimey.com.au

  • Problem with data not displaying in website

    Hello All,
       I am having a problem with one of our applications. It is written in ColdFusion and uses SQL server. The problem that we are having is when we use the URL Http://bma.com (that is not actually the site name)  we cannot see all the data that it is suppose to pull in. I get an error on page and when I select to view the error this is what I get
    Message: 'WddxRecordset' is undefined Line: 184 Char: 2 Code: 0 URI: http://bma.com/user_maintenance.cfm and Message: 'jsusersTLV' is undefined Line: 3208 Char: 6 Code: 0 URI: http://bma.com/user_maintenance.cfm
    If I put the IP address in the URL for example http://165.83.109.246/bma/login.cfm all of the data is displayed as it should.
    Any thoughts or sugguestios on how to correct this?
    Thanks

    Yes, the user_maintenance.cfm is one of the forms that the data is not displaying on. There are multiple forms in the application and that just happens to be one of them. the login.cfm is just the login screen. Once you select your name and enter your password to the application then you can select the user maintenance form. If you select someones name the application should pull in all of that persons information. That is the problem, it is not pulling in any information on the user. We get a blank screen where data should be. When we use the IP address in the URL and select someones name in the user manintenance form, it pulls in all the data from that user as it should.

  • HT1727 How can i retrieve purchased audiobooks that were not synced (problem encountered during sync process).  My account shows the purchase history, but the apps are no longer displayed in itunes or on my ipad or iphone

    How can i retrieve purchased audiobooks that were not synced (problem encountered during sync process)?  My account shows the purchase history, but the apps are no longer displayed in itunes or on my ipad or iphone.  I'm not very savvy with using iTunes - I don't think is very intuitive (unlike me:)).  Any help would be appreciated.
    Thanks

    Hello mcegirl4,
    Thanks for using Apple Support Communities.
    Please refer to the instructions in the following article to assist in downloading those previous purchases from iTunes and the App Store:
    Download past purchases
    http://support.apple.com/kb/HT2519
    Take care,
    Alex H.

  • So, my Macbook Pro with retina display only prints in black and white. My printer, officejet 4620 series [555DE4], is not the problem. I want to know how to be able to print in color as well??

    So, my Macbook Pro with retina display only prints in black and white. My printer, Officejet 4620 series [555DE4], is not the problem. I want to know how to be able to print in color as well??

    In the Print dialog, select the Color Matching tab and then select Vendor Matching.

  • Print Problem - PDF is OK on Windows 7, but OK on Windows XP with "Acrobat Reader An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem."

    I have received a PDF which prints fine in Windows 7 but with Windows XP I get "Acrobat Reader An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem." and a blank piece of paper passes through the printer. I appreciate that Windows XP is no longer supported but I would like to think that the solution to this problem is not too difficult!
    I have tried Acrobat 9, 10 and 11.
    Any advice (apart from use Windows 7! ) would be most welcome.
    Many thanks.

    If you use the same Adobe Reader versions with the same PDF on Windows 7 and XP, then I would expect the outcome to be the same.
    Is this a local or online PDF?
    If local, is the file really exactly the same?
    If online, in what browser?

  • Problems with Turkish characters not displaying correctly

    A user is having problems with certain Turkish characters in particular fonts not displaying correctly (as shown below).
    The two fonts (Gill Sans and Helvetica LT CondensedLight) are used for English language marketing material.  Ideally, for continuity, the same font would be preferred for our Turkish language marketing material rather than changing it to a similar font.
    Helvetica LT CondensedLight
    Turkish character “ İ ” does not display correctly in either Word or InDesign.
    Gill Sans
    Turkish characters “ ş ” and “ ğ ” display correctly in Word but not InDesign.
    My questions are:
    1. For Gill Sans, why are the characters not displaying in InDesign but are in Word?
    2. I've noticed here: http://www.webtype.com/font/gill-sans-family/#glyphs-tab that the required characters are available within the Gill Sans font.  Is this because the font is newer and includes the additional characters?  Would this work in InDesign?

    One of the big differences between InDesign and Word is that Word will happily substitute glyphs without telling you. So, unless your installs of Word and of InDesign are using different versions of Gill Sans (which is possible, BTW) then your s-with-cedilla and your g-with-macron are actually not in Gill Sans but in some other font. I'm guessing Arial.
    It's possible that you have more than one Gill Sans installed (e.g. one in your Document Fonts folder and another in your system fonts folder) that have different glyph complements. Gill Sans has been around a long time, and the version I have from the 90s has no Turkish support whatsoever.
    As far as the capital-I-with-dot, you can check your glyph coverage in a variety of ways. In both InDesign and Word, you can open up a window that shows you all of the glyphs in a font. In InDesign, find it in Type -> Glyphs. In Word, it's called "Insert Symbol" and you can find it in Word 2010 by going to Insert -> Symbol -> More Symbols. I am guessing that the answer to this question is simply that your cut of Helvetica LT has no cap-I-with-dot. You'd need to pick a font that actually has support for Turkish. On WIndows, I use a very full-featured freebie called BabelMap to check font coverage. They have a Web version here:
    http://www.babelstone.co.uk/Unicode/babelmap.html
    but I personally prefer the downloadable .exe file.

  • Bridge CS4 Search Not Displaying NEF Files + Keyword Problems

    Hello, I am hoping someone can be of service to peculiar problem that apparently nobody else has had.
    I am running Adobe Bridge CS4 (came bundled with Photoshop Elements 8) on a 2009 24 inch iMac with 4GB RAM and a 2.6mHz processor running Snow Leopard v10.6.2.
    I use Adobe Bridge CS4 to add Keywords to all my photos and edit 14 bit Nikon NEF RAW files. I write the keywords to an .XMP sidecar
    file.
    Two days I ago I changed something in Preferences->Metadata and the next time I started Bridge CS4 and used the loupe tool on a NEF
    file, it took longer than usual for the preview to come up and when it did, it was at 200% magnification instead of 100%. Once the loupe preview showed up, the NEF file had some sort of processing applied to it (it became more contrasted.) This was all within Bridge ant NOT Adobe Camera Raw. I quit the program and the next time I started Bridge, it crashed upon using the loupe tool. I looked up help on Adobe's website and it appeared I had corrupted preferences. Per Adobe's instructions I option clicked at Bridge startup to delete the preferences and purge the cache.
    Everything appeared to be normal until today when I searched for a keyword and got 36 random results when I know I have hundreds of
    photos tagged with that particular keyword. I started typing in other keywords and getting the same sort of results- very limited numbers of photos I have hundreds of. I always include all subfolders in all searches and used every search method available through Bridge to no avail. The searches always came up with a fraction of the photos I actually have tagged.
    I then verified and repaired all disk permissions from the operating system installation CD and Bridge started returning results as
    usual. However, when I clicked on an individual file in the Content pane, some of my Keywords started to appear in italics below the rest of my Keyword tree. There doesn't appear to be any rhyme or reason as to why some images will return the Keywords normally and others in italics. Also, sometime the italicized keyword tree will include keywords I edited due to typos and thus no longer existing my normal Keyword tree. I gave the "Make Persistent" command a try. It converts the italics to regular case, but it also doubles the tag so I now have two of that tag (one in the normal keyword tree, and the now converted italics keyword tree.)
    Now I'm noticing that all my search results are not including NEF files; just JPEG and the occasional DNG file that I made through Adobe Camera RAW. I'm not sure if this has been the case throughout my problem or if I just noticed it late.
    Regarding not displaying NEF files in searches, it appears that it will default to displaying JPEG if it has the option because as of lately I have only been shooting RAW and some of those files are showing up in the still-wonky searches (still displaying random or no photos of keywords.) However, if I manually navigate to a file, I can open and edit NEF files with no problem, they just don't display in any search modes.
    Here's two short videos of what happens when I navigate a folder with NEF files by manually searching:
    http://www.youtube.com/watch?v=WDjUDZzULKQ
    http://www.youtube.com/watch?v=-Y9HkDK7DCs
    When I click on a NEF file, the one ahead of it in Content view processes into a more contrasty image and the loupe tool previews jump between 100% and 400% and then change to 100% when dragged or they just process themselves right then and there.

    I am running Adobe Bridge CS4 (came bundled with Photoshop Elements 8) on a 2009 24 inch iMac with 4GB RAM and a 2.6mHz processor running Snow Leopard v10.6.2.
    Snow Leopard and Bridge CS4 do have some issues. Some have no problems and others have much problems I'm afraid.
    I use Adobe Bridge CS4 to add Keywords to all my photos and edit 14 bit Nikon NEF RAW files. I write the keywords to an .XMP sidecar file.
    To my knowledge the keywords are written into the XMP Metadata that is saved in the IPTC section of file itself, the XMP data in the sidecar file contain the changes you made in ACR. In other words, the keywords you have added should still be there.
    Also see this Knowledge Base article about Keywords:
    http://kb2.adobe.com/cps/402/kb402660.html
    Two days I ago I changed something in Preferences->Metadata and the next time I started Bridge CS4 and used the loupe tool on a NEF file, it took longer than usual for the preview to come up and when it did, it was at 200% magnification instead of 100%.
    Changes metadata in prefs only affects the visability of the fields in the metadata panel. put or deselect a checkmark in front of an option will let you see or not see the field in this panel, the actual data and fields ar still in the file.
    it was at 200% magnification instead of 100%. Once the loupe preview showed up, the NEF file had some sort of processing applied to it (it became more contrasted.) This was all within Bridge ant NOT Adobe Camera Raw.
    You can change the magnification for the loupe to 100 / 200 / 400 and 800 % using the scrollwheel or with loupe active the + and - keys. Bridge shows the settings that you made in ACR. If you have changed the default Camera Raw setting it will also change the thumbs for this file. A thumbs needs some time to be cached. First it shows with a black border around, when first cached it shows the embedded preview and in the second round it renders the ACR settings and High Quality preview (if you have not disabled this setting). Caching needs some time.
    Everything appeared to be normal until today when I searched for a keyword and got 36 random results when I know I have hundreds of photos tagged with that particular keyword. I started typing in other keywords and getting the same sort of results- very limited numbers of photos I have hundreds of. I always include all subfolders in all searches and used every search method available through Bridge to no avail. The searches always came up with a fraction of the photos I actually have tagged.
    Maybe you need to let the indexing in find do its work again but it might also be a snow leopard issue. Try an other app (Digital Asset Management like Expresion Media or  Portfolio) to check about the keywording and find. You can use a trial version for several days. You have several options to use find keywords. In the panel itself, in the filterpanel uner the keyword tab, when clicking on a visible keyword it only shows the files with that keyword or in the menu Edit / find (shortcut cmd + F) explore the options in this menu and also choose include non indexed and let Bridge start to index your files again.
    However, when I clicked on an individual file in the Content pane, some of my Keywords started to appear in italics below the rest of my Keyword tree. There doesn't appear to be any rhyme or reason as to why some images will return the Keywords normally and others in italics. Also, sometime the italicized keyword tree will include keywords I edited due to typos and thus no longer existing my normal Keyword tree. I gave the "Make Persistent" command a try. It converts the italics to regular case, but it also doubles the tag so I now have two of that tag (one in the normal keyword tree, and the now converted italics keyword tree.)
    Don't know about that.
    Here's two short videos of what happens when I navigate a folder with NEF files by manually searching:
    http://www.youtube.com/watch?v=WDjUDZzULKQ
    http://www.youtube.com/watch?v=-Y9HkDK7DCs
    When I click on a NEF file, the one ahead of it in Content view processes into a more contrasty image and the loupe tool previews jump between 100% and 400% and then change to 100% when dragged or they just process themselves right then and there.
    As you can see the black border around some file that disappear after a while or when you select them they have not been cached. You used purge cache so most of your earlier cached results are gone and need to rebuild.

  • Hello My ipads Power button is not working properly when I press it once it shows option to turn off instead of locking and some other display problems like it suddenly lockes down or display disappears ...Please help. Thank You

    Hello My ipads Power button is not working properly when I press it once it shows option to turn off instead of locking and some other display problems like it suddenly lockes down or display disappears ...Please help. Thank You

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • Text Area Problem. Last Line not displayed

    HI,
    I am using TextArea component in the MXML script. We are having the problem of not displaying the last line in textarea. The textarea has scroll also. But, when scrolling only last line is not displayed and we have to see only by moving the mouse to component. We want to see all the text only by scrolling the bar. Please help me to resolve this issue.
    Thanks,
    Krishna

    Hi,
    Please check once your transport log, wether it was tranported correctly or not.
    Regards,
    Kumar

  • JFileChooser problem - it will not display

    I have read the tutorial on JFileChoosers and understand the basics, however, my application will simply not display a File Chooser. I select the menu option "open file" and the command prompt window just spews out dozens of garbage. The code is below if there are any FileChooser "Pros" out there. The FileChooser is selected for loading in the actioPerformed method. Thanks for any assistance.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    import java.io.*;
    import java.util.*;
    import javax.swing.JFileChooser;
    import javax.swing.filechooser.*;
    public class DissertationInterface extends JFrame implements ActionListener
         private JPanel onePanel, twoPanel, bottomPanel;
           private JButton quit,search;
           private JMenuBar TheMenu;
           private JMenu menu1, submenu;
         private JMenuItem menuItem1;
         private JFileChooser fc;          //FILE CHOOSER
           private BorderLayout layout;
           //Canvas that images should be drew on
           //drawTheImages Dti;
           //Instances of other classes
         //DatabaseComms2 db2 = new DatabaseComms2();
         //Configuration cF = new Configuration();
           public DissertationInterface()
                setTitle("Find My Pics - University Application") ;
                layout = new BorderLayout();          
                Container container = getContentPane();
                container.setLayout(layout);
                //Dti = new drawTheImages();
              //container.add(Dti);
                quit = new JButton("Quit");
                search = new JButton("Search");
                TheMenu = new JMenuBar();
                setJMenuBar(TheMenu);
                //FILE CHOOSER
                JFileChooser fc = new JFileChooser();     
                fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
                //First menu option = "File";
                menu1 = new JMenu("File");
              TheMenu.add(menu1);
                //Add an option to the Menu Item
                menuItem1 = new JMenuItem("OPEN FILE",KeyEvent.VK_T);
            menuItem1.setAccelerator(KeyStroke.getKeyStroke(
            KeyEvent.VK_1, ActionEvent.ALT_MASK));
              menu1.add(menuItem1);
              menuItem1.addActionListener(this);          //action listener for Open file option
                //CREATE 3 PANELS
                onePanel = new JPanel();
                onePanel.setBackground(Color.blue);
                onePanel.setLayout(new FlowLayout(FlowLayout.CENTER, 200, 400)) ;
                twoPanel = new JPanel();
                twoPanel.setBackground(Color.red);
                twoPanel.setLayout(new GridLayout(5,2,5,5));
                bottomPanel = new JPanel();
                bottomPanel.setBackground(Color.yellow);
                bottomPanel.setLayout(new FlowLayout(FlowLayout.CENTER,10,10));
              //ADD COMPONENTS TO THE PANELS
                //Add the menu bar and it's items to twoPanel
              twoPanel.add(TheMenu, BorderLayout.NORTH);
              twoPanel.setAlignmentY(LEFT_ALIGNMENT);
                bottomPanel.add(quit);
                quit.addActionListener(this);          //action listener for button
                bottomPanel.add(search);
                search.addActionListener(this);          //action listener for button
                //ADD PANELS TO THE WINDOWS
                container.add(onePanel, BorderLayout.CENTER);
                container.add(twoPanel,BorderLayout.NORTH);            
                container.add(bottomPanel, BorderLayout.SOUTH);
                //setSize(350,350);
                setVisible(true);
              }//END OF CONSTRUCTOR
            public void leaveWindow()
                 this.dispose() ;
            public static void main(String args[])
            DissertationInterface DI = new DissertationInterface();
            DI.setVisible(true);
            //Display the window.
            DI.setSize(450, 260);
            DI.setVisible(true);
            DI.pack();
         }//End of main method
         protected void processWindowEvent(WindowEvent e)
                super.processWindowEvent(e);
                if(e.getID()== WindowEvent.WINDOW_CLOSING)
                      System.exit(0);
              }//End of processWindowEvent
    //method to resolve button clicks etc
    public void actionPerformed(ActionEvent e)
              //PROBLEM IS HERE !!!!!!! - why won't the file dialogue box open
              if(e.getActionCommand().equals("OPEN"))
                   int returnVal = fc.showOpenDialog(DissertationInterface.this);
                 else if(e.getActionCommand().equals("Quit"))
                      //closeDialog();
                      System.out.println("User interface exited");
                      System.exit(1);
                      leaveWindow();
              else if(e.getActionCommand().equals("Search"))
                      //pass params to database                                 
                 }//end of else if
    } //end of method ActionPerformed
    }//End of class DissertationInterface

    I have done as stated, code compiles/executes but when I select the open file option on my GUI, the command prompt window freezes and no dialogue box is displayed!!!!

  • Lion text problem: Some text does not display properly in Safari and Firefox

    Hello
    Some text in Safari and Firefox is seriously degraded, making it useless. I changed to Firefox because Safari was displaying wrongly, but Firefox displays the same way, so it seems to be an OS problem. See image as an example:
    I cannot see subtitles on BBC streamed movies, and the timing of the movies on the bottom ribbon do not display correctly.
    I am using Lion 10.7.5
    Is there a solution for this problem?
    Thanks for any help.

    Unbelievable (and I still cannot believe that) - is wmode="transparent/opaque/etc" - not supported by safari ? then how do you suggest we go about transparent flash elements on web pages? why isn't it working on safari while on every other browser on earth it does?

  • Migration Assistant: Problems transferring data from PC (XP SP3) to new Mac Pro 2012 - can not get Migration Assistant to work as PC will not display verfify passcode

    Migration Assistant: Problems transferring data from PC (XP SP3) to new Mac Pro 2012 - can not get Migration Assistant to work as PC will not display verfify passcode
    Hello, I am having problems migrating data from my old PC running XP (SP3) to my new Mac Pro 2012 using the Migration Assistant.
    - I downloaded and installed the Windows Migration Assistant from Apple
    - My Mac recognized PC and displays passcode
    - The sasscode does not show / display on my PC
    - My Mac is then stuck in "authenticating" loop and the PC is stuck "waiting for Mac to connect."
    - Both computers are connected on same network (have connected PC on WIFI and using ethernet to Reuter)
    I have looked on support site and only response I saw says to reinstall Windows Migration Assistant (which I have done)
    Any ideas?  If cant get this to workare there instructions for manually bring across relevant data eg itunes music and apps, photos, picasa data etc?

    Why not turn off the Windows firewall and uninstall any other firewall software you have installed?
    If you are using a Norton product uninstall it and discard it. To fully unistall most Norton products you have to go to the Norton website and download a soecial program to completely get rid of it. The normal uninstall feature built into the program will not remove all of it.

  • Problem on PC: During import, I can locate the sources folder however the photo do not display. Was working fine.

    Problem on PC: During import, I can locate the sources folder however the photo do not display. Was working fine. All file types, Lightroom is no longer recognising the images to import, The panel that usually displays them remains empty.  Try using backup versions, removing software that could conflict , still no joy, has anyone had this problem?

    Did you follow this procedure?
    Our iTunes guru Terence Devlin advises the following:
    1. Quit iTunes
    2. Drag the iTunes folder from your internal hd - located in ~/Music folder - to your external hd. DO NOT delete the original one from your internal hd... yet!
    3. When the transfer is complete, press and hold the Option(alt) key and fire up iTunes.
    4. A "Choose iTunes Library" window will come up. Click on the "Choose Library" button.
    5. Navigate to where the iTunes folder is located in the external hd.
    6. Within the iTunes folder, select the iTunes Library file and click Choose...
    That's it. iTunes will now display all your playlists, songs, movies, podcasts etc. At this point, should you wish, you can delete the iTunes folder from the internal hd to free up space.
    More info:
    http://support.apple.com/kb/HT1751
    Or if you prefer a more complicated explanation:
    http://www.ilounge.com/index.php/articles/comments/moving-your-itunes-library-to -a-new-hard-drive

  • Problem in report .if i run the report it is not display the quantity,price

    This program is an AP Standard Price  Variance Report. For each Material it details all invoices created  for  that  material including  the  quantity  invoiced, the  actual Unit Cost for invoiced quantity and the  actual   amount invoiced. For each material/Vendor combination,  it totals and compares the actual quantity, Unit Cost,  and the amount with  standard quantity, Unit Cost  and  amount.  The  amount  difference   equals  the   total   deviation.        
    problem in if run the report under material have items but one of the item not displaying quantity and cost  but it is calcualting
    displaying the total invoice cost ..but under material number it is showing 0...
    if it_bkpf-blart eq 'WE' or
           ( it_bkpf-blart eq 'WA' and
         ( it_bseg-werks = '09'  or it_bseg-werks = '99' ) and "DV2K927836
             ( it_bseg-hkont = '0001701010' or
             it_bseg-hkont = '0001720010' ) ).
          it_detail-menge      = it_bseg-menge.
        endif.
        it_detail-werks      = it_bseg-werks.
        it_detail-hkont      = it_bseg-hkont.
        it_detail-hkont_desc = ws_hkont_desc.
        it_detail-belnr      = it_bkpf-belnr.
        it_detail-blart      = it_bkpf-blart.
        it_detail-lifnr      = ws_lifnr.
        it_detail-lifnr_desc = ws_lifnr_desc.
        if it_bkpf-blart eq 'RN'
           or it_bkpf-blart eq 'RI'
           or it_bkpf-blart eq 'RF'
           or it_bkpf-blart eq 'RC'
             or it_bkpf-blart eq 'RD'
               or it_bkpf-blart eq 'ER'.
          if it_bseg-menge ne 0.
            it_detail-inv_ucost = it_bseg-wrbtr / it_bseg-menge.
          else.
            it_detail-inv_ucost = it_bseg-wrbtr.
          endif.
          if it_bseg-shkzg = 'H'.          "Credit Indicator
            it_bseg-wrbtr = 0 - it_bseg-wrbtr.
          endif.
          it_detail-inv_cost = it_bseg-wrbtr.
        endif.
        if it_bkpf-blart = 'WE' or it_bkpf-blart = 'WA'.
          if it_bseg-hkont = '0001701010' or
             it_bseg-hkont = '0001720010'.
            if  ( it_bkpf-blart eq 'WA' and
            ( it_bseg-werks = '09'  or it_bseg-werks = '99' ) ). "DV2K927836
              clear ws_awkey.
              ws_awkey = it_bkpf-awkey.
    clear ws_mseg_werks.

    This program is an AP Standard Price  Variance Report. For each Material it details all invoices created  for  that  material including  the  quantity  invoiced, the  actual Unit Cost for invoiced quantity and the  actual   amount invoiced. For each material/Vendor combination,  it totals and compares the actual quantity, Unit Cost,  and the amount with  standard quantity, Unit Cost  and  amount.  The  amount  difference   equals  the   total   deviation.        
    problem in if run the report under material have items but one of the item not displaying quantity and cost  but it is calcualting
    displaying the total invoice cost ..but under material number it is showing 0...
    if it_bkpf-blart eq 'WE' or
           ( it_bkpf-blart eq 'WA' and
         ( it_bseg-werks = '09'  or it_bseg-werks = '99' ) and "DV2K927836
             ( it_bseg-hkont = '0001701010' or
             it_bseg-hkont = '0001720010' ) ).
          it_detail-menge      = it_bseg-menge.
        endif.
        it_detail-werks      = it_bseg-werks.
        it_detail-hkont      = it_bseg-hkont.
        it_detail-hkont_desc = ws_hkont_desc.
        it_detail-belnr      = it_bkpf-belnr.
        it_detail-blart      = it_bkpf-blart.
        it_detail-lifnr      = ws_lifnr.
        it_detail-lifnr_desc = ws_lifnr_desc.
        if it_bkpf-blart eq 'RN'
           or it_bkpf-blart eq 'RI'
           or it_bkpf-blart eq 'RF'
           or it_bkpf-blart eq 'RC'
             or it_bkpf-blart eq 'RD'
               or it_bkpf-blart eq 'ER'.
          if it_bseg-menge ne 0.
            it_detail-inv_ucost = it_bseg-wrbtr / it_bseg-menge.
          else.
            it_detail-inv_ucost = it_bseg-wrbtr.
          endif.
          if it_bseg-shkzg = 'H'.          "Credit Indicator
            it_bseg-wrbtr = 0 - it_bseg-wrbtr.
          endif.
          it_detail-inv_cost = it_bseg-wrbtr.
        endif.
        if it_bkpf-blart = 'WE' or it_bkpf-blart = 'WA'.
          if it_bseg-hkont = '0001701010' or
             it_bseg-hkont = '0001720010'.
            if  ( it_bkpf-blart eq 'WA' and
            ( it_bseg-werks = '09'  or it_bseg-werks = '99' ) ). "DV2K927836
              clear ws_awkey.
              ws_awkey = it_bkpf-awkey.
    clear ws_mseg_werks.

Maybe you are looking for

  • File size limitation for folios?

    Hi, is there a known limitation of file size for a folio. I try to distribute a folio with 1,7 GB via acrobat.com / folio producer. Direct testing an a Android device (Samsung Galaxy) works (local folio), but downloading from acrobat.com fails.

  • HT4381 Can Apple TV be used in South Africa?

    Can Apple TV be used in South Africa? I want to give Apple TV as a gift to someone who will soon move there.  Thanks.

  • Error message B1 071 when creating IDOC ?

    HI experts, I have got a problem when i try to send the vendor master data using BD14 as below :   To add new segment I have created the new extension : ZCREMAS .(WE30) =_ copied from the CREMAS04 .the i add new segment ZNEWSEG to this extension . Th

  • Please help me i cant update my bb 8520 os

    everytime i try to update my os it always shows that there is no update available for my device. my current version is 4.6 and i am trying to update to version 5. my friend updated her 8520 so easily and there's an immediate promt of the update. We a

  • Imbedded images will not open in mail

    image files embedded in emails do not appear - I see box with ? but it will not open. Very frustrating