Modal dialog is not modal on Linux 2.6.7 kernel

Hello,
I have developed a java program (JDeveloper) in which I have a modal dialog, created as JDialog(callingFrame, title, true).
But, the modal feature only works on my Suse 9 or MS Windows. Not on a Linux 2.6.7 kernel running on a Nakasaki PC104....
Does anyone have an idea ?

The kernel has nothing to do with it. The most likely cause of a difference would be using different JVMs. Failing that, it could at a pinch be different windowing toolkits or window managers, but I'd be surprised.

Similar Messages

  • Modal dialog does not close until function finish

    Hello
    I am a modal dialog (yes/no buttons). When user selects YES, a function is executed. My problem is: Dialogo does not close until function finish.
    Many thanks for your help.
    This is the call to show modal dialog:
    boolean myRes;
    dlgYesNo.setTitle(" SINCRONIZE");
    dlgYesNo.setPreguntaUp("�Do you want to sincronize?");
    dlgYesNo.show();
    myRes = dlgYesNo.respDialogo();
    if (!myRes) return; // User selects NO
    sincronizeData(); //MODAL DIALOG DOES NOT CLOSE UNTIL THIS FUNCTION FINISH!!!
    This is the class to create modal dialog:
    public class DialogoYesNo extends java.awt.Dialog {
    /** Creates new form DialogoYesNo */
    public DialogoYesNo(java.awt.Frame parent, boolean modal) {
    super(parent, modal);
    initComponents();
    this.setSize(200,125);
    this.setResizable(false);
    Dimension d = this.getToolkit().getScreenSize();
    this.setLocation((d.width-getSize().width)/2, (d.height-getSize().height)/2);
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {
    btYes = new java.awt.Button();
    lblDialogCentro = new java.awt.Label();
    lblDialogUp = new java.awt.Label();
    btNo = new java.awt.Button();
    lblDialogDown = new java.awt.Label();
    setLayout(null);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    closeDialog(evt);
    btYes.setLabel("Si");
    btYes.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btYesActionPerformed(evt);
    add(btYes);
    btYes.setBounds(30, 80, 60, 24);
    lblDialogCentro.setAlignment(java.awt.Label.CENTER);
    lblDialogCentro.setText("a");
    add(lblDialogCentro);
    lblDialogCentro.setBounds(10, 40, 180, 20);
    lblDialogUp.setAlignment(java.awt.Label.CENTER);
    add(lblDialogUp);
    lblDialogUp.setBounds(10, 30, 180, 20);
    btNo.setLabel("No");
    btNo.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btNoActionPerformed(evt);
    add(btNo);
    btNo.setBounds(110, 80, 60, 24);
    lblDialogDown.setAlignment(java.awt.Label.CENTER);
    add(lblDialogDown);
    lblDialogDown.setBounds(10, 50, 180, 20);
    pack();
    private void btYesActionPerformed(java.awt.event.ActionEvent evt) {
    // Add your handling code here:
    respuesta = true;
    setVisible(false);
    dispose();
    private void btNoActionPerformed(java.awt.event.ActionEvent evt) {
    // Add your handling code here:
    respuesta = false;
    setVisible(false);
    dispose();
    /** Closes the dialog */
    private void closeDialog(java.awt.event.WindowEvent evt) {
    // Add your handling code here:
    * @param args the command line arguments
    public static void main(String args[]) {
    new DialogoYesNo(new java.awt.Frame(), true).show();
    public void setPreguntaUp(String p){       
    lblDialogUp.setVisible(true);
    lblDialogDown.setVisible(true);
    lblDialogCentro.setVisible(false);
    lblDialogUp.setText(p);
    public void setPreguntaDown(String p){
    lblDialogUp.setVisible(true);
    lblDialogDown.setVisible(true);
    lblDialogCentro.setVisible(false);
    lblDialogDown.setText(p);
    public void setPreguntaCentro(String p){
    lblDialogUp.setVisible(false);
    lblDialogDown.setVisible(false);
    lblDialogCentro.setVisible(true);
    lblDialogCentro.setText(p);
    public void centrarPantalla(){
    Dimension d = this.getToolkit().getScreenSize();
    this.setLocation((d.width-getSize().width)/2, (d.height-getSize().height)/2);
    public boolean respDialogo(){
    return respuesta;
    // Variables declaration - do not modify
    private java.awt.Button btNo;
    private java.awt.Label lblDialogCentro;
    private java.awt.Button btYes;
    private java.awt.Label lblDialogUp;
    private java.awt.Label lblDialogDown;
    // End of variables declaration
    private boolean respuesta = false;
    }

    Hello
    This case works fine using following line to execute code after modal dialog:
    new Thread(new Runnable(){ public void run() { netCodeFunction(); }}).start();
    Regards

  • NOOK Simple Touch says "Error Dialog: user not activated" whenever I try to open e-books?

    I have had my Nook Simple Touch for about a year now, and I have been using Adobe Digital Editions without a problem. Now, all of the sudden, Barnes and Noble updated my software and I can't read any of my ADE books!! It just says "Error Dialog: User not activated" every time I click on them. I have looked at many other websites and I have tried plugging my nook in to my computer and reauthorizing it, reauthorizing my computer, deleting the digital editions file and .adobe-digital-editions file, redownloading my books, turning my nook off and on, crying, and screaming. The weird thing is, in all the instructions, it says a pop-up box will come up when I delete the files, but it never does. Is that normal? I always have to do it manually by clicking on the gear. I even made sure I "unhid" all the hidden files. I HAVE DONE EACH OF THESE AT LEAST 5 TIMES AND THEY NEVER WORK!!! HELP ME, PLEASE.
    Also, a lot of the websites say to make sure your Barnes and Noble ADE I.D. is the same as the one on your ADE computer I.D.. Is the B&N ADE I.D. different from just the Barnes and Noble ID? Becasue I have been using my sisters email for my computer ADE and my email for the B&N I.D.. Are they supposed to be the same? If so, how come I was able to use it without a problem before?? I tried reauthorizing ADE with my email, because I also have an ADE account with my email, but then it wouldn't let me redownload my books onto the new account. Does this mean I have to change the ADE computer I.D. and wait until my books are available again to read them? Is that the way to fix it? UGH!
    Help is much appreciated.
    P.S. I have ADE version 2.0

    Just to clarify, there are two levels of Authorization -- one for the ADE software and one for the nook. You have to use your Adobe account to authorize both (and they have to be authorized with the same user name). It sounded like your original problem (Kcoline) was with the Nook authorization, and it was the same problem the rest of us were having.
    To get your files back, I suggest carefully reading over the "Activation and Authorization" section of the ADE help. It appears that ADE will automatically find your files but note the "Note" in quoted text below... 
    http://www.adobe.com/products/digitaleditions/help/
    "After activation, any books, magazines, or other documents you previously bought with Adobe Acrobat® or Reader® software are migrated to Adobe Digital Editions. This is usually a relatively quick process. Adobe Digital Editions opens each item and reverifies its license to the user. If you don't have DRM-protected items, you don't need to be online during the migration. If you have a large number of items (for example, more than 100), then this process may take a while, but you will see a progress bar indicating the state of the migration as it proceeds.
    Note: Items that you previously borrowed from a public library with Adobe Acrobat® or Reader® software are not migrated to Adobe Digital Editions. You need to return the library item and then borrow the item again with Digital Editions."
    If it's not finding your files, it may be because they're located in a folder different from the one that ADE is trying to use to find them.
    You may also want to check the "Transferring items between computers" section, as this describes where the files should be located, and how to reimport them into your library.
    Good luck!

  • Report buildr not opening in Linux

    rwbuilder.sh is not executing in linux
    error message displayed is /bin/reports.sh no such file or directory
    is rwbuilber.sh is the file to run reports in linux Os or is it a different file

    Duplicate post (please post only once):
    EBS forms not opening in Linux client machine
    EBS forms not opening in Linux client machine

  • Why my RMI is not Working in Linux???

    Hiii how ru?
    I am Rahul here
    Well I have a problem that my RMI in not working on Linux.. so can u tell me the solution to my problem???
    When i am typing following command i am getting exception as RmiNotBoundException
    java -Djava.security.policy=my.policy ChaClient&
    however my Server is Starting normally but client is not connection to server.
    so please tell me the solution to this problem
    U can contact me at
    [email protected]
    [email protected]
    Thank u Very much...

    i ran into the same issue dealing with RMI and Linux. My issue was the the stub that linux was giving you gave in the host field the ip number of "127.0.0.1" which tried to make the client connect to itself. this is how i got around it:
    java -Djava.rmi.server.hostname=<ip that other clients will connect to>
    so, for instance, if on a client you connect to the server with an IP of 10.5.0.1, then when starting up the java vm, you start it
    java -Djava.rmi.server.hostname=10.5.0.1
    hopefully that helps

  • Error message on reading device saying error dialog user not activated

    error message on reading device saying     error dialog  user not activated.  unable to open book to read

    I had Adobe upgraded to from 1.2. to 4.1 on my Glow Light Nock at Barnes and Noble yesterday. I use a  MacBook Pro 2011 upgraded to 10.10.1. I have never had a problem download a book from the library to my nook in the past. By the time I get this issue resolved, my 2 week book will be overdue and my book club discussion 1/21. I have been to the genius bar at Apple store--not their problem. Two trips to B&N and
    the tech guy said he could fix the problem on a PC but not a Mac. It is not a Mac or Nook world.

  • Wireless not working in linux, but works fine in windows vista

    Hello!
    I have installed Unbreakable Enterprise Linux 4 in a dual boot config. with Window Vista on a Compaq Presario laptop. After install completed I found that my on board Broadcom Wireless Adapter (Dell 1390 Mini PC card) was not recognized. I have tried installing NDISwrapper versions 1.48 and later 1.47 (after uninstalling 1.48) because everytime I got to the "modprobe ndiswrapper" received a fatal error about an unknown symbol or parameter, and on install I also encountered a "CONFIG_4KSTACKS" error as well. The good part is the light on my laptop for the wireless adapter finally came on and the driver (bcmwl5.inf) appears to be installed and the wireless adapter identified as being present, but it still doesn't show up in the network manager gui interface. So I am out of ideas if any one can give me a suggestion for a solution I would appreciate it.

    Hi there,,,,,
    I have Oracle Enterprise Linux 5 installed and Intel wifi 5100 card installed on my laptop. Wireless card does not work in Linux it works fine with Vista, I have dual boot. I have downloaded and installed the microcode for the wireless card for Linux,,,it is now active but it does not take ip address from dhcp and nor does it connect when i supply manual ip. it does not even scan for any wireless network. I have WEP enabled on my wireless network. It just says disconnected.....
    Please help me.....i have been trying to get this thing work for 3 weeks.
    thanks.

  • Save as PDF and Save PDF as PostScript options in the Printer dialog are not supported.

    I downloaded Indesign CS3 trial and liked everything about it until I attempted to print to postscript and got that message. Nothing I have tried has helped. I have seen in various forums that others are having the same problem, but haven't found any solution offered. I am running Tiger 10.4.10 on a new Intel Imac with 3G ram. This is a procedure I use very often in my workflow, and have never had this problem with CS2 on my PC or other Macs. Is there a solution? I downloaded the .1 update and installed that and it didn't change anything.

    PLEASE SOMEONE HELP ME.
    Its the first time Im using print booklet option to save my file. I have the same problem when trying to save as pdf and get the
    "The Save as PDF and Save PDF as PostScript options in the Printer dialog are not supported."
    I'm trying to save a .pdf of a booklet of a facing pages document of A4 size each facing page for a whole size A3, then hope to let the pages be correctly arranged by inDesing, then print and staple.
    Meaning pages will be like this - Page #60 left side [of the A3] - page #1 right side [of the A3] , page # 2 right side[of the A3] - page #59 left side[of the A3] etc...
    I CANT DO IT. I tried to follow Melvin Thompson , but when I choose save .ps and open it in preview all I see is independent a4 pages and just the left ones , .. How can I save my file as .pdf ready to be printed in a3 ?
    I really appreciate any help.

  • The Save as PDF option in the Printer dialog is not supported.

    My client is asking me to save a separations PDF file. But whenever I save it to PDF, a this message pops out: The Save as PDF option in the Printer dialog is not supported. I'm using InDesign cs5 and Adobe PDF 9.0. I'm on Mac OS X 10.6.6.

    What it says is correct, have a look at this post here.

  • BUG: "Save As" dialog is not showing

    sometimes i have the problem (since CC) that the SAVE AS dialog is not showing.
    the window does not show when i select SAVE AS.
    SAVE works.. but i often want to save a new version without overwriting the old.
    i don´t know why it happens but it seems that BIG files (panoramas or many layers) are affected more often.
    happens 3-5 times a week.
    never had this problem with PS prior to CC.
    my system:
    intel I7 2600K
    16 GB ram
    GTX 770 (latest drivers)
    240 GB SSD (OS windows 7 64 bit)
    120 GB SSD (60GB free for scratch files)
    2 TB harddisk (1 TB free for scratch files)

    Photoshop should not crash even with big files so apparently there is something wrong.
    yeah obviously...
    Have you tried resetting Photoshop's preferences yet? That sometimes cures malfunctions.
    i have resetted the preferences yes.
    photoshop should not crash i agree.... but as you can read here in this forum it does.
    no software is free of bugs.... and i have worked long enough with computers to burry that expectation.

  • File Save Dialog does not show web folders

    Hi.
    My system is SAP ECC 6.0. From custom abap program, I need to be able to navigate to a sharepoint folder and save a file to it. I call METHOD cl_gui_frontend_services=>file_save_dialog for this. I have already mapped/added the SharePoint site (ex. http://abc/xyz/) to My Network Places. However, when I run my program, the File Save Dialog does not show the web folders in the said sharepoint site. Any clue to what I'm missing here? In WiinExplorer, I have no issue navigating/accessing the web folders.
    Thanks in advance.

    project manager
    um, yeah.
    Should not need the project manager simply to see new files added to a directory in a Open/Save dialog window since last opening the app.
    I did a scan, a extended scan, opened all the little turn down arrows of the
    full path to the directory I knew there to be the new files and yes, Logic
    shows them there in the "Project manager".
    BUT Logic still does not show the files in the Open/Save dialog windows.
    This is strange because even simple app like TextEdit can show
    new files in it's Open/Save dialog function windows without the need of
    a project manager.
    I have to quit and re-launch each time to see any new files?

  • Visual Studio 2012 Toolbox - Choose Items Dialog will not display

    Hi
    When i click on a new or exisiting tab in the toolbox and select 'choose items' the dialog box does not display this is either from the main menu or context menu.
    I've reset the toolbox, deleted the .tbd files, run devenv in safemode, reset settings, reset skip packages and nothing.
    The status bar says the dialog box is opening but soon as you focus the ui this status message disappears.
    I also have VS2010 installed and this is working fine
    Anyone any ideas ???

    Hi f4tb0v,
    Thanks for your post.
    If that dialog is not display after you click "choose toolbox Items", Visual Studio on your OS may corrupt.
    Could you please repair VS2012 from control panel?
    By the way, can you run Visual Studio 2012 as administrator, can you see the dialog?
    If the error persists, try gather activity.xml by referring to  http://msdn.microsoft.com/en-us/library/ms241272(v=vs.110).aspx and then share the file
    to www.skydrive.com  Then right click the file to share it, you will be able to get a link for me.
    I also recommend you do a reinstall of VS2012 to see if the issue can be fixed.
    Regards,
    Barry Wang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Webutil not working in linux

    Hi all,
    i have insert image using webutil(oracle forms 10g) to database in windows o.s. it was successful.
    but when i have tried it in solaries o.s. .
    It is not working in linux how to do it in solaries o.s.
    when i am clicking on the browse button it is showing pl/sql error how to solve it.
    please guide me ..

    HI Anderas,
    i am using using a demo form of webutil which is available on internet i.e WEBUTIL_DOCS.fmb
    which is working fine on windows sp2(when i am clicking on the browse button)
    but it is not working on linux when i am clicking on the browse button it is showing pl/sql error.
    code in browse butrton
    Declare
         LC$Fichier Varchar2(128 ) ;
    Begin
    LC$Fichier := PKG_FICHIERS.Selection ;
    If LC$Fichier is not null Then
    :TRANSFERTS.FIC_SOURCE := LC$Fichier ;
    End if ;
    End ;
    and the package is
    package specification
    ==================
    PACKAGE PKG_FICHIERS IS
    -- Sélection d'un fichier --
    FUNCTION Selection ( PC$Filtre IN Varchar2 DEFAULT '|All files|*.*|' ) RETURN VARCHAR2 ;
    END;
    package body
    =============
    PACKAGE BODY PKG_FICHIERS IS
    -- Sélection d'un fichier --
    FUNCTION Selection ( PC$Filtre IN Varchar2 DEFAULT '|All files|*.*|' )RETURN VARCHAR2
    IS
    LC$Path Varchar2(128) ;
    LC$Fichier Varchar2(256) ;
    LC$Filtre          Varchar2(100) := PC$Filtre ;
    Begin
         -- Répertoire temporaire --
         LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory ;
    LC$Fichier := WEBUTIL_FILE.FILE_OPEN_DIALOG
         LC$Path,
         LC$Filtre,
         'Select a file to upload'
    Return LC$Fichier ;
    END Selection ;
    END;
    please reply..

  • KeyListener not working in Linux

    Hello guys, I'm having a weird problem I was hoping I could get resolved.
    I finished a Pong applet for my Java class, and it works just fine under Windows and on my Mac.
    But when I run it under Linux, the Applet doesn't work correctly.
    The applet draws, and my timer works, but my KeyListener does not work.
    I believe all of my Java files are updated properly.
    But I do not understand why KeyListener does not work under Linux, but it does in Windows.
    I then made a very basic applet just to test my KeyListener, and it still does not work.
    This is how I was taught to do KeyListeners, but if I'm doing something wrong, please help me out!
    here is the basic program code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test extends JApplet implements KeyListener
    int x = 0;
    int y = 250;
    public void init()
    addKeyListener(this);
    public void paint(Graphics g)
    g.setColor(Color.white);
    g.fillRect(0,0,500,500);
    g.setColor(Color.black);
    g.fillRect(x,y,50,50);
    public void keyPressed(KeyEvent event)
    int keyCode = event.getKeyCode();
    if(keyCode == KeyEvent.VK_RIGHT)
    x += 10;
    public void keyReleased(KeyEvent event)
    public void keyTyped(KeyEvent event)

    What if don't use a KeyListener but instead use key binding? For instance,
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    @SuppressWarnings("serial")
    public class Test2 extends JPanel {
      private static final int DELTA_X = 10;
      private static final int DELTA_Y = DELTA_X;
      private static final Dimension MAIN_SIZE = new Dimension(600, 600);
      enum Arrows {
        LEFT(KeyEvent.VK_LEFT, -DELTA_X, 0),
        RIGHT(KeyEvent.VK_RIGHT, DELTA_X, 0),
        UP(KeyEvent.VK_UP, 0, -DELTA_Y),
        DOWN(KeyEvent.VK_DOWN, 0, DELTA_Y);
        private int keyCode;
        private int deltaX, deltaY;
        private Arrows(int keyCode, int deltaX, int deltaY) {
          this.keyCode = keyCode;
          this.deltaX = deltaX;
          this.deltaY = deltaY;
        public int getDeltaX() {
          return deltaX;
        public int getDeltaY() {
          return deltaY;
        public int getKeyCode() {
          return keyCode;
      int x = 0;
      int y = 250;
      public Test2() {
        setBackground(Color.white);
        setPreferredSize(MAIN_SIZE);
        InputMap inMap = getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
        ActionMap actMap = getActionMap();
        for (Arrows arrow : Arrows.values()) {
          inMap.put(KeyStroke.getKeyStroke(arrow.getKeyCode(), 0), arrow);
          actMap.put(arrow, new MyAction(arrow));
      private class MyAction extends AbstractAction {
        private Arrows arrow;
        public MyAction(Arrows arrow) {
          this.arrow = arrow;
        public void actionPerformed(ActionEvent e) {
          x += arrow.getDeltaX();
          y += arrow.getDeltaY();
          repaint();
      @Override
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        g.setColor(Color.black);
        g.fillRect(x, y, 50, 50);
    import javax.swing.JApplet;
    @SuppressWarnings("serial")
    public class TestApplet extends JApplet {
      public void init() {
        try {
          javax.swing.SwingUtilities.invokeAndWait(new Runnable() {
            public void run() {
              createGUI();
        } catch (Exception e) {
          System.err.println("createGUI didn't successfully complete");
      private void createGUI() {
        getContentPane().add(new Test2());
    }

  • Print Dialog does NOT reset to defaults

    ON my iMac in OSX 10.9.4, when you go to print the previous settings for number of copies to print are retained instead of resetting to 1. Therefore, if people are not watching this, extra copies get printed until you realize what is going on. Is there a way to reset the defaults and make them stick.

    Yes, I discovered that somehow a preference got corrupt and by deleting apple.print prefs in the User Library, I was able to get the Print dialog to NOT stick on settings. Thanks for that tip

Maybe you are looking for

  • Help I can't download my music back from the cloud to my new 5s!!

    I've just upgraded from an iPhone 4 to a 5s. After backing up and restoring my data via iTunes to my new phone my music has been sent to the cloud. After downloading a couple of albums, it now says it can't download anymore at this time!! HELP All my

  • XI installed something wrong?

    on component monitoring in RWB, adapter engine is shown on the decentral adapter. but i do not know why adapter engine is located in decentral adapter. and there is no thing in integration server. is there a good solution to fix it correctly? when i

  • Jgroups commons logging class cast exception

    I have an EAR which uses Hibernate for persistence. Hibernate is configured to use JBoss Tree Cache. JBoss Tree Cache uses JGroups, which in turn uses commons logging. I have all required JARs in my EAR. When my own code uses commons logging, no prob

  • CS3 & CS4 Illustrator crash ever time I try to print to HP Photosmart C3100 printer, why ?

    MacBook Pro with Mountain Lion, 10.8.2. Can't print from Adobe Illustrator CS3 or CS4. Crashes evertime. I tried uninstalling and reinstalling the printer. An HP 3100 series. Any suggestions ?

  • Adding hyperlinks to a batch of PDFs

    Hi, I have a directory full of PDF files and need to add a link to the top of at least the first page of each file (every page might be better) to acknowledge and link back the source of the files. That is, I need a link saying "File supplied by Blah