Accelerator key - is this a bug in Swing?

Hello to everyone.
I've written this Swing app which has JMenu.
Anyway, i have set accelerator keys on most of JMenuItems but here is what is not working:
JMenuItem exPaperXML = new JMenuItem("Paper XML");
exPaperXML.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F10, 0));As you can see, I tried to set F10 to be accelerator key for this JMenuItem.
It doesn't work. It doesn't fire exPaperXML.actionPerformed(..) event, but
instead it highlights File JMenuItem (which doesn't have accelerator key set at all).
For example, I have set F9 as accelerator key for another JMenuItem and it works fine.
What do you think, is this a bug in Swing?
My JDK version is 1.4.2_05
Thanks!

1) Read the JMenuBar API.
2) Click on the "JMenuBar Key Assignments" link
3) Click on "Key Java"
4) Note how F10 is used to select the first item.camickr thank you for quick reply.
Is there a way to override this default action?
Thanks.

Similar Messages

  • Is this a bug in Swing?

    If anyone could provide help on this ASAP it would be greatly appreciated. I was hoping to use my Swing application in an experiment on Tuesday morning, but I seem to have run into a bug in Swing. I'm hoping I have made a mistake or there is some workaround. Here is a minimal program that demonstrates the apparent bug:
    [http://gist.github.com/113083|http://gist.github.com/113083]
    The bug is this:
    I have a Swing container (in the demo program the contentPane) and I have a list of Swing components (some JLabels in the demo).
    At first the container is showing the first component in my list of components. When I press the JButton "next" the first component is removed from the container, the second component is added to the container, and the container is refreshed (calling validate() and then doLayout() is enough).
    When I press next again the third component is put onto the container. So far so good.
    Now press next again and it cycles back to the first component, which is put onto the container. But the GUI does not refresh, it continues to show the previous component.
    From now on whenever you press Next it will not refresh.
    Resizing or minimising then maximising the window will cause it to refresh to the component that it should be showing.
    The pattern seems to be this: if a component that has previously been shown in a container (but is no longer in it) is placed back into that same container then refreshing the GUI fails.
    Edited by: tchomby on May 17, 2009 11:33 AM

    I wasn't assuming this was a bug in Swing, I was asking whether it was. I had used validate, doLayout etc. to dynamically change a Swing GUI before, and so thought that was how it was done. After constructing a minimal demo it appeared to me that there was something wrong. Yes I am a swing newbie.
    There are so many refresh methods, validate, revalidate, doLayout, repaint, pack, it's pretty confusing. I think that because the new component I was putting in place had exactly the same shape and size as the one it was replacing, then perhaps any calls to the various methods that redo the layout if necessary would have no effect. repaint() does sound like it would have been the right thing. That might explain why calling pack after removing the component, when the container is empty, and then calling it again after adding the component seemed to work.
    Anyway, CardLayout works in my demo, I will use it. Thanks :)
    Edited by: tchomby on May 17, 2009 12:03 PM

  • Is this a bug in Swing in JDK1.6/JDK1.7 but not in JDK1.5?

    I have an application for which GUI was developed in Java Swing JDK1.5.I am planning to upgrade the JDK to JDK1.6 but doing so produces problem for me.
    Problem Statement : If I open few dialogs(say 10) and dispose them and than call method 'getOwnedWindows()' , it returns 0 in JDK1.5 but returns 10 in JDK1.6. As in JDK1.6 it returns 10, my algorithm to set focus is not working correctly as it is able to find invlaid/disposed dialogs and try to set the focus on it but not on the correct and valid dialog or component because algorithm uses getOwnedWindows() to get the valid and currently open dialog.
    Can anyone suggest me the workaround to avoid this problem in JDK1.6?
    Following piece of code can demonstrate the problem.
    Custom Dialog Class :
    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(JFrame frame, boolean modal, String myMessage) {
         super(frame, modal);
         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);     
         pack();
         setLocationRelativeTo(frame);
         setVisible(true);
         //System.out.println("Constrtuctor ends");
        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);
        public void customFinalize() {
             try {
                   finalize();
              } catch (Throwable e) {
                   e.printStackTrace();
    }Main Class:
    import java.awt.event.ActionListener;
    import javax.swing.JFrame;
    import javax.swing.JButton;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionEvent;
    import java.awt.FlowLayout;
    import java.awt.Window;
    public class TestTheDialog implements ActionListener {
        JFrame mainFrame = null;
        JButton myButton = null;
        JButton myButton_2 = null;
        public TestTheDialog() {
            mainFrame = new JFrame("TestTheDialog Tester");
            mainFrame.addWindowListener(new WindowAdapter() {
                    public void windowClosing(WindowEvent e) {System.exit(0);}
            myButton = new JButton("Test the dialog!");
            myButton_2 = new JButton("Print no. of owned Windows");
            myButton.addActionListener(this);
            myButton_2.addActionListener(this);
            mainFrame.setLocationRelativeTo(null);
            FlowLayout flayout = new FlowLayout();
            mainFrame.setLayout(flayout);
            mainFrame.getContentPane().add(myButton);
            mainFrame.getContentPane().add(myButton_2);
            mainFrame.pack();
            mainFrame.setVisible(true);
        public void actionPerformed(ActionEvent e) {
            if(myButton == e.getSource()) {
                   System.out.println("getOwnedWindows 1 " + mainFrame.getOwnedWindows().length);
                 createMultipleDialogs();
                int i = 0;
                   for (Window singleWindow : mainFrame.getOwnedWindows()) {
                        System.out.println("getOwnedWindows " + i++ + " "
                                  + singleWindow.isShowing() + " "
                                  + singleWindow.isVisible() + " " + singleWindow);
                   System.out.println("getOwnedWindows 2 " + mainFrame.getOwnedWindows().length);
                //System.gc();
                   System.out.println("getOwnedWindows 3 " + mainFrame.getOwnedWindows().length);
                //System.gc();
                   System.out.println("getOwnedWindows 4 " + mainFrame.getOwnedWindows().length);
            } else if (myButton_2 == e.getSource()) {
                   System.out.println("getOwnedWindows now: " + mainFrame.getOwnedWindows().length);
         public void createMultipleDialogs() {
              for (int a = 0; a < 10; a++) {
                   CustomDialog myDialog = new CustomDialog(mainFrame, false,
                             "Do you like Java?");
                   myDialog.dispose();
                   myDialog.customFinalize();
        public static void main(String argv[]) {
            TestTheDialog tester = new TestTheDialog();
    }Running the above code gives different output for JDK1.5 and JDK1.6
    I would appreciate your help in this regards.
    Thanks

    Fix your algorithm to check if the windows are displayable/showing instead of assuming they are?

  • Is this a BUG???  Database Export not including Foreign Key Constraints

    I'm using SQL Developer 1.5.4 with both the 59.47 and 59.59 patches installed. I want to do a database export from a 10g XE schema, and include all objects in the resulting DDL. So, I select ALL the checkboxes in the export wizard and when I get to Step 3 to specify objects, I don't see any of my constraints in the listbox... no foreign key constraints, no primary key constraints, no check constraints, nothing. Is this a bug, or is there a workaround, or what could I possibly be doing wrong? We want to be able to use the database export feature to easily transport and track modifications to our entire schema using source control compare.
    Any help or alternate suggestions would be apprieciated.
    Thanks,
    Matt

    Thanks skutz, we just figured that out this morning. Also, it should be noted that you need to be logged in as the owner of the schema otherwise selecting nothing in the filter will give you nothing, but selecting items in the filter will give you those items even if you're not connected as the schema owner. I wonder if that is the detail of the Bug 8679318.
    Edited by: mattsnyder on Jul 14, 2009 9:24 AM

  • Accelerator keys temporarily unavailable after changin JMenuBar objects

    We have an application that needs to toggle between two different JMenuBar objects depending on what the user is doing. So our primary window constructs the two menus, stores both, and switches which one it is using with setJMenuBar.
    The problem is that, on Windows, the first time we switch menus, all the accelerator keys stop working until the user takes a mouse action in the frame somewhere. If the user operates any widget (like a menu item or button), or even opens a menu but doesn't click anything, all the accelerators suddenly become available.
    Actions that DO cause the accelerators to become available:
    - A mouse click on a widget inside this frame (as long as the click is not entirely consumed by an internal element)
    - Resizing the window
    - Minimizing / restoring the window
    - Switching to another application and back
    - Simulating any such mouse click with a Robot
    Actions that DON'T cause the accelerators to become available:
    - Mouse Moves
    - Clicks on internal widgets that implement MouseListener
    - Programmatically operating widgets with doClick(), even if clicking on that widget would re-enable the accelerators
    NOTE: this seems to only affect Windows. I haven't tried it on Linux yet, but the bug does not affect Mac OS X, so it doesn't look like I'm doing anything explicitly wrong when I switch menu bars.
    Has anyone else seen this, or can you suggest a fix or workaround? My current workaround is to simulate a click on the menu bar with a Robot after the first time we switch menu bars. But that's terribly kludgy and I'd like to find a better solution.
    Thanks,
    Evan
    Edited by: IdahoEv on Jun 21, 2009 4:15 PM
    Edited by: IdahoEv on Jun 21, 2009 4:16 PM

    Has anyone else seen this,No.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • Is this a Bug?: FocusListener called twice

    Hey all,
    Im having this problem since realease 1.4.2_04.
    Folks, try this code:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class FocusTest {
        public static void main(String[] args) {
            JFrame frame  = new JFrame("Focus test");
            final JTextField field1 = new JTextField("Test1");
            final JTextField field2 = new JTextField("Test2");
            field1.addFocusListener(new FocusAdapter(){
                public void focusGained(FocusEvent e){}
                public void focusLost(FocusEvent e){
                    if( !e.isTemporary() ){
                        System.out.println("ID: " + e.getID());
                        JOptionPane.showMessageDialog(null, "Focus lost in 1");
                        field1.requestFocus();
            frame.getContentPane().add(field1, BorderLayout.WEST);
            frame.getContentPane().add(field2, BorderLayout.CENTER);
            frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            frame.setBounds(0,0,200,300);
            frame.show();
    } The problem is: when TF1 looses its focus, and is validated, then i force the focus to keep on TF1 by calling TF1.requestFocus(), somehow the event focusLsot is called twice for my TF.
    If i do not requestFocus() it work but I must force the focus on TF1.
    Im going nuts. Does anyonw apear to have this problems?? In old realeses, the same code work perfect. until 1.4.2 beta.
    Tks
    Bruno

    Hello all!
    I found out that somehow JDialog with requestfocus after, fires twice the lostFocus event. I dont know why. I opened a bug report so they can figure it out why is happaning.
    Tks folks!
    Bruno

  • Is this a "bug" on this group by matrix report?

    Is this a bug in Reports (10g Release2)?
    We need to create a report which will display country and gender wise arrival totals for every flight but Arrival method wise (i.e. grouped by arrival method), with grand totals for the flight number (i.e. total people in the flight).
    The output comes out correct only if 1 group (i.e. Arrival method ) is selected. But when all arrival methods are shown, we get this wrong output.
    TABLE + DATA
    --  DDL + data for Table KR_TABLE1
      CREATE TABLE "KR_TABLE1"
       (     "PK" NUMBER PRIMARY KEY,
         "ARRIVAL_METHOD" VARCHAR2(10 BYTE),
         "COUNTRY_CODE" VARCHAR2(2 BYTE),
         "COUNTRY_NAME" VARCHAR2(10 BYTE),
         "ARRIVAL_GENDER" VARCHAR2(1 BYTE),
         "FLIGHT_NUMBER" VARCHAR2(10 BYTE),
         "FLIGHT_DATE" DATE,
         "COUNT1" NUMBER
    REM INSERTING into KR_TABLE1
    SET DEFINE OFF;
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (1,'Swipe','In','India','M','UL 123',to_date('01-APR-13','DD-MON-RR'),5);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (2,'Swipe','In','India','F','UL 123',to_date('01-APR-13','DD-MON-RR'),6);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (3,'Swipe','In','India','C','UL 123',to_date('01-APR-13','DD-MON-RR'),2);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (6,'Swipe','Cn','China','M','UL 123',to_date('01-APR-13','DD-MON-RR'),123);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (7,'Swipe','Cn','China','C','UL 123',to_date('01-APR-13','DD-MON-RR'),73);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (11,'Swipe','In','India','M','AB 546',to_date('02-APR-13','DD-MON-RR'),15);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (12,'Swipe','In','India','F','AB 546',to_date('02-APR-13','DD-MON-RR'),16);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (13,'Swipe','In','India','C','AB 546',to_date('02-APR-13','DD-MON-RR'),12);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (16,'Swipe','Cn','China','M','AB 546',to_date('02-APR-13','DD-MON-RR'),133);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (17,'Swipe','Cn','China','C','AB 546',to_date('02-APR-13','DD-MON-RR'),83);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (21,'Swipe','In','India','M','cx 956',to_date('03-APR-13','DD-MON-RR'),26);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (22,'Swipe','In','India','F','cx 956',to_date('03-APR-13','DD-MON-RR'),27);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (23,'Swipe','In','India','C','cx 956',to_date('03-APR-13','DD-MON-RR'),23);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (26,'Swipe','Cn','China','M','cx 956',to_date('03-APR-13','DD-MON-RR'),144);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (27,'Swipe','Cn','China','C','cx 956',to_date('03-APR-13','DD-MON-RR'),94);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (31,'Swipe','In','India','M','QL1234',to_date('04-APR-13','DD-MON-RR'),36);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (32,'Swipe','In','India','F','QL1234',to_date('04-APR-13','DD-MON-RR'),37);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (33,'Swipe','In','India','C','QL1234',to_date('04-APR-13','DD-MON-RR'),33);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (36,'Swipe','Cn','China','M','QL1234',to_date('04-APR-13','DD-MON-RR'),154);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (37,'Swipe','Cn','China','C','QL1234',to_date('04-APR-13','DD-MON-RR'),104);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (41,'Swipe','In','India','M','BF 176',to_date('05-APR-13','DD-MON-RR'),46);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (42,'Swipe','In','India','F','BF 176',to_date('05-APR-13','DD-MON-RR'),47);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (43,'Swipe','In','India','C','BF 176',to_date('05-APR-13','DD-MON-RR'),43);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (46,'Swipe','Cn','China','M','BF 176',to_date('05-APR-13','DD-MON-RR'),164);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (47,'Swipe','Cn','China','C','BF 176',to_date('05-APR-13','DD-MON-RR'),114);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (51,'Swipe','In','India','M','JR 671',to_date('06-APR-13','DD-MON-RR'),56);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (52,'Swipe','In','India','F','JR 671',to_date('06-APR-13','DD-MON-RR'),57);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (53,'Swipe','In','India','C','JR 671',to_date('06-APR-13','DD-MON-RR'),53);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (56,'Swipe','Cn','China','M','JR 671',to_date('06-APR-13','DD-MON-RR'),174);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (57,'Swipe','Cn','China','C','JR 671',to_date('06-APR-13','DD-MON-RR'),124);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (61,'Swipe','In','India','M','M3 999',to_date('07-APR-13','DD-MON-RR'),66);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (62,'Swipe','In','India','F','M3 999',to_date('07-APR-13','DD-MON-RR'),67);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (63,'Swipe','In','India','C','M3 999',to_date('07-APR-13','DD-MON-RR'),63);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (66,'Swipe','Cn','China','M','M3 999',to_date('07-APR-13','DD-MON-RR'),184);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (67,'Swipe','Cn','China','C','M3 999',to_date('07-APR-13','DD-MON-RR'),134);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (71,'Swipe','In','India','M','V3 111',to_date('18-APR-13','DD-MON-RR'),76);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (72,'Swipe','In','India','F','V3 111',to_date('18-APR-13','DD-MON-RR'),77);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (73,'Swipe','In','India','C','V3 111',to_date('18-APR-13','DD-MON-RR'),73);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (76,'Swipe','Cn','China','M','V3 111',to_date('18-APR-13','DD-MON-RR'),194);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (77,'Swipe','Cn','China','C','V3 111',to_date('18-APR-13','DD-MON-RR'),144);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (161,'Manual','In','India','M','UL 123',to_date('01-APR-13','DD-MON-RR'),4);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (162,'Manual','In','India','F','UL 123',to_date('01-APR-13','DD-MON-RR'),5);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (163,'Manual','In','India','C','UL 123',to_date('01-APR-13','DD-MON-RR'),1);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (164,'Manual','Pk','Pakistan','M','UL 123',to_date('01-APR-13','DD-MON-RR'),12);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (165,'Manual','Pk','Pakistan','F','UL 123',to_date('01-APR-13','DD-MON-RR'),6);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (166,'Manual','Cn','China','M','UL 123',to_date('01-APR-13','DD-MON-RR'),122);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (167,'Manual','Cn','China','C','UL 123',to_date('01-APR-13','DD-MON-RR'),72);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (168,'Manual','US','America','M','UL 123',to_date('01-APR-13','DD-MON-RR'),7);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (169,'Manual','US','America','F','UL 123',to_date('01-APR-13','DD-MON-RR'),0);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (170,'Manual','US','America','C','UL 123',to_date('01-APR-13','DD-MON-RR'),2);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (171,'Manual','In','India','M','AB 546',to_date('02-APR-13','DD-MON-RR'),14);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (172,'Manual','In','India','F','AB 546',to_date('02-APR-13','DD-MON-RR'),15);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (173,'Manual','In','India','C','AB 546',to_date('02-APR-13','DD-MON-RR'),11);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (174,'Manual','Pk','Pakistan','M','AB 546',to_date('02-APR-13','DD-MON-RR'),22);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (175,'Manual','Pk','Pakistan','F','AB 546',to_date('02-APR-13','DD-MON-RR'),16);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (176,'Manual','Cn','China','M','AB 546',to_date('02-APR-13','DD-MON-RR'),132);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (177,'Manual','Cn','China','C','AB 546',to_date('02-APR-13','DD-MON-RR'),82);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (178,'Manual','US','America','M','AB 546',to_date('02-APR-13','DD-MON-RR'),17);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (179,'Manual','US','America','F','AB 546',to_date('02-APR-13','DD-MON-RR'),10);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (180,'Manual','US','America','C','AB 546',to_date('02-APR-13','DD-MON-RR'),12);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (181,'Manual','In','India','M','cx 956',to_date('03-APR-13','DD-MON-RR'),25);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (182,'Manual','In','India','F','cx 956',to_date('03-APR-13','DD-MON-RR'),26);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (183,'Manual','In','India','C','cx 956',to_date('03-APR-13','DD-MON-RR'),22);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (184,'Manual','Pk','Pakistan','M','cx 956',to_date('03-APR-13','DD-MON-RR'),33);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (185,'Manual','Pk','Pakistan','F','cx 956',to_date('03-APR-13','DD-MON-RR'),27);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (186,'Manual','Cn','China','M','cx 956',to_date('03-APR-13','DD-MON-RR'),143);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (187,'Manual','Cn','China','C','cx 956',to_date('03-APR-13','DD-MON-RR'),93);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (188,'Manual','US','America','M','cx 956',to_date('03-APR-13','DD-MON-RR'),28);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (189,'Manual','US','America','F','cx 956',to_date('03-APR-13','DD-MON-RR'),21);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (190,'Manual','US','America','C','cx 956',to_date('03-APR-13','DD-MON-RR'),23);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (191,'Manual','In','India','M','QL1234',to_date('04-APR-13','DD-MON-RR'),35);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (192,'Manual','In','India','F','QL1234',to_date('04-APR-13','DD-MON-RR'),36);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (193,'Manual','In','India','C','QL1234',to_date('04-APR-13','DD-MON-RR'),32);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (194,'Manual','Pk','Pakistan','M','QL1234',to_date('04-APR-13','DD-MON-RR'),43);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (195,'Manual','Pk','Pakistan','F','QL1234',to_date('04-APR-13','DD-MON-RR'),37);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (196,'Manual','Cn','China','M','QL1234',to_date('04-APR-13','DD-MON-RR'),153);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (197,'Manual','Cn','China','C','QL1234',to_date('04-APR-13','DD-MON-RR'),103);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (198,'Manual','US','America','M','QL1234',to_date('04-APR-13','DD-MON-RR'),38);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (199,'Manual','US','America','F','QL1234',to_date('04-APR-13','DD-MON-RR'),31);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (200,'Manual','US','America','C','QL1234',to_date('04-APR-13','DD-MON-RR'),33);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (201,'Manual','In','India','M','BF 176',to_date('05-APR-13','DD-MON-RR'),45);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (202,'Manual','In','India','F','BF 176',to_date('05-APR-13','DD-MON-RR'),46);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (203,'Manual','In','India','C','BF 176',to_date('05-APR-13','DD-MON-RR'),42);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (204,'Manual','Pk','Pakistan','M','BF 176',to_date('05-APR-13','DD-MON-RR'),53);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (205,'Manual','Pk','Pakistan','F','BF 176',to_date('05-APR-13','DD-MON-RR'),47);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (206,'Manual','Cn','China','M','BF 176',to_date('05-APR-13','DD-MON-RR'),163);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (207,'Manual','Cn','China','C','BF 176',to_date('05-APR-13','DD-MON-RR'),113);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (208,'Manual','US','America','M','BF 176',to_date('05-APR-13','DD-MON-RR'),48);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (209,'Manual','US','America','F','BF 176',to_date('05-APR-13','DD-MON-RR'),41);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (210,'Manual','US','America','C','BF 176',to_date('05-APR-13','DD-MON-RR'),43);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (211,'Manual','In','India','M','JR 671',to_date('06-APR-13','DD-MON-RR'),55);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (212,'Manual','In','India','F','JR 671',to_date('06-APR-13','DD-MON-RR'),56);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (213,'Manual','In','India','C','JR 671',to_date('06-APR-13','DD-MON-RR'),52);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (214,'Manual','Pk','Pakistan','M','JR 671',to_date('06-APR-13','DD-MON-RR'),63);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (215,'Manual','Pk','Pakistan','F','JR 671',to_date('06-APR-13','DD-MON-RR'),57);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (216,'Manual','Cn','China','M','JR 671',to_date('06-APR-13','DD-MON-RR'),173);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (217,'Manual','Cn','China','C','JR 671',to_date('06-APR-13','DD-MON-RR'),123);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (218,'Manual','US','America','M','JR 671',to_date('06-APR-13','DD-MON-RR'),58);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (219,'Manual','US','America','F','JR 671',to_date('06-APR-13','DD-MON-RR'),51);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (220,'Manual','US','America','C','JR 671',to_date('06-APR-13','DD-MON-RR'),53);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (221,'Manual','In','India','M','M3 999',to_date('07-APR-13','DD-MON-RR'),65);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (222,'Manual','In','India','F','M3 999',to_date('07-APR-13','DD-MON-RR'),66);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (223,'Manual','In','India','C','M3 999',to_date('07-APR-13','DD-MON-RR'),62);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (224,'Manual','Pk','Pakistan','M','M3 999',to_date('07-APR-13','DD-MON-RR'),73);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (225,'Manual','Pk','Pakistan','F','M3 999',to_date('07-APR-13','DD-MON-RR'),67);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (226,'Manual','Cn','China','M','M3 999',to_date('07-APR-13','DD-MON-RR'),183);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (227,'Manual','Cn','China','C','M3 999',to_date('07-APR-13','DD-MON-RR'),133);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (228,'Manual','US','America','M','M3 999',to_date('07-APR-13','DD-MON-RR'),68);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (229,'Manual','US','America','F','M3 999',to_date('07-APR-13','DD-MON-RR'),61);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (230,'Manual','US','America','C','M3 999',to_date('07-APR-13','DD-MON-RR'),63);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (231,'Manual','In','India','M','V3 111',to_date('18-APR-13','DD-MON-RR'),75);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (232,'Manual','In','India','F','V3 111',to_date('18-APR-13','DD-MON-RR'),76);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (233,'Manual','In','India','C','V3 111',to_date('18-APR-13','DD-MON-RR'),72);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (234,'Manual','Pk','Pakistan','M','V3 111',to_date('18-APR-13','DD-MON-RR'),83);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (235,'Manual','Pk','Pakistan','F','V3 111',to_date('18-APR-13','DD-MON-RR'),77);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (236,'Manual','Cn','China','M','V3 111',to_date('18-APR-13','DD-MON-RR'),193);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (237,'Manual','Cn','China','C','V3 111',to_date('18-APR-13','DD-MON-RR'),143);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (238,'Manual','US','America','M','V3 111',to_date('18-APR-13','DD-MON-RR'),78);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (239,'Manual','US','America','F','V3 111',to_date('18-APR-13','DD-MON-RR'),71);
    Insert into KR_TABLE1 (PK,ARRIVAL_METHOD,COUNTRY_CODE,COUNTRY_NAME,ARRIVAL_GENDER,FLIGHT_NUMBER,FLIGHT_DATE,COUNT1) values (240,'Manual','US','America','C','V3 111',to_date('18-APR-13','DD-MON-RR'),73);
    CREATE SEQUENCE kr_table_seq START WITH 1
    CREATE OR REPLACE TRIGGER "kr_table1_PK_GEN_TRIG"
       before insert on "KR_TABLE1"
       for each row
    begin 
       if inserting then
          if :NEW."PK" is null then
             select kr_table_seq.nextval into :NEW."PK" from dual;
          end if;
       end if;
    end;
    /REPORT QUERY
    SELECT arrival_method,
    country_code, country_name, arrival_gender,
    flight_number , flight_date, SUM(count1) sum_count1
    FROM kr_table1
    GROUP BY arrival_method, country_code, country_name, arrival_gender, flight_number , flight_date
    ORDER BY arrival_method,country_code, country_name, arrival_gender,flight_number , flight_dateReport data model (created using reports wizard and not manually):
    http://www.freeimagehosting.net/newuploads/6alll.jpg
    Erroneous report output:
    http://www.freeimagehosting.net/newuploads/2gx4a.jpg
    Edited by: 957072 on Apr 23, 2013 3:51 AM
    Edited by: 957072 on Apr 23, 2013 3:52 AM

    You can set the Default Type before you send the message under SENDING options to TEXT (default is automatic)
    But then all it does it will not send the message if more than 20 recipients are there it will tell you how many recipients over 20 you have entered.
    Say you have a group of 26 contacts and then you enter that and then select Options -> Sending options -> Message Type
    Set to TEXT
    Then if you try to send it will tell you that you have to remove 6 recipients.
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • [SOLVED] Is this a bug or just me ?

    Chromium  freezes when I type something on the adress bar.
    [6884:6898:0124/014216:ERROR:object_proxy.cc(608)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.NetworkManager': no such name
    [6884:6898:0124/014216:ERROR:object_proxy.cc(513)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/NetworkManager: org.freedesktop.systemd1.LoadFailed: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
    [6884:6906:0124/014216:ERROR:object_proxy.cc(608)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [6884:6906:0124/014216:ERROR:object_proxy.cc(608)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [6884:6884:0124/014216:ERROR:object_proxy.cc(513)] Failed to call method: org.chromium.Mtpd.EnumerateStorage: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    Is anyone facing the same issue ?
    L.E Installing dbus solved the issue.
    Last edited by xfce (2013-01-23 23:58:57)

    I would still consider this a bug  --  if the CAS doesn't like it then it can reject the formula like it does elsewhere in the calculator  eg...
    in Home  (13)(3) is entered and when the enter key is pressed it becomes:   (13)*(3)           39
    in CAS  (13)(3) is entered, enter key pressed it becomes:                                        39                     39
    in Home (13)(3)^2 is entered, enter key pressed it becomes:                             (13)*(3)^2       117
    in CAS  (13)(3)^2  is entered,  enter key pressed it becomes:                              39^2                 1521
    true
    Home sees  MN  as M*N  ;    whereas
    CAS sees     mn   as one variable  mn  ;   whereas
    Solver sees MN  as M*N     but 
    Solver sees M(N)    as a Syntax error  which needs to be corrected,  but
    Solver sees (M)(N)  as (M)*(N)    pretty much the same as in Home....
    just seems like unneccessare confusion setting students up for failure,  
    but thanks for your help and insight

  • Is this a bug in FlowView.FlowStrategy.layoutRow()?

    Hi,
    I am confused by the way in which javax.swing.text.FlowView.FlowStrategy.layoutRow() calls a view's getBreakWeight() method.
    From all indications, the 'float pos' parameter to View.getBreakWeight() should NEVER be a document text offset at all. However, FlowView.FlowStrategy.layoutRow() calls getBreakWeight() by supplying 'pos' , which is clearly a document text offset.
    Such usage is different from how FlowView.FlowStrategy.adjustRow() calls View's getBreakWeight().
    The same code is in JDK 1.4.2 and 1.5.
    So, is this a bug? If so, how do I find out if it is a known bug?
    Thanks in advance.

    Thanks for the reply.
    Google returns 2 bugs, but none relates to the problem.
    The effect is that my custom view's getBreakWeight() method cannot use the 'pos' parameter as part of the calculation to determine if ForcedBreakWeight should be returned. The reason is that my getBreakWeight() gets called with the wrong argument by layoutRow() and with the right argument by adjustRow() and others.

  • Is this a bug in APEX or I'm missing something

    Hi,
    I have a table chr10bug( id number , sample_text varchar2(4000)).
    I am using simple form with textarea to populate sample_text.
    I have a report based on above table.
    The report query is select id , sample_text from chr10bug. The Link tab has Target as URL. URL is javascript:void(0); and Link attribute has a very simple function
    onmouseover="alter('#SAMPLE_TEXT#')"
    Now, my question is when a user hits enter in the textarea eg.
    User enter some text **User Press Enter**
    User enter some text again
    In the reports the onmouseover="alert('#SAMPLE_TEXT#')" does not work for recrod where users pressed enter key. (In fact none of the function which accept string is working) . If we do not press enter while entering data in textarea... the above function is working...
    Example is here....
    http://apex.oracle.com/pls/apex/f?p=32555:1 ( report)
    http://apex.oracle.com/pls/apex/f?p=32555:2 ( form to enter data via text area)
    Is this a bug...
    Regards,
    Shijesh
    Edited by: Apex_Noob on Nov 18, 2010 12:18 PM

    Hi,
    Thanks once again for reply.
    I create two report with same javascript function alert('#sample_text#')
    CASE1 >> Javascript function call is placed in Link attribute section as ** onmouseover="alert('#sample_text#')" >>> This is not working
    CASE2 >> Javascript function call is place in URL section as ** javascript:alert('#sample_text#') >>>> This is working however I'm not able to have onmouseover feature.
    Any alternative to have onmouseover=myFunction('#COLUMN_NAME#').
    http://apex.oracle.com/pls/apex/f?p=32555:1:8742069995710311:::::
    thanks,
    Shijesh
    Edited by: Apex_Noob on Nov 18, 2010 12:45 PM

  • Is this a bug in CF 8

    I have the following code (just as a sample):
    <CFQUERY NAME="MyProjects" DATASOURCE="DSN_Name">
    select PID, PName from projects
    </CFQUERY>
    Assume the above query will bring only one record, I'm using
    CF 8 with latest hot fix, running on windows server 2003 machine,
    with MSSQL 2005.
    Now if I try simply just to print this PID (PID is a primary
    key set by the table) as below:
    <cfoutput>
    <cfloop query="MyProjects">
    #PID#
    </cfloop>
    <cfoutput>
    Now to run the above code in a stress test with 10 concurrent
    users, this PID could bring NULL, while if I write it this way with
    same type of test it doesn't break and it doesn't bring NULL
    <cfoutput>
    <cfloop query="MyProjects">
    #MyProjects.PID#
    </cfloop>
    <cfoutput>
    Is this a bug in CF or maybe the JDBC drivers ? Is it scoping
    issue ? ... anyone notice this before ?.

    Qais wrote:
    > Thanks for your reply, I know I can do it as
    <cfoutput query= ......> but I
    > have a friend which told me that if you don't scope a
    column name by the name
    > of the query, like query_name.column_name and this
    column name just by chance
    > exists as a variable in another scope (like session or
    application or ...etc.)
    > and with a stress test it could jump and read that other
    value in the other
    > scope.
    >
    > My understanding for CF since before until today that
    when you print a query
    > like
    > <cfoutput query= ......>
    > #column_name#
    > </cfoutput>
    > then CF will look into ONLY that recordset and will not
    go further and make a
    > search into other scopes.
    If there is someone here in this forum from Adobe
    > can I get a clear answer if this SHOULD scoped or
    not.
    >
    Yes, scoping is considered a best practice. Inside an
    <cfoutput...>
    block, ColdFusion will look in the named query *first*, but
    it does not
    stop there. If the value is not found in the query, then it
    will look
    into other scopes in a defined and documented order.
    Outside of an <cfoutput...>, i.e., in your first
    example with a
    <cfloop...> I suspect the query is not the first scope
    looked into.
    http://www.adobe.com/devnet/server_archive/articles/using_cf_variables2.html#scopes
    http://www.chapter31.com/2008/03/28/evaluating-coldfusion-unscoped-query-variables/
    http://www.oreillynet.com/pub/a/oreilly/web/news/coldfusion_0701.html
    Not exactly a hidden secret here.

  • How to activate JMenu from other frame using accelerator key

    Hi.
    I'm developing an application for my final year project.
    i set up my application to have multiple frame open at the same time (like sunone studio in SDI mode). only one JFrame contains the JMenuBar.
    i can activate this menu bar using the accelerator key when the containing JFrame has focus. however, i donot know how to make the Menu activate when the accelerator key is pressed on other frame. press help, thanks in advance.

    does any one have some idea.
    the solution i found seem not suit my need.
    i want to be able to pull down (and get the focus transfered to) the jmenu in menubar of another frame using the menu's mnemonics. using InputMap does not seem to fit since i need to the menmonic of menu is not in the input map.

  • Is this a bug for drop down box in DS1.3?

    I found that if there were many items (e.g. 50), when I clicked the arrow of the drop down box, it showed the items and then disappeared all the items except "ALL". I have to use "F4" key to display all the items and use scroll bar to show the items.
    It is OK when there are few items and no scroll appears in the list.
    Did anybody meet with the same problem?
    Thank you.

    Roam,
    Thanks again for your suggestion,
    "Furthermore one should always Repair Permissions both before doing a Software Update and again afterwards."
    I honestly dont know anything about this "Repair Permissions" from the name, i though it is a verification of authentication to repair OS or some kind of credential issue, and since i m admin user then there is no point to verify it, i should be allowed to do so. Again it is my first time to do this thing in 3 - 4 years of using panther, every time i update software i never ever do this! If this step is essential for every update and installation why dont apple put them as one of TODO step during the processes (as licensing agreement) instead of keep them as an option (just my thought) Anyway, I m glad u tell me about it, and i will give it a shot tonight.
    "That may because you didn't have sufficient disk space. In fact running out of disk space can create all sorts of problems. Please tell me how disk space is available on your
    start up drive."
    That what I thought coz i have only 5.x GB left in 60 GB HD. Thats why I claimed as whining and have to scarify the lost of data by reinstall panther in order to get my mac back to work
    "So are you saying it is a bug or it is a hacker, I don't believe it is either"
    Please see second update info about password, and i m not impose anyone to believe, thats why the topic is a questioning sentence "Is this a bug.."
    "This Discussion site is not Applecare. The people here give their time voluntarily to those who are receptive to help."
    Thats why i ask for "mac expert" not "apple authority/technician" and always appreciate any suggestion.
    Anyway, that great to hear from you and i have learned new thing from your suggestion. I will let u know when i have tried it.

  • Is it a bug of Swing? (help!!!)

    meet problem of abnormal table blinking.
    The scenario is like this,
    For Table 1, there is a backgroup thread which receive message and
    update table's model and then call
    table1.updateUI();
    table1.validate();
    directly to let JTalbe fresh. (update in non-AWT-Event dispather)
    If user try do many operation in this table, soon we can observe the blinking in this table.
    For table 2, A timer is setup up to do periodically update (update is guarantee in AWT-event dispacher)
    We found that when table 1 is blinking, table 2 is start blinking too. I really don't know why.
    It is a bug of Swing? If that is true, one table has prolem, all tables in the same VM would have problems. That is realy too bad!!

    It is a bug of Swing? No. Its a bug in your code.
    For Table 1, there is a backgroup thread which receive message and update table's model and then call
    Then thats all you need to do. The model will tell the table to repaint itself.
    table1.updateUI();
    table1.validate();Completely wrong.

  • Is this a bug for CTI Toolkit Agent desktop (Version 7.5.10510)

    Hi,
    Today I have found a strange thing with CTI Toolkit Agent desktop (Version 7.5.10510). One agent is logged in on CTI Toolkit agent desktop with his Agent ID (5101) to an extension 999111. Then from other PC another agent is also able to login on CTI Toolkit agent desktop with same Agent ID (5101) to the same extension 999111. Tough they are logged in with same agent ID and extension number from different PC but it is not desired that 2 person can login with same Agent ID and extension at a same time.
    Can any one tell me that is this a bug or normal procedure.
    Thanks,
    Ashfaque

    Hi,
    this is normal (although it does not seem to follow any logic).
    If you want to change this behavior, modify the following registry keys on the CTI OS server:
    HKLM\SOFTWARE\Cisco Systems, Inc.\Ctios\CTIOs_[instance]\CTIOS1\EnterpriseDesktopSettings\All Desktops\Login
    RejectIfAlreadyLoggedIn
    WarnIfAlreadyLoggedIn
    G.

Maybe you are looking for