How to listen to the action in the action performed inside

I have a code in actionperformed inside that add the listener, how the listener work or listen?
public void actionPerformed(ActionEvent e){
       JMenuItem item = (JMenuItem)e.getSource();
        String ac = item.getActionCommand();
        if (ac.equals("Reset User Login Status"))
                     p1.removeAll();
                     p1.add(label1);
                  p1.add(menuBar);
                display dis = new display();
                  table=dis.display();
                     table.setBounds(new Rectangle(10, 50, x-120, y-160));
                     table.getTableHeader().setBounds(new Rectangle(10, 30, x-20,20));
                     table.getModel().addTableModelListener(this);
                     btn_update = new JButton("Update");
                     btn_update.setBounds(new Rectangle(x-110, y-100, 90, 40));
                     //*****This below the listener, how it work???
                     btn_update.addActionListener( this );  
                     p1.add(btn_update); 
                     p1.add(table);
                     p1.add(table.getTableHeader());
                     p1.repaint();
                     p1.revalidate();
                     dis.close();
                }

To be simple i have attached the full code and try to higlighted the part with comment:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import javax.swing.table.*;
import java.text.ParseException;
import java.io.*;
import javax.swing.AbstractButton;
import java.util.StringTokenizer;
import javax.swing.event.*;
public class gui extends JFrame implements ActionListener,TableModelListener{
JLabel label1,label2,label3,label4,errlabel;
JButton btn1,btn2,btn3;
JTable table;
JPasswordField passFld;
JButton btn_update;
static JFormattedTextField idFld;
JFormattedTextField custFld;
JMenuBar menuBar;
JMenu menu;
JMenuItem menuItem;
DefaultTableModel tabModel;
StringTokenizer tokenizer;
static String id;
static String userRole;
JPanel p1;
int x;
int y;
display d1;
String [] arg;
public gui(String args) {
                Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
                x = (screen.width);
                y = (screen.height);
                StringTokenizer tokenizer = new StringTokenizer (args, ";");
                id = tokenizer.nextToken();
                userRole = tokenizer.nextToken();
                System.out.println(userRole+""+id);
                this.setDefaultLookAndFeelDecorated(true);
                this.setTitle("FOREX Trading System");
                this.setSize(new Dimension(x, y));
                //this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                addWindowListener(new WindowAdapter(){
                public void windowClosing(WindowEvent we){
                update.main("UPDATE System_user SET LOGIN_STATUS = 0 WHERE USER_ID ='"+id+"'");
                System.exit(-1);
                p1 = new JPanel();
                 //Create the menu bar.
                menuBar = new JMenuBar();
                    menuBar.setBounds(new Rectangle(0, 0, x, 25));
                 //Build the first menu tab.
                 menu = new JMenu("Dealer");
                 menu.setMnemonic(KeyEvent.VK_D);
                 menu.getAccessibleContext().setAccessibleDescription(
                 "For Dealer Acess Only");
                 menuBar.add(menu);
                 //Assign access right
                 if(userRole.equals("Dealer"))
                 menu.setEnabled(true);
                 else
                 menu.setEnabled(false);
                 menuItem= new JMenuItem("Key Deal");
                 menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_K);
                menu.add(menuItem);
                menuItem= new JMenuItem("Amend Deal");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_A);
                menu.add(menuItem);
                menuItem = new JMenuItem("Cancel Deal");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_C);
                menu.add(menuItem);
                menuItem = new JMenuItem("Close Position");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_P);
                menu.add(menuItem);
                //Another Menu tab
                menu = new JMenu("Teller");
                 menu.setMnemonic(KeyEvent.VK_T);
                 menu.getAccessibleContext().setAccessibleDescription(
                 "For Teller Acess Only");
                 menuBar.add(menu);
                 //Assign access right
                 if(userRole.equals("Teller"))
                 menu.setEnabled(true);
                 else
                 menu.setEnabled(false);
                 menuItem = new JMenuItem("Settle Deal");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_S);
                menu.add(menuItem);
                menuItem = new JMenuItem("Create Customer Profile");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_C);
                menu.add(menuItem);
                menuItem = new JMenuItem("Close Position");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_P);
                menu.add(menuItem);
                menuItem = new JMenuItem("Daily Balance");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_D);
                menu.add(menuItem);
                 //Another Menu tab
                menu = new JMenu("Settlement");
                 menu.setMnemonic(KeyEvent.VK_S);
                 menu.getAccessibleContext().setAccessibleDescription(
                 "For Settlement Acess Only");
                 menuBar.add(menu);
                 //Assign access right
                 if(userRole.equals("Settlement"))
                 menu.setEnabled(true);
                 else
                 menu.setEnabled(false);
                 menuItem = new JMenuItem("GL Audit Trail");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_G);
                menu.add(menuItem);
                menuItem = new JMenuItem("Generate Payment Report");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_P);
                menu.add(menuItem);
                menuItem= new JMenuItem("Create/Edit Payment mode ");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_C);
                menu.add(menuItem);
                //Another Menu tab
                menu = new JMenu("View");
                 menu.setMnemonic(KeyEvent.VK_V);
                 menu.getAccessibleContext().setAccessibleDescription(
                 "For View Only");
                 menuBar.add(menu);
                  //Assign access right
                 if(userRole.equals("Dealer")||userRole.equals("Teller"))
                 menu.setEnabled(true);
                 else
                 menu.setEnabled(false);
                 menuItem = new JMenuItem("Customer Profile");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_C);
                menu.add(menuItem);
                menuItem= new JMenuItem("Contrated Deal");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_D);
                menu.add(menuItem);
                //Another Menu tab
                menu = new JMenu("Administrator");
                 menu.setMnemonic(KeyEvent.VK_A);
                 menu.getAccessibleContext().setAccessibleDescription(
                 "For Teller Acess Only");
                 menuBar.add(menu);
                   //Assign access right
                 if(userRole.equals("Administrator"))
                 menu.setEnabled(true);
                 else
                 menu.setEnabled(false);
                 menuItem= new JMenuItem("Set Currency & Rate");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_S);
                menu.add(menuItem);
                 menuItem= new JMenuItem("Create/Remove User");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_C);
                menu.add(menuItem);
                menuItem= new JMenuItem("View Login Status");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_V);
                menu.add(menuItem);
                menuItem = new JMenuItem("Reset User Login Status");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_U);
                menu.add(menuItem);
                menuItem= new JMenuItem("Reset Daily Report");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_R);
                menu.add(menuItem);
                //Another Menu tab
                menu = new JMenu("Logout");
                 menu.setMnemonic(KeyEvent.VK_O);
                 menu.getAccessibleContext().setAccessibleDescription(
                 "For Logout");
                 menuItem= new JMenuItem("Exit");
                menuItem.addActionListener( this );
                menuItem.setMnemonic(KeyEvent.VK_X);
                menu.add(menuItem);
                 menuBar.add(menu);
                 label1= new TimeLabel()     ;
                 label1.setBounds(new Rectangle(x-80, 0, 80, 30));
                 p1.setLayout(null);
                 p1.add(label1);
                 p1.add(menuBar);
                 getContentPane().add(p1);
    public void actionPerformed(ActionEvent e){
         JMenuItem item = (JMenuItem)e.getSource();
        String ac = item.getActionCommand();
               //---Below this btn_update is not working            
                if (e.getSource()==btn_update)
                System.out.println("A");
       if(ac.equals("Key Deal"))
                 label2 = new JLabel("Customer Name:");
                 label2.setBounds(new Rectangle(40, 40, 200, 30));
                 try{
                 MaskFormatter mf1 = new MaskFormatter("????");
                 custFld= new JFormattedTextField(mf1);
                 custFld.setBounds(new Rectangle(250, 40, 140, 30)); 
                catch(java.text.ParseException exc)
                 //Error message
                 p1.add(label2);
                 p1.add(custFld);
                 p1.repaint(); 
         if (ac.equals("View Login Status"))
                     p1.removeAll();
                     p1.add(label1);
                  p1.add(menuBar);
                display dis = new display();
                  table=dis.display();
                     table.setBounds(new Rectangle(10, 50, x-120, y-160));
                     table.getTableHeader().setBounds(new Rectangle(10, 30, x-20,20));
                     table.setEnabled(false);
                     table.setRowSelectionAllowed(false);
                     table.setColumnSelectionAllowed(false);
                     p1.add(table);
                     p1.add(table.getTableHeader());
                     p1.repaint();
                     p1.doLayout();
                     dis.close();
             if (ac.equals("Reset User Login Status"))
                     p1.removeAll();
                     p1.add(label1);
                  p1.add(menuBar);
                display dis = new display();
             table=dis.display();
                     table.setBounds(new Rectangle(10, 50, x-120, y-160));
                     table.getTableHeader().setBounds(new Rectangle(10, 30, x-20,20));
                     table.getModel().addTableModelListener(this);
                     btn_update = new JButton("Update");
                     btn_update.setBounds(new Rectangle(x-110, y-100, 90, 40));
                     //--this the button created
                     btn_update.addActionListener( this );  
                     p1.add(btn_update); 
                     p1.add(table);
                     p1.add(table.getTableHeader());
                     p1.repaint();
                     p1.revalidate();
                     dis.close();
        if (ac.equals("Exit"))
           {    update.main("UPDATE System_user SET LOGIN_STATUS = 0 WHERE USER_ID ='"+id+"'");
                System.exit(-1);
    public void tableChanged( TableModelEvent ev){
    System.out.println("Changed");
   }

Similar Messages

  • Nice to see 13" retina but it has only Intel HD Graphics 4000 and does not have NVIDIA GeForce GT 650M with 1GB of GDDR5 memory card. How it will affect the speed, performance and other things compared to 15" retina where NVIDIA GeForce card is available.

    Nice to see 13" retina but it has only Intel HD Graphics 4000 and does not have NVIDIA GeForce GT 650M with 1GB of GDDR5 memory card. How it will affect the speed, performance and other things compared to 15" retina where NVIDIA GeForce card is available.

    The 15" Retina's will have better performance than any 13" Retina. Not only do the 15" machines have dedicated GPU's, but they also have quad-core processors, whereas the 13" Retina's only have dual-core processors.

  • How Can we improve the report performance..?

    Hi exports,
    I am learning the Business Objects XIR2, Please let me know How Can we improve the report performance..?
    Please give the answer in detailed way.

    First find out why your report is performing slowly. Then fix it.
    That sounds silly, but there's really no single-path process for improving report performance. You might find issues with the report. With the network. With the universe. With the database. With the database design. With the query definition. With report variables. With the ETL. Once you figure out where the problem is, then you start fixing it. Fixing one problem may very well reveal another. I spent two years working on a project where we touched every single aspect of reporting (from data collection through ETL and all the way to report delivery) at some point or another.
    I feel like your question is a bit broad (meaning too generic) to address as you have phrased it. Even some of the suggestions already given...
    Array fetch size - this determines the number of rows fetched at a single pass. You really don't need to modify this unless your network is giving issues. I have seen folks suggest setting this to one (which results in a lot of network requests) or 500 (which results in fewer requests but they're much MUCH larger). Does either improve performance? They might, or they might make it worse. Without understanding how your network traffic is managed it's hard to say.
    Shortcut joins? Sure, they can help, as long as they are appropriate. [Many times they are not.|http://www.dagira.com/2010/05/27/everything-about-shortcut-joins/]
    And I could go on and on. The bottom line is that performance tuning doesn't typically fall into a "cookie cutter" approach. It would be better to have a specific question.

  • How can I bring the recordset count inside the same recordset?

    I have a query inside a procedure where I'm paging the results.
    I dont know how to bring the total results inside the recordset.
    How can I bring the recordset count inside the same recordset?
    SELECT *
    FROM ( select a.*, rownum rnum
         FROM (SELECT
              FROM table
              ORDER BY id DESC) a
         WHERE rownum <= pg*50 )
    WHERE rnum > (pg-1)*50

    My query is much more comples, so that is why I'm using the other script.
    When I included the "COUNT(*) OVER() tot_cnt AS total" it didn't worked:
    ORA-00904: "TOT_CNT": invalid identifier
    What is the tot_cnt?
    SELECT *
    FROM (SELECT a.*, rownum rnum
    FROM (SELECT
    ed_fotos.id AS COD_FOTO,
    ed_fotos.arquivo AS NOM_ARQUIVO,
    ed_areas.nome AS NOM_REDACAO,
    COUNT(*) OVER() tot_cnt AS total
    FROM edt.ed_fotos ed_fotos
    INNER JOIN edt.ed_volumes ed_volumes ON ed_volumes.id = ed_fotos.volume_id
    INNER JOIN edt.ed_caminhos path_alta ON path_alta.id = ed_volumes.caminho1
    INNER JOIN edt.ed_caminhos path_baixa ON path_baixa.id = ed_volumes.caminho2
    INNER JOIN edt.ed_areas ed_areas ON ed_areas.id = ed_fotos.redacao_id
    ORDER BY id DESC) a
    WHERE rownum <= 200 )
    WHERE rnum >= 100

  • How to listen on the undo event in Photoshop?

    Hello,
    Has anyone been able to listen on the undo event in Photoshop? The EventWatcher application seems not to fire that event for me. I also tried the Notifier Class in the ExtendedScript API without success. The following script had no effect on my Photoshop:
    app.notifiersEnabled = true;
    var eventFile = new File(app.path +"/Presets/Scripts/Event Scripts Only/Welcome.jsx");
    app.notifiers.add('undo', eventFile);
    But if I change "undo" to other event Ids (e.g. 'Cls '), it worked. So I'm wondering whether it is just my Photoshop (CS5.1 for Mac) or the "undo" event is not implemented at all.
    Thanks!
    Tao

    If you're referring to the icon parallax effect, the iPhone 4 doesn't support this feature.

  • MOVED: How To Reach To The Maximum Performance with this Hardware ?

    This topic has been moved to Overclockers & Modding Corner.
    https://forum-en.msi.com/index.php?topic=143252.0

    If the two disabled cores are stable then unlocking them should give a nice boost. To do this, go into the BIOS and enter the 'cell menu'. Find the option that reads 'CPU Core Control' and enable it. Next, go into Windows and download the 'BIOS Code Unlocked Technology' utility from >>here<<. You'll need to run the utility, enable the cores and reboot your computer. If the disabled cores are stable you should be able to boot up and see the two extra cores being utilised in Task Manager.
    I'd advise you switch off the OC switch and see what you think of the new performance from having the two extra cores enabled, provided they're unlocked successfully.
    No point overclocking the onboard graphics. If you want to play games then it's much better just to buy a dedicated PCI-E graphics card instead.
    From an overclocking point of view, that power supply doesn't look too good so I wouldn't recommend overclocking personally.

  • How do I have the learner perform a conditional action based on a button selection?

    The learner needs to select a checkbox on the screen of a performance exercise.  I've put the widget in for the checkbox and it works fine.  After the select the checkbox, they need to select OK on the screen to move them onto the next screen.  However, I don't want the learner to just select OK without selecting the checkbox in order to replicate the sequence correctly. 
    I have a slide which shows the message  which tells them as to what they did wrong when they select OK without checking the box, but when I tie that to the correct response, it will go there whether they select the checkbox or not.
    I've tried adding multiple actions to the button, which doesn't work, becuase the OK button has to be tied to the learner conditionally selecting the checkbox to move on to the correct slide.  If I use multiple actions, and the first action is to SHOW  the slide with the incorrect message, if they correctly check the box and then hit OK, it will first SHOW them the incorrect slide.
    I think what I need is a variable and then add an advanced action with a conditional statement.  However, I don't really know how to do that.  Here's the variable I created, but I don't know what value I should assign.  Here's the screen shot of the variable and conditional statement.  Could someone tell me how to do the variable and the conditional statement so that the learner when selecting OK WITHOUT selecting the checkbox first will be redirected the the error slide and if they select the checkbox FIRST, and then OK, they move on to the next screen?  Thanks,

    Thanks, you definitely got me started on the right track on variables and advanced action statements.  The screen shots helped.
    Here's how the actual fix went to make sure the OK button on the screen had a conditional statement attached to it, with
    an advanced action:
    I created parameters for the widget to link to the variable:
    I created a variable:
    Then I created an advanced action conditional statement for that variable which enabled the button to advance to the next slide when the clickbox was checked:
    Then where I finally realized my final mistake was not setting the button properties to execute advanced action:

  • How do I get the best performance out of my graphics card under bootcamp?

    I have a 20" iMac, I think it was 2009 I got it, maybe 2010. It has an nVidia 9400 graphics card. I have installed windows XP under bootcamp with which to play games specicially Star Trek online and Star Wars The Old Republic (also online game). Now the minimum graphics spec for SWTOR is an nVidia 7800 yet with the 9400 I can only play if I run everything on the lowest possible settings. I'd assumed that the 9400 being several models higher than the 7800 I should be able to run a higher level of graphics and seem to be capable of running better quality when playing games under OS X.
    I may be wrong but it seems under bootcamp windows doesn't run my Mac at as high a level as it is capable. For one thing when I look under the specs it states I only have 2.7GB ram when the iMac actually has 4GB.
    Am I just over estimating the graphics potential of my iMac or am I right in thinking that Windows under bootcamp isn't utilising the iMac's full potential and how can I fix this?
    Any help will be appreciated.
    Thanks.

    you run into the limits of XP and built in graphics.
    I would hope that you found in all these years how to install and get new moddified gpu drivers.
    XP is limited and is 32-bit where each app gets 2GB address space also.
    Windows 7 64-bit (or 8 even free for now to test out) otherwise wait to buy a new Mac.

  • How to listen to user actions in child class from parent class?

    Hi,
    I have a basic custom class ChildCustomForm that include a JTextField. In order to know what user types, I add a listener to
    this textbox:
    textField.addKeyListener( new KeyAdapter()
                @Override
                public void keyPressed( final KeyEvent e )
                    //user typed something
                    userTyped = true;
             });Now I have another parent class that uses ChildCustomForm, and parent class has to know once user types, then set
    its own userTyped flag.
    My problem is: since I added listener in child class, I cannot get textfield and add listener again in parent class, so parent class will not be able to know as soon as user types (polling is not a good solution here).
    I am wondering if there is a way to do this?
    regards,

    jack_wns wrote:
    I have a basic custom class ChildCustomForm that include a JTextField. In order to know what user types, I add a listener to
    this textbox:You want to listen for input into the textbox, correct? This may take the form of keyboard input, or could be a paste-text event in which case your keylistener will miss it. I recommend that you look into a DocumentListener here so you will catch any changes, be they keyboard or cut or paste.
    My problem is: since I added listener in child class, I cannot get textfield and add listener again in parent class, so parent class will not be able to know as soon as user types (polling is not a good solution here).The observer pattern may work here.

  • How can you verify the digital signature inside a form?

    I see Adobe has a separate solution called Echosign but how to use both forms and signature together?

    Hi,
    this is indeed possible.
    You can check if the change value is larger than one character.
    If so, the change value is pasted from the clipboard.
    All you need is to add this Script (FormCalc) to the change event of your field.
    if (Len($event.change) gt 1) then
              $event.change = ""
    endif

  • How to dynamically change the table name inside a view

    Hi All,
    create table t_auto_feeds
    id number,
    table_name vachar2(100));
    insert into t_auto_feeds values(1,'T_FEED_POSITIONS');
    insert into t_auto_feeds values(2,'T_KAP_MTM');
    assume there are 100 records on id=1 in T_FEED_POSITIONS and 100 records of id=2 in T_KAP_MTM (id 1 is present only in t_feed_positions & id 2 is present only in t_kap_mtm)
    i need to create a view such that it needs to give the count of records based on the id
    create or replace view aa_view as
    select count(*), id from t_feed_position group by id
    union
    select count(*), id from t_kap_mtm group by id;
    I am getting a proper result when i query the view like select * from aa_view where id=1 but will the other union query seems to be a overhead?. I am having 10 such tables configured for different id in t_auto_feeds.so do i need to put 10 unions or is there a better way to handle this stuff.
    I know i can use a PLSQL block and dynamically build view structure, the problem is the view itself is configured in a table , so i cant write a proc for this.. can this aa_view be modified such that it queries only the table(using the t_auto_feeds ) which matches the id rather than the entire list.
    Kindly help me in this regard and let me know in case u need any further information from my side.

    >
    so do i need to put 10 unions or is there a better way to handle this stuff.
    >
    Yes - you need 10 unions
    Yes - there is a better way so that only one of the 10 queries does anything.
    You can use SYS_CONTEXT to control the query selection.
    Here is an example of using SYS_CONTEXT. Try this code in the SCOTT schema.
    create or replace context VIEW_CTX using SET_VIEW_FLAG;
    create or replace procedure SET_VIEW_FLAG ( p_table_name in varchar2 default 'EMP')
      as
      begin
          dbms_session.set_context( 'VIEW_CTX', 'TABLE_NAME', upper(p_table_name));
      end;
    select * from emp where 'EMP' = sys_context( 'VIEW_CTX', 'TABLE_NAME' );
    select * from emp1 where 'EMP1' = sys_context( 'VIEW_CTX', 'TABLE_NAME' );
    select * from emp2 where 'EMP2' =  sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    exec set_view_flag( p_table_name => 'EMP' );
    exec set_view_flag( p_table_name => 'EMP1' );
    exec set_view_flag( p_table_name => 'EMP2');
    SELECT sys_context( 'VIEW_CTX', 'TABLE_NAME' ) FROM DUAL
    CREATE VIEW THREE_TABLE_EMP_VIEW AS
    select * from emp where 'EMP' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    union all
    select * from emp1 where 'EMP1' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    union all
    select * from emp2 where 'EMP2' =  sys_context( 'VIEW_CTX', 'TABLE_NAME' )
    SELECT * FROM THREE_TABLE_EMP_VIEWNote that you set the context for the table you want. This doesn't have to be a table name it could just be flag value
    -- use the emp table
    exec set_view_flag( p_table_name => 'EMP' );
    -- ue the emp1 table
    exec set_view_flag( p_table_name => 'EMP1' );
    -- use the emp2 table
    exec set_view_flag( p_table_name => 'EMP2');

  • How do I stop the codec performer pop up page from coming up?

    It continues to pop up. I tried the suggestions but it still comes up.

    See this article. <br />
    http://malwaretips.com/blogs/please-install-codec-performer-update-removal/

  • How do I fix the BTW Performance Page

    When I do the speedtest and enter my phone number for Further Diagnoises.
    I get this error message:
    FAQ
    The Performance Tester is currently unable to run a speed test for your broadband connection. Please try again shortly, however if this problem persists, raise the issue with your service provider.
    I've had this message for months and cannot see my IP Profile etc

    gg30340 wrote:
    This often happens with the further diagnostics and there is nothing you can do about it other than to keep trying.
    Are you having problems with your speeds, why you need to see your IP profile. Your last post
    https://community.bt.com/t5/BT-Infinity-Speed-Connection/Terrible-PS4-Download-Speeds/m-p/1431160#M1...
    showed that you had good speeds.
    Have no problems with speeds, I just wondered why I could never access the IP Profile page.

  • OT: How can we tune the search performance from the HTMLDB side?

    This might be not an issue that can be solved by HTMLDB itself. However, I'd like to give a shot because our HTMLDB apps are 'killing' the server, according to our DBA. One app I made is querying a 50 million records table, so everytime the query is fairly slow. Is there any way to tune the performance? Our DBA suggests using other tools like Discoverer or Orable Form to do the work of HTMLDB.
    Thanks for the inputs.
    Luc

    not OT.
    as noted, you need to determine which SQL statements are the culprit (various ways, your DBA should be very happy to help)
    but if you are using wizards that include a search field, you may be falling victim to some very inefficient SQL generated by HTML-DB/Apex, for instance (created by the application wizard for an application based on a table, creating a page with a report and a form):
    select
    "ID",
    "OBJECT_OWNER",
    "OBJECT_TYPE",
    "OBJECT_NAME",
    "TAB_COMMENTS",
    "OBJECT_CREATED",
    "OBJECT_MODIFIED",
    "USAGE_NOTES",
    "OBSOLETE_FLAG"
    from "DEV_TAB_COMMENTS"
    where
    instr(upper("OBJECT_OWNER"),upper(nvl(:P1_REPORT_SEARCH,"OBJECT_OWNER"))) > 0 or
    instr(upper("OBJECT_TYPE"),upper(nvl(:P1_REPORT_SEARCH,"OBJECT_TYPE"))) > 0 or
    instr(upper("OBJECT_NAME"),upper(nvl(:P1_REPORT_SEARCH,"OBJECT_NAME"))) > 0 or
    instr(upper("TAB_COMMENTS"),upper(nvl(:P1_REPORT_SEARCH,"TAB_COMMENTS"))) > 0 or
    instr(upper("USAGE_NOTES"),upper(nvl(:P1_REPORT_SEARCH,"USAGE_NOTES"))) > 0 or
    instr(upper("OBSOLETE_FLAG"),upper(nvl(:P1_REPORT_SEARCH,"OBSOLETE_FLAG"))) > 0
    which will do a full table scan no matter what search criteria you enter, and cannot be fixed on the database side -- sometimes SQL can be fixed with the creation of function-based-indexes( FBI), that won't work here.
    if your pages have such SQL, it needs to be rewritten to take advantage of indexes (FBI or otherwise)

  • Shake the G5 case and listen to the coolant swoosh inside the LCS . . .

    So I have a new G5 PPC with dual 2.7 & lcs
    I'm familiar with them having reworked one already
    This one has no signs of cyrstlization on the cpus (as seen with flash light . .  havent removed the system yet)
    No signs of water leakage on the pad etc . . .
    Works great so far
    However . . .
    I pick up the case and shake it around lighlty and hear the cooling fluid swoosh around . . .
    Is this normal or does it indicate the lcs system has already lost some fluid enough to swoosh around noisily like this?
    Anyone else have a unit that does this?

    Im the original poster.
    FInally removed the LCS
    Its labeled as a panasonic and has 2 pumps
    As I have it now I can turn it upside down and around and still notice the water noise
    Again I would have thought these are filled to pressure and that there would be no water noise
    Maybe I'm being to critical? I'm not sure
    Is the slightest noise from these unacceptable?
    There are no signs of leaks
    Is there a danger of running it this way?
    There are copper tubes at the top, so I imagine any air or vacumm would be at the top?
    and nowhere near the cpu area?
    What do I need to know in case I put off re-filing the unit for the time being?

Maybe you are looking for

  • Possible to transfer photos from a camera to the iPhone without computer?

    Is it possible to transfer photos directly from a camera to the iPhone? Does anyone know of a device that will enable transfer or have a suggestion?

  • Share variables between JSP and Classes

    Hello ! Is there any way to share the same variables between JSP�s and Classes? For example... I have 20 variables in a JSP page (with values, like constants...) and I want to view their contents inside the classes... Is there any way? Maybe a import

  • How to check how many sales orders are pending

    Dear experts,            I would like to know in Sap what is the process to chech how many orders are still pending. I know some std tcodes for it I am little confused. Kindly help me how to find out.

  • Data deleted from Access appears to still be cached

    Hi, I have a simple routine that deletes data from a table in an access database. All works well except I if I search on a item that has just been deleted it appears. If I perform another transaction in between then my search on the deleted data fail

  • I can't backup my iphone with my last iphone sync help ?

    I recently had a problem with my iphone 4 that went to the screen that showed usb cable and itunes logo. After a lot I had to restore the whole thing so lost everything. Went to itunes to sync it with backup but in synced with the info I had in my pr