KeyEvent calling JDialog box flickers

On a JFrame I have a button with an ActionPerformed() method. On pressing the button a dialog box pops up on the screen as it is meant to do. This functionality is also needed to be assigned to the 'F1' key as well. In the same class I have a keyReleased() method that listens when the F1 key is pressed. For the VK_F1 KeyEvent I have put the same lines of code that I put in the ActionPerformed() method of the button. When F1 is pressed, the JDialog appears but it flickers for the first few seconds which is annoying. Does any one know why the JDialog box flickers and how to solve this.

has any one got any sugguestions how to solve a flickering JDialog box in general???

Similar Messages

  • JDialog boxes

    Hi,
    Just a bit curious whats the best way to creat a JDialog box?
    I currently have have one main panel, with one button. When the user clicks this button, it brind up the dialog box. I dont think i have done this correctly, as when the dialog box populates, when I move it around on the screen, it erases the contents off the panel that called the dialog (erases the contents when i move the dialog accross the screen.
    Can any one help me set out the correct constructors for the DIalog and the panel calling it?
    thanks in advance
    public public class PanelA extends JPanel {
    public class Dialoig Box extends JDialog {
    public class GUI {
    public () {
    //code here to add a jbutton to panelA
    //code here to add PanelA to the frame
    //inner class here . Action listener for the button
    class CheckButtonActionListener
    implements ActionListener {
    public void actionPerformed(ActionEvent event) {
    //Main method here
    Main frame = new Main();

    import javax.swing.*;
    public class Main extends javax.swing.JFrame {
        public Main() {
            initComponents();
        private void initComponents() {
            jPanel1 = new javax.swing.JPanel();
            jButton1 = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            setTitle("Test Dialog Box");
            jButton1.setText("jButton1");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            jPanel1.add(jButton1);
            getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
            setBounds((screenSize.width-401)/2, (screenSize.height-411)/2, 401, 411);
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            JDialog dialog = new DialogBox(this,true);
            dialog.setVisible(true);
        public static void main(String args[]) {
            new Main().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JPanel jPanel1;
        // End of variables declaration
        public class DialogBox extends javax.swing.JDialog {
            public DialogBox(java.awt.Frame parent, boolean modal) {
                super(parent, modal);
                initComponents();
            private void initComponents() {
                jPanel1 = new javax.swing.JPanel();
                jButton1 = new javax.swing.JButton();
                setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
                setTitle("Dialog Box");
                jButton1.setText("jButton1");
                jButton1.addActionListener(new java.awt.event.ActionListener() {
                    public void actionPerformed(java.awt.event.ActionEvent evt) {
                        jButtonActionPerformed(evt);
                jPanel1.add(jButton1);
                getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
                java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
                setBounds((screenSize.width-237)/2, (screenSize.height-191)/2, 237, 191);
            private void jButtonActionPerformed(java.awt.event.ActionEvent evt) {
                setVisible(false);
                dispose();
            private javax.swing.JButton jButton1;
            private javax.swing.JPanel jPanel1;
    }

  • How do I change the text color in a call out box?

    How do I change the text color in a call out box?

    See http://help.adobe.com/en_US/acrobat/X/standard/using/WS58a04a822e3e50102bd615109794195ff-7 e5a.w.html
    Also http://helpx.adobe.com/acrobat/kb/unable-edit-properties-text-box.html

  • I want to change the size and color of text in call out boxes and text boxes. How can I do this? Jack

    I want to change the size and color of text in call out boxes and text boxes. How can I do this? Jack

    Highlite the text inside the text box and then press Ctrl+E.

  • Help needed: Creating web link in JDialog Box

    I'm in need of this urgently, any help would be much appreciated. I'm currently display some information in a JDialog box when an item is clicked in a JApplet.
    I need to display a weblink within the dialog box.
    Thanks anyone

    I am using JDeveloper 10.1.3.3.0. Thanks Heaps

  • How do I set the font size in a call out (box) tool

    How do I set the font size in a call out (box) tool ?

    Good Morning Mr. Alheit,
    Thanks for this bit of apparently obscure knowledge...  <<ctrl +e>>
      - I'll bet there is more user functions in  Adobe Acrobat 9 that I'm not
    aware of, too...
      - What reference source do your use?
    M/G

  • Using Symbols in a Call-out Box or Text Box

    Our engineers need to type in special symbols like degree, plus minus, empty set, etc. into a Call-out Box, Text Box, etc. when they are marking up a technical drawing.  Is there an easy way to do this?  Thanks for your help.

    That's what I tried initially.  However, when I try that in the Call-Out, it doesn't work - it gives me an error tone and does not type anything.  I've used both the numberpad keys and the number keys along the top, if that makes a difference.  Let me know if you can get it to work in the Call-Out - I could be doine something wrong!

  • Focus on JTextfield in JDialog box

    A JDialog box is being opened from a menu.
    There is only one JTextfield on the dialog box and 2 buttons.
    The focus is not on any of the components in the dialog box and I want it on the textfield by default.
    I have tried all the requestFocus(),requestDefaultFocus(),grabfocus() etc and none of them work.
    There is an eventListener added to the JTextfield could this be the problem.

    I am a little supprised that the focus is not given to the text field if that is the only thing on the dialog.
    You could try detecting the display of the dialog and then giving the focus to the text field. Focus will not be given to a component if the component cant be displayed at that time. My guess is that the dialog is still hidden when you are trying to set the focus and that is what is causing the problem.

  • Can we translate in captivate 7? I Have tried and changed the Caption and Notes. Can we change the on screen text of te normal slides, interactive call out boxes, screen recording slides and quizzes? If yes, please let me know the process.

    Can we translate in captivate 7? I Have tried and changed the Caption and Notes. Can we change the on screen text of te normal slides, interactive call out boxes, screen recording slides and quizzes? If yes, please let me know the process.

    Of course! Here ya go
    For the record, I did create a new project with only two slides to try and duplicate the issue. I had the same problem. I unchecked the Mouse Click Sound check box, republished and the slide auto advanced. I'm wondering if a default sound file was somehow moved or deleted? I discussed uninstalling and reinstalling C7 onto my laptop, but that's a frustrating solution haha

  • Problem with JDialog box

    Hi Guys,
    I have a problem with the JDialog box. The close button (Cross mark of the box) is not displayed when I was trying to use my custom LookAndFeel and Custom theme. I am pasting the code sample here.
    import java.awt.Color;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.Icon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.LookAndFeel;
    import javax.swing.SwingUtilities;
    import javax.swing.UIDefaults;
    import javax.swing.UIManager;
    import javax.swing.plaf.ColorUIResource;
    import com.jgoodies.looks.plastic.Plastic3DLookAndFeel;
    import com.jgoodies.looks.plastic.PlasticTheme;
    import com.medplexus.looks.plastic.theme.SkyGreen;
    public class TestTheDialog implements ActionListener {
    JFrame mainFrame = null;
    JButton myButton = null;
    public TestTheDialog() {
    mainFrame = new JFrame("TestTheDialog Tester");
    mainFrame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {System.exit(0);}
    try{
         MyLookAndFeel.setCurrentTheme(new CustomLaF());
         UIManager.setLookAndFeel(new MyLookAndFeel());
         SwingUtilities.updateComponentTreeUI(mainFrame);
         CustomDialog cd = new CustomDialog();
         cd.setDefaultLookAndFeelDecorated(true);
    catch(Exception e){
    myButton = new JButton("Test the dialog!");
    myButton.addActionListener(this);
    mainFrame.setLocationRelativeTo(null);
    mainFrame.getContentPane().add(myButton);
    mainFrame.setSize(200, 150);
    //mainFrame.pack();
    mainFrame.setVisible(true);
    public void actionPerformed(ActionEvent e) {
    if(myButton == e.getSource()) {
    System.err.println("Opening dialog.");
    CustomDialog myDialog = new CustomDialog(mainFrame, true, "Do you like Java?");
    System.err.println("After opening dialog.");
    if(myDialog.getAnswer()) {
    System.err.println("The answer stored in CustomDialog is 'true' (i.e. user clicked yes button.)");
    else {
    System.err.println("The answer stored in CustomDialog is 'false' (i.e. user clicked no button.)");
    static class CustomLaF extends PlasticTheme {
    protected ColorUIResource getPrimary1() {
    return new ColorUIResource(255,128,0);
    public ColorUIResource getPrimary2() {
              return (new ColorUIResource(Color.white));
         public ColorUIResource getPrimary3() {
              return (new ColorUIResource(255,128,0));
    public ColorUIResource getPrimaryControl() {
    return new ColorUIResource(Color.GREEN);
    protected ColorUIResource getSecondary1() {
    return new ColorUIResource(Color.CYAN);
    protected ColorUIResource getSecondary2() {
              return (new ColorUIResource(Color.gray));
         protected ColorUIResource getSecondary3() {
              return (new ColorUIResource(235,235,235));
         protected ColorUIResource getBlack() {
              return BLACK;
         protected ColorUIResource getWhite() {
              return WHITE;
         private Object getIconResource(String s) {
    return LookAndFeel.makeIcon(getClass(), s);
    private Icon getHastenedIcon(String s, UIDefaults uidefaults) {
    Object obj = getIconResource(s);
    return (Icon) ((javax.swing.UIDefaults.LazyValue) obj).createValue(uidefaults);
    static class MyLookAndFeel extends Plastic3DLookAndFeel {
              protected void initClassDefaults(UIDefaults table) {
                   super.initClassDefaults(table);
              protected void initComponentDefaults(UIDefaults table) {
                   super.initComponentDefaults(table);
                   Object[] defaults = {
                             "MenuItem.foreground",new ColorUIResource(Color.white),
                             "MenuItem.background",new ColorUIResource(Color.gray),
                             "MenuItem.selectionForeground",new ColorUIResource(Color.gray),
                             "MenuItem.selectionBackground",new ColorUIResource(Color.white),
                             "Menu.selectionForeground", new ColorUIResource(Color.white),
                             "Menu.selectionBackground", new ColorUIResource(Color.gray),
                             "MenuBar.background", new ColorUIResource(235,235,235),
                             "Menu.background", new ColorUIResource(235,235,235),
                             "Desktop.background",new ColorUIResource(235,235,235),
                             "Button.select",new ColorUIResource(255,128,0),
                             "Button.focus",new ColorUIResource(255,128,0),
                             "TableHeader.background", new ColorUIResource(255,128,0),
                             "TableHeader.foreground", new ColorUIResource(Color.white),
                             "ScrollBar.background", new ColorUIResource(235,235,235),
                             "OptionPane.questionDialog.border.background", new ColorUIResource(Color.gray),
                             "OptionPane.errorDialog.titlePane.foreground", new ColorUIResource(Color.white),
                             "OptionPane.questionDialog.titlePane.background", new ColorUIResource(255,128,0),
                             "InternalFrame.borderColor", new ColorUIResource(Color.gray),
                             "InternalFrame.activeTitleForeground", new ColorUIResource(Color.white),
                             "InternalFrame.activeTitleBackground", new ColorUIResource(Color.gray),
                             "InternalFrame.borderColor", new ColorUIResource(Color.white),
                             "Table.selectionBackground",new ColorUIResource(255,128,0)
                   table.putDefaults(defaults);
    public static void main(String argv[]) {
    TestTheDialog tester = new TestTheDialog();
    package CustomThemes;
    import javax.swing.JDialog;
    import java.awt.event.ActionListener;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JButton;
    import java.awt.event.ActionEvent;
    public class CustomDialog extends JDialog implements ActionListener {
    private JPanel myPanel = null;
    private JButton yesButton = null;
    private JButton noButton = null;
    private boolean answer = false;
    public boolean getAnswer() { return answer; }
    public CustomDialog(){
    public CustomDialog(JFrame frame, boolean modal, String myMessage) {
    super(frame, modal);
    setTitle("Guess?");
    myPanel = new JPanel();
    getContentPane().add(myPanel);
    myPanel.add(new JLabel(myMessage));
    yesButton = new JButton("Yes");
    yesButton.addActionListener(this);
    myPanel.add(yesButton);
    noButton = new JButton("No");
    noButton.addActionListener(this);
    myPanel.add(noButton);
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    pack();
    setLocationRelativeTo(frame);
    setVisible(true);
    public void actionPerformed(ActionEvent e) {
    if(yesButton == e.getSource()) {
    System.err.println("User chose yes.");
    answer = true;
    setVisible(false);
    else if(noButton == e.getSource()) {
    System.err.println("User chose no.");
    answer = false;
    setVisible(false);
    Thanks and Regards
    Kumar.

    Hi All,
    I am using the JGoodies Look and feel (looks2.0.1.jar). I wrote my own custom LookAndFeel and Theme , but the problem with this is the JDialog/JOptionPane dialog boxes are displayed with out the close button (cross button on the titlebar).
    I am pasting the code here.
    import java.awt.Color;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.Icon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.LookAndFeel;
    import javax.swing.SwingUtilities;
    import javax.swing.UIDefaults;
    import javax.swing.UIManager;
    import javax.swing.plaf.ColorUIResource;
    import com.jgoodies.looks.plastic.Plastic3DLookAndFeel;
    import com.jgoodies.looks.plastic.PlasticTheme;
    import com.medplexus.looks.plastic.theme.SkyGreen;
    public class TestTheDialog implements ActionListener {
        JFrame mainFrame = null;
        JButton myButton = null;
        public TestTheDialog() {
            mainFrame = new JFrame("TestTheDialog Tester");
            mainFrame.addWindowListener(new WindowAdapter() {
                    public void windowClosing(WindowEvent e) {System.exit(0);}
            try{
                 MyLookAndFeel.setCurrentTheme(new CustomLaF());
                 UIManager.setLookAndFeel(new MyLookAndFeel());
                 //Plastic3DLookAndFeel.setCurrentTheme(new SkyGreen());
                 //UIManager.setLookAndFeel(new Plastic3DLookAndFeel());
                 SwingUtilities.updateComponentTreeUI(mainFrame);
                 CustomDialog cd = new CustomDialog();
                 cd.setDefaultLookAndFeelDecorated(true);
            catch(Exception e){
            myButton = new JButton("Test the dialog!");
            myButton.addActionListener(this);
            mainFrame.setLocationRelativeTo(null);
            mainFrame.getContentPane().add(myButton);
            mainFrame.setSize(200, 150);
            //mainFrame.pack();
            mainFrame.setVisible(true);
        public void actionPerformed(ActionEvent e) {
            if(myButton == e.getSource()) {
                System.err.println("Opening dialog.");
                CustomDialog myDialog = new CustomDialog(mainFrame, true, "Do you like Java?");
                System.err.println("After opening dialog.");
                if(myDialog.getAnswer()) {
                    System.err.println("The answer stored in CustomDialog is 'true' (i.e. user clicked yes button.)");
                else {
                    System.err.println("The answer stored in CustomDialog is 'false' (i.e. user clicked no button.)");
        static class CustomLaF extends PlasticTheme {
            protected ColorUIResource getPrimary1() {
              return new ColorUIResource(255,128,0);
            public ColorUIResource getPrimary2() {
                  return (new ColorUIResource(Color.white));
             public ColorUIResource getPrimary3() {
                  return (new ColorUIResource(255,128,0));
            public ColorUIResource getPrimaryControl() {
              return new ColorUIResource(Color.GREEN);
            protected ColorUIResource getSecondary1() {
              return new ColorUIResource(Color.CYAN);
            protected ColorUIResource getSecondary2() {
                  return (new ColorUIResource(Color.gray));
             protected ColorUIResource getSecondary3() {
                  return (new ColorUIResource(235,235,235));
             protected ColorUIResource getBlack() {
                  return BLACK;
             protected ColorUIResource getWhite() {
                  return WHITE;
             private Object getIconResource(String s) {
                return LookAndFeel.makeIcon(getClass(), s);
            private Icon getHastenedIcon(String s, UIDefaults uidefaults) {
                Object obj = getIconResource(s);
                return (Icon) ((javax.swing.UIDefaults.LazyValue) obj).createValue(uidefaults);
          static class MyLookAndFeel extends Plastic3DLookAndFeel {
                  protected void initClassDefaults(UIDefaults table) {
                       super.initClassDefaults(table);
                  protected void initComponentDefaults(UIDefaults table) {
                       super.initComponentDefaults(table);
                       Object[] defaults = {
                                 "MenuItem.foreground",new ColorUIResource(Color.white),
                                 "MenuItem.background",new ColorUIResource(Color.gray),
                                 "MenuItem.selectionForeground",new ColorUIResource(Color.gray),
                                 "MenuItem.selectionBackground",new ColorUIResource(Color.white),
                                 "Menu.selectionForeground", new ColorUIResource(Color.white),
                                 "Menu.selectionBackground", new ColorUIResource(Color.gray),
                                 "MenuBar.background", new ColorUIResource(235,235,235),
                                 "Menu.background", new ColorUIResource(235,235,235),
                                 "Desktop.background",new ColorUIResource(235,235,235),
                                 "Button.select",new ColorUIResource(255,128,0),
                                 "Button.focus",new ColorUIResource(255,128,0),
                                 "TableHeader.background", new ColorUIResource(255,128,0),
                                 "TableHeader.foreground", new ColorUIResource(Color.white),
                                 "ScrollBar.background",  new ColorUIResource(235,235,235),
                                 "OptionPane.questionDialog.border.background", new ColorUIResource(Color.gray),
                                 "OptionPane.errorDialog.titlePane.foreground", new ColorUIResource(Color.white),
                                 "OptionPane.questionDialog.titlePane.background", new ColorUIResource(255,128,0),
                                 "InternalFrame.borderColor", new ColorUIResource(Color.gray),
                                 "InternalFrame.activeTitleForeground", new ColorUIResource(Color.white),
                                 "InternalFrame.activeTitleBackground", new ColorUIResource(Color.gray),
                                 "InternalFrame.borderColor", new ColorUIResource(Color.white),
                                 "Table.selectionBackground",new ColorUIResource(255,128,0)
                       table.putDefaults(defaults);
        public static void main(String argv[]) {
            TestTheDialog tester = new TestTheDialog();
    import javax.swing.JDialog;
    import java.awt.event.ActionListener;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JButton;
    import java.awt.event.ActionEvent;
    public class CustomDialog extends JDialog implements ActionListener {
        private JPanel myPanel = null;
        private JButton yesButton = null;
        private JButton noButton = null;
        private boolean answer = false;
        public boolean getAnswer() { return answer; }
        public CustomDialog(){
        public CustomDialog(JFrame frame, boolean modal, String myMessage) {
            super(frame, modal);
            setTitle("Guess?");
            myPanel = new JPanel();
            getContentPane().add(myPanel);
            myPanel.add(new JLabel(myMessage));
            yesButton = new JButton("Yes");
            yesButton.addActionListener(this);
            myPanel.add(yesButton);       
            noButton = new JButton("No");
            noButton.addActionListener(this);
            myPanel.add(noButton);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            pack();
            setLocationRelativeTo(frame);
            setVisible(true);
        public void actionPerformed(ActionEvent e) {
            if(yesButton == e.getSource()) {
                System.err.println("User chose yes.");
                answer = true;
                setVisible(false);
            else if(noButton == e.getSource()) {
                System.err.println("User chose no.");
                answer = false;
                setVisible(false);
    }Thanks and Regards
    Kumar.

  • Series of JDialog boxes

    Hi everyone,
    While installing any software we usually come across a series of dialog boxes with 'Back'
    and 'Next' buttons; I have to do something similar in our project. I am generating a series of dialog boxes without any problem using JDialog in Swing. But the problem is
    When the user enters some values in first dialog box and clicks 'Next' button and goes to the
    second dialog box and then comes back to the first dialog box using the 'Back' button in the second dialog box, I have to display the first dialog box with those values which the user entered previously so that he need not enter them again. How to do this?
    Thanks in advance. (I actually did it successfully by using event handling, but is there a better way of doing it like writing the values entered by the user into some text file and then retrieving them from the text file while displaying the dialog box?)

    Here's one way. Your dialog class should implement an interface such as
    public interface InputPage
    public void takeState (Hashtable ht);
    public void giveState (Hashtable ht);
    A "director" class maintains the sequence of InputPage implementations
    and listens for "next" and "back" events. When a page comes into view,
    that director invokes takeState(); and when a page goes out of view, the
    director invokes giveState(). In this way, the pages propogate the data
    back and forth.

  • Displaying JDialog box in front of all windows

    Hi guys,
    I am trying to display a Dialog box with some error message.
    I did it using the following code
    import java.awt.*;
    import javax.swing.*;
    public class JDialog_test {
         public static void main(String args[])
              Frame oframe=new Frame("JDialog Error Message");
              JDialog odialog=new JDialog(oframe,"Praveen",true);
              odialog.setModal(true);
              System.out.println("the modal is set as "+odialog.isModal());
              //odialog.setAlwaysOnTop(true);
              odialog.setVisible(true);
              System.out.println("In displayable is set as "+odialog.isDisplayable());
              odialog.toFront();
    When i run the above code, a dialog box is created successfully.
    But the problem is the dialog box is not displayed in front of all screens.
    Also the dialog box disappears when i open another window.
    Now what i require is???
    ->the dialog box should be displayed on top of all the windows
    ->as long as the dialog box is not closed , i should not be able to access other windows
    Please don put the setModal() method as solution, it isnt working.
    Also i want the solution to be compatible with only java 1.4 compiler.
    Please get back with solutions.

    import java.awt.Dimension;
    import javax.swing.*;
    public class JDialog_test {
         public static void main(String args[])
              JFrame jframe=new JFrame("JFrame");
              jframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              jframe.setVisible(true);
              jframe.setSize(new Dimension(200,300));
              JDialog jdialog=new JDialog(jframe,"JDialog",true);
              jdialog.setModal(true);
              jdialog.setSize(new Dimension(100,200));
              jframe.setVisible(true);
              jdialog.setAlwaysOnTop(true); //<-- here's the trick..
              jdialog.setModal(true);
              jdialog.setVisible(true);
              jdialog.toFront();
    }

  • Calling Msg-Box on condition with jQuery/Javascript

    Hello experts! I am stuck with my development as I don't know how to write the jQuery code.
    I want to call a message box (in fact an invisble DIV) when the value of my page item "P2008_MX_MODE" equals one.
    I have the following code for the message box but do not know how to add the conditional display when my page loads.
    Can you please help me on this?
    <script type="text/javascript">
    $(function()
    {$("#dialog").dialog({
                   autoOpen: false,
                            bgiframe: true,
                   modal: true,
                   buttons:
    {Schliessen: function(){$(this).dialog('close'); }}
         </script>
    <div id="dialog" title="Attention!">
    <p>
    <span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 30px 0;"></span>According to the official guidelines the evaluation for this area needs to be carried out manually!</p>
    </div>I appreciate any help and effort!
    Regards,
    Seb

    Hello Jari!
    I set it with a query!
    I am currently experimenting with a process after page load that is supposed to call the message box when cnumber is <> 0. It's basically the same as my page item P2008_MX_MODE.
    Nevertheless, my procedure is not working yet. Don't know how to call the jQuery function if my condition is true!
    declare
    cnumber number;
    begin
    Select distinct count(*) into cnumber from vt_punktdaten_join where STR_LRT_MAIN in ('9133','9132','9134','9181','9182','9183','9184','9185','91E3','91E4','91E5','91E6','91E7','91E8','91E9','9411','9412','9413','9414','9415','9416','9170') and cnt_gebiet = :p2008_cnt_GEBIET
    and int_status_sub = 3 and (str_lrt_main = :p2008_str_lrt) and (INT_BE_MAIN) = :p2008_BE;
    If cnumber != 0 then
    javascript:$('#dialog').dialog('open');
    End if;
    end;If you have an idea, please let me know!
    Thanks so far!
    Seb

  • IOS 7 End Call Huge Box hits cheek and hangs up!

    The big Red End Call Box in IOS7 is to big and in a bad spot. When I put the phone up to my cheek, the button get hit and hangs up the phone, It's happen numerious times to me.
    Why can't it be smaller and in a different location?

    I'm afraid I don't understand your reply, AdeetyaVerma. Did you, perchance, mean to type: "Just dial RIGHT"? Either way, your reply makes no sense, nor does it provide any perceivable benefit. Nonetheless, I'm glad that it worked for YOU ;-)
    In the interim, however, I've discovered what may turn out to be a solution for this problem. For some reason, iOS7 has rendered the proximity sensor ineffective... or at least LESS effective. While searching for others with similar concerns, I came across a 33 minute video dissertation on the subject. It went into great detail on how to completely disassemble the iPhone 4 to fix the problem. It seems that too much light bleeds into the sensor, thereby negating its ability to properly detect that the phone is held up to the user's face. Apparently this has always been a problem with the iPhone 4, but one that was made more evident with the release of iOS7.
    As an alternate, and much less invasive solution, I simply changed my screensaver to a much darker one. This effectively reduces the light being created by the screen and thereby bleeding into the sensor. So far, this seems to work. I'll reply back, if it does not help over the long term.

  • What do you call the box in Dreamweaver???

    Hello, years ago, I remeber a function in Dreamweaver that allowed you to create a hidden text box, layer, or something to that effect, that if you were to run your mouse over certain text, images, etc., that DW could make it show.  Doeaanyone know what this is and how to create it?

    It used to be called Show-Hide Layers. It's now called Show-Hide Elements. See http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7af 6a.html.

Maybe you are looking for