Why the same function ToolTipText behaves differently in Jar and in Class

Hi All! In my applet I use two similar statements from javax.swing:
jListTeaSortSelect.setToolTipText("To stop the alarm just click over here.");
jProgressBar1.setToolTipText("To stop the alarm just click over here.");
Both work correctly when I run my applet from classes.
Problem: When I run it from jar, composed from the same classes, second tool tip does not appear.
I have no idea on where to get a hint to the solution. Could that be that the problem is caused by other graphical components or by the layout of the container?
The applet and JAR in question with source code can be found on
http://www.kobylkin.net/TeaTimer.htm , and the source code is included below in this letter as well..
Thanks!
Egor
I do not include GNU GPL here, for histerical reasons [:-)]
* TeaTimerJApplet.java
* Created on 19. Januar 2002, 18:56
* Tea timer with sound alarm to brew your tea right for the best taste.
* Copyright Kobylkin Egor 2002. [email protected] www.kobylkin.net
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.applet.*;
import java.applet.Applet;
import java.net.*;
public class TeaTimerJApplet extends javax.swing.JApplet {
/** Creates new form TeaTimerJApplet */
public TeaTimerJApplet() {
initComponents();
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
private void initComponents() {//GEN-BEGIN:initComponents
java.awt.GridBagConstraints gridBagConstraints;
jListTeaSortSelect = new javax.swing.JList();
jButtonTimerStart = new javax.swing.JButton();
jProgressBar1 = new javax.swing.JProgressBar();
getContentPane().setLayout(new java.awt.GridBagLayout());
jListTeaSortSelect.setBorder(new
javax.swing.border.TitledBorder("Select the tea type"));
jListTeaSortSelect.setModel(new javax.swing.AbstractListModel() {
String[] strings = { "Test................10sec.", "Green
tea.........3min.", "Black tea...........4min.", "Black
tea...........5min.", "Mint, Coffee......8min." };
public int getSize() { return strings.length; }
public Object getElementAt(int i) { return strings; }
jListTeaSortSelect.setToolTipText("To stop the alarm just click
over here.");
jListTeaSortSelect.setName("jListTeaSort");
jListTeaSortSelect.setSelectedIndex(2);
jListTeaSortSelect.setSelectionBackground(java.awt.Color.yellow);
jListTeaSortSelect.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
jListTeaSortSelect.setAutoscrolls(false);
jListTeaSortSelect.addMouseListener(new
java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
jListTeaSortSelectMousePressed(evt);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
getContentPane().add(jListTeaSortSelect, gridBagConstraints);
jButtonTimerStart.setBackground(java.awt.Color.lightGray);
jButtonTimerStart.setText("Start the timer");
jButtonTimerStart.setToolTipText("<html>Visit me at
www.kobylkin.net <br> Copyright Kobylkin Egor 2002 under GNU GPL</html>");
jButtonTimerStart.setDoubleBuffered(true);
jButtonTimerStart.setMaximumSize(new java.awt.Dimension(180, 90));
jButtonTimerStart.setMinimumSize(new java.awt.Dimension(120, 27));
jButtonTimerStart.setNextFocusableComponent(jListTeaSortSelect);
jButtonTimerStart.setPreferredSize(new java.awt.Dimension(140,
27));
jButtonTimerStart.addActionListener(new
java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButtonTimerStartActionPerformed(evt);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
getContentPane().add(jButtonTimerStart, gridBagConstraints);
jProgressBar1.setToolTipText("To stop the alarm signal just click
over here.");
jProgressBar1.setMinimumSize(new java.awt.Dimension(140, 14));
jProgressBar1.setPreferredSize(new java.awt.Dimension(140, 14));
jProgressBar1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
jProgressBar1MousePressed(evt);
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 2;
getContentPane().add(jProgressBar1, gridBagConstraints);
}//GEN-END:initComponents
private void jListTeaSortSelectMousePressed(java.awt.event.MouseEvent
evt) {//GEN-FIRST:event_jListTeaSortSelectMousePressed
// Add your handling code here:
if ( timerIsRunningFlag == false )
jListTeaSortSelect.setBackground(java.awt.Color.white);
so.stop();
}//GEN-LAST:event_jListTeaSortSelectMousePressed
private void jProgressBar1MousePressed(java.awt.event.MouseEvent evt)
if ( timerIsRunningFlag == false )
jListTeaSortSelect.setBackground(java.awt.Color.white);
so.stop();
private void
jButtonTimerStartActionPerformed(java.awt.event.ActionEvent evt)
{//GEN-FIRST:event_jButtonTimerStartActionPerformed
//set the controls in dumb state:
jButtonTimerStart.setEnabled(false);
jListTeaSortSelect.setEnabled(false);
jListTeaSortSelect.setBackground(java.awt.Color.white);
switch ( jListTeaSortSelect.getSelectedIndex() ) {
case 0 : timerDelay = 500; break; //Test 10 sec.
case 1 : timerDelay = 9000; break; //Green tea 3 min.
case 2 : timerDelay = 12000; break; //Black tea 4 min.
case 3 : timerDelay = 15000; break; //Black tea 5 min.
case 4 : timerDelay = 24000; break; //Mint tea 8 min.
// every "timerDelay/100" seconds the progress bar status will be
set to be -5% less by timerTaskPerformer.
// After 20 times timerDelay will be less than 5% so the
timerTaskPerformer fires the alarm.
timer = new javax.swing.Timer(timerDelay, timerTaskPerformer);
timer.setRepeats(true);
timer.start();
timerIsRunningFlag = true;
progressBarStatus = 100;
jProgressBar1.setValue( progressBarStatus );
jButtonTimerStart.setLabel("Timer started");
so.stop();
}//GEN-LAST:event_jButtonTimerStartActionPerformed
private ActionListener timerTaskPerformer = new ActionListener() {
public void actionPerformed(ActionEvent evt) {
if (progressBarStatus > 5){ progressBarStatus-=5;
jProgressBar1.setValue(progressBarStatus);
}else{
timer.stop();
timerIsRunningFlag = false;
//user alarm actions
jListTeaSortSelect.setBackground (java.awt.Color.red);
Toolkit.getDefaultToolkit().beep();
so=getAudioClip(getCodeBase(), "spacemusic.au");
so.loop();
/* "Server not found" IE error.
open pop-up explorer window to alert user
try {
AppletContext ac = getAppletContext();
ac.showDocument( new URL( getCodeBase() +
"teaReady.html" ), "_self");
catch (MalformedURLException exc) {
showStatus("Cannot find file teaReady.html");
progressBarStatus = 0;
jProgressBar1.setValue( progressBarStatus );
//return to the initial state
jButtonTimerStart.setText("Start the tea timer");
jButtonTimerStart.setEnabled(true);
jListTeaSortSelect.setEnabled(true);
//Variables declaration
private int progressBarStatus = 100;
public boolean timerIsRunningFlag = false;
public int timerDelay;
private javax.swing.Timer timer;
public AudioClip so;
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jButtonTimerStart;
private javax.swing.JList jListTeaSortSelect;
private javax.swing.JProgressBar jProgressBar1;
// End of variables declaration//GEN-END:variables

Hi
What i understand from u'r problem is that when a jar is created and run under browser, ToolTipText for progress panel is not shown? is so is the case - i had no problems..
The code given was compiled and created a jar successfully..
this is how i created the jar..(under WindowsNT and MSIE)
jar cf TeaTimer.jar TeaTimerJApplet.class
TeaTimer.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<APPLET CODE="TeaTimerJApplet" archive="TeaTimer.jar" WIDTH="200" HEIGHT="200">
</APPLET>
</BODY>
</HTML>
cheers
Mohan

Similar Messages

  • RFC Function Module behaves differently in foreground and background

    Hi,
    I have RFC function module which works well when executed in debugg mode where as in normal mode it doesnt work as the time stamp is not changed and the record cannot be created with the same timestamp.
    Can anybody suggest any solution on how to change the current timestamp when still in the same LUW.
    Regards,
    Roberts.

    Hi,
    Use:
    T1 = SY-UZEIT.
    GET TIME.
    T2 = SY-UZEIT.
    T1 will be different from T2
    Best regards,
    Leandro Mengue

  • HT204053 Can my children and I use the same apple ID with different iPhone iPad and iPod ?

    I am having trouble with my new iPhone 5 address book and some updates on the apps store
    There's some old apple ID that is showing up. I don't even remember this email address
    What can I do to adjust all this
    Thanks

    You can certainly use the same ID for an itunes store account to share purchased items.  However for icloud, it's designed so that each account pertains to one user for each of his/her devices.  The main purpose of icloud is syncing and backups of iOS devices.  Do you really want to have the same email account, same contacts, calendars, notes, reminders, etc?  Usually a couple needs to have separate icloud accounts.  They can share calenders if they want.
    The danger of two users using one account is if one user edits or deletes (on purpose or accidentally) data, that will propagate to the other user's devices.

  • Although I can receive mail on my btinternet address I cannot reply or send. My settings , apart from user name are extactly the same as my wife's who has no problem.  We are the same account but with different user names and passwords.

    Settings use mail.btinternet.com as smtp, SsL is on, port 995

    Hello Bigstorr,
    It sounds like you are not able to send emails from your iPad.  I found a couple of resources that address issues with email on the iPad:
    Setting up and troubleshooting Mail
    https://www.apple.com/support/ipad/assistant/mail/
    iOS: Unable to send or receive email
    http://support.apple.com/kb/ts3899
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Just installed mountain Lion. Viewing a pdf sent to me using preview and some colors are appearing BLACK, however when I view the same PDF in Acrobat they are perfect and what they are suppose to be. WHY would PREVIEW showing a different color?

    Just installed mountain Lion. Viewing a pdf sent to me using preview and some colors are appearing BLACK, however when I view the same PDF in Acrobat they are perfect and what they are suppose to be. WHY would PREVIEW showing a different color?

    Here's what I've found on the issue:
    Pantone color definitions have changed (coinciding with CS6) — they are now "Pantone+" (I think that's what they're called). The "+" apparently means they're now LAB colors. Lab colors are not properly displayed in Preview (or in Finder previews) — they display as black (as far as I can tell, in all circumstances). I'm sure it's a tad more complicated than that, but that's the gist.
    Now the bad news — nobody seems to know anything about a fix or workaround (unless you convert your PDFs to process — this might be a fix for sending to clients). It causes issues for me in AI files — being able to view them in the finder (with previews) is a HUGE time saver for my workflow... when they're all black, not so much.
    In my chat with a director of product dev at Adobe, they placed the responsibility to fix on Apple (assuming Apple wants to support Pantone color definitions in their OS).

  • ICal has dropped a monthly event for the previous four months....... why did it disappear? and where is it?  It was the same event but a different day each month.

    iCal has dropped a monthly event for the previous four months....... why did it disappear? and where is it?  It was the same event but a different day each month.

      I installed this same digitizer in my T|X some weeks ago.  Some discussion of my experience may be found in this Usenet posting and subsequent thread.
      The stock digitizer in my T|X had always had some significant alignment issues (for which PowerDigi was able to compensate very nicely) and sensitivity which was uneven, but which usually required a heavier touch than I liked.
      Eventually, it began to develop a “dead spot” near the upper left.  My T|X was under warranty, so I probably ought to have sent it in to Palm to be repaired, but I wasn't willing to be without it for the required amount of time, and I've heard enough reports of other T|X owners getting unsatisfactory results this way.  I'd heard enough good reports about the PDAPARTS.COm digitizer, that I decided that the only acceptable way to repair my T|X would be to install one of those.
      After however many weeks it has been, I am still very pleased with the results.  It continues to work flawlessly; it is much more sensitive, so it doesn't require nearly so heavy a touch, and I very much like the hard feel that it has, compared to the spongier feel of the stock digitizer.
      My wife's T|X still has its stock digitizer, and it has so far not shown any of the same problems that mine did, or for which the T|X has become notorious, but the feel is noticeably inferior.  She's content with it the way it is, but I think that if I were to ever buy another T|X for myself, I wouldn't wait for the stock digitizer to fail.  The PDAPARTS.COM digitizer is simply superior in every imaginable way; and, in my opinion, a T|X with the PDAPARTS.COM digitizer installed is sufficiently superior to one with the stock digitizer (even if it isn't defective) to be very much worth the expense and trouble of installing it.
    Post relates to: Palm TX

  • NSArray of UIButtons calling the same function

    I've been thinking and searching and I can't figure it out. I've come across these two threads which seem to be pieces of my issue:
    http://discussions.apple.com/message.jspa?messageID=7891554
    http://discussions.apple.com/thread.jspa?threadID=1985019&tstart=0
    I'm basically attempting to create an array of 9 UIButtons which will all call the same function, but I need to know which button was clicked.
    I'm not entirely sure how to create the NSArray of buttons, and when I include (id)sender with the selectSquare function, it doesn't work. Any help is much appreciated!
    // Square a1
    a1 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    [a1 setFrame:CGRectMake(0.0f, 0.0f, 70.0f, 70.0f)];
    [a1 setBackgroundImage:[UIImage imageNamed:@"black.png"] forState:UIControlStateNormal];
    [a1 setCenter:CGPointMake(60.0f, 200.0f)];
    [a1 addTarget:self action:@selector(selectSquare) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:a1];
    // I currently have the previous "a1" button code repeated 9 times, each
    // with a different button name... I want to put all these in a single
    // array instead
    -(void) selectSquare:(id) sender {
    if(turn == x) {
    [sender setBackgroundImage:[UIImage imageNamed:@"x_button.png"] forState:UIControlStateNormal];
    statusImage.image = [UIImage imageNamed:@"o_image.png"];

    TicTacToe indeed!
    The positions I have for my buttons seemed to be perfect when I tested them, so I just went with that vs. using IB.
    As for the tag property, would it just be an int? Like:button1.tag = 5And then use the tag as that button's index in the array? So the button with tag 5 would be the 6th element?
    Also, I'm still not sure on why -(void) selectSquare:(id) sender; doesn't work. When I click on "a1" (the current button with an action assigned to it), the simulator does nothing and then brings Xcode to the front... But when I take out (id)sender, it works fine.
    In the second thread I posted, somebody mentioned something about unbinding and rebinding control actions to fix this, but I'm not too sure what that process entails.
    Here is my interface for that controller:#import <UIKit/UIKit.h>
    @interface TicTacToeViewController : UIViewController {
    UIImageView *statusImage;
    UIButton *playButton;
    UIButton *a1;
    UIButton *a2;
    UIButton *a3;
    UIButton *b1;
    UIButton *b2;
    UIButton *b3;
    UIButton *c1;
    UIButton *c2;
    UIButton *c3;
    //IBOutlet UILabel *gameText;
    //IBOutlet UILabel *x_score;
    //IBOutlet UILabel *o_score;
    //IBOutlet UILabel *round;
    NSInteger turn;
    //NSInteger xscorevalue;
    //NSInteger oscorevalue;
    @property(nonatomic,retain) IBOutlet UIImageView *statusImage;
    @property(nonatomic, retain) UIButton *playButton;
    @property(nonatomic, retain) UIButton *a1;
    @property(nonatomic, retain) UIButton *a2;
    @property(nonatomic, retain) UIButton *a3;
    @property(nonatomic, retain) UIButton *b1;
    @property(nonatomic, retain) UIButton *b2;
    @property(nonatomic, retain) UIButton *b3;
    @property(nonatomic, retain) UIButton *c1;
    @property(nonatomic, retain) UIButton *c2;
    @property(nonatomic, retain) UIButton *c3;
    //@property(nonatomic,retain) IBOutlet UILabel *gameText;
    //@property(nonatomic,retain) IBOutlet UILabel *x_score;
    //@property(nonatomic,retain) IBOutlet UILabel *o_score;
    //@property(nonatomic,retain) IBOutlet UILabel *round;
    @property(nonatomic) NSInteger turn;
    //@property(nonatomic) NSInteger x_score;
    //@property(nonatomic) NSInteger o_score;
    //-(void)reset:(BOOL) newGame;
    -(void) selectSquare:(id) sender;
    @end

  • Parallel run of the same function from multiple jobs

    Hello, everyone!
    I have a function which accepts a date range, reads invoices from a partitioned by date table and writes output to a partitioned by invoice table. Each invoice can have records only with one date, so both tables may have one invoice only in one partition, i.e. partitions do not overlap. Function commits after processing each date. The whole process was running about 6 hrs with 46 million records in source table.
    We are expecting source table to grow over 150 million rows, so we decided to split it into 3 parallel jobs and each job will process 1/3 of dates, and, as a result, 1/3 of invoices.
    So, we call this function from 3 concurrent UNIX jobs and each job passes its own range of dates.
    What we noticed, is that even if we run 3 jobs concurrently, they do not run this way! When 1st job ends after 2 hrs of run, the number of commited rows in the target table is equal to the number of rows inserted by this job. When 2nd job ends after 4 hrs of run, the number of rows in the target table is equal the summary of two jobs. And the 3rd job ends only after 6 hrs.
    So, instead of improving a process by splitting it into 3 parallel jobs we ended up having 3 jobs instead of one with the same 6 hrs until target table is loaded.
    My question is - How to make it work? It looks like Oracle 11g is smart enough to recognize, that all 3 jobs are calling the same function and execute this function only once at the time. I.e. it looks like only one copy of the function is loaded into the memory at the same even if it called by 3 different sessions.
    The function itself has a very complicated logic, does a lot of verifications by joining to another tables and we do not want to maintain 3 copies of the same code under different names. And beside this, the plan is that if with 150 mln rows we will have a performance problem, then split it to more concurrent jobs, for example 6 or 8 jobs. Obviously we do not want to maintain so many copies of the same code by copying this function into another names.
    I was monitoring jobs by quering V$SESSION and V$SQLAREA ROWS_PROCESSED and EXECUTIONS and I can see, that each job has its own set of SID's (i.e. runs up to 8 parallel processes), but number of commited rows is always eqal to the number of rows from the 1st job, then 2nd+1st, etc. So, it looks like all processes of 2nd and 3rd jobs are waiting until 1st one is done.
    Any ideas?

    OK, this is my SQL and results (some output columns are ommited as irrelevant)
    SELECT
            TRIM ( SESS.OSUSER )                                                        "OSUser"
          , TRIM ( SESS.USERNAME )                                                      "OraUser"
          , NVL(TRIM(SESS.SCHEMANAME),'------')                                         "Schema"
          , SESS.AUDSID                                                                 "AudSID"
          , SESS.SID                                                                    "SID"
          , TO_CHAR(SESS.LOGON_TIME,'HH24:MI:SS')                                       "Sess Strt"
          , SUBSTR(SQLAREA.FIRST_LOAD_TIME,12)                                          "Tran Strt"
          , NUMTODSINTERVAL((SYSDATE-TO_DATE(SQLAREA.FIRST_LOAD_TIME,'yyyy-mm-dd hh24:mi:ss')),'DAY') "Tran Time"
          , SQLAREA.EXECUTIONS                                                          "Execs"
          , TO_CHAR(SQLAREA.ROWS_PROCESSED,'999,999,999')                               "Rows"
          , TO_CHAR(TRAN.USED_UREC,'999,999,999')                                       "Undo Rec"
          , TO_CHAR(TRAN.USED_UBLK,'999,999,999')                                       "Undo Blks"
          , SQLAREA.SORTS                                                               "Sorts"
          , SQLAREA.FETCHES                                                             "Fetches"
          , SQLAREA.LOADS                                                               "Loads"
          , SQLAREA.PARSE_CALLS                                                         "Parse Calls"
          , TRIM ( SESS.PROGRAM )                                                       "Program"
          , SESS.SERIAL#                                                                "Serial#"
          , TRAN.STATUS                                                                 "Status" 
          , SESS.STATE                                                                  "State"
          , SESS.EVENT                                                                  "Event"
          , SESS.P1TEXT||' '||SESS.P1                                                   "P1"
          , SESS.P2TEXT||' '||SESS.P2                                                   "P2"
          , SESS.P3TEXT||' '||SESS.P3                                                   "P3"
          , SESS.WAIT_CLASS                                                             "Wait Class"
          , NUMTODSINTERVAL(SESS.WAIT_TIME_MICRO/1000000,'SECOND')                      "Wait Time"
          , NUMTODSINTERVAL(SQLAREA.CONCURRENCY_WAIT_TIME/1000000,'SECOND')             "Wait Concurr"
          , NUMTODSINTERVAL(SQLAREA.CLUSTER_WAIT_TIME/1000000,'SECOND')                 "Wait Cluster"
          , NUMTODSINTERVAL(SQLAREA.USER_IO_WAIT_TIME/1000000,'SECOND')                 "Wait I/O"
          , SESS.ROW_WAIT_FILE#                                                         "Row Wait File"
          , SESS.ROW_WAIT_OBJ#                                                          "Row Wait Obj"
          , SESS.USER#                                                                  "User#"
          , SESS.OWNERID                                                                "OwnerID"
          , SESS.SCHEMA#                                                                "Schema#"
          , TRIM ( SESS.PROCESS )                                                       "Process"
          , NUMTODSINTERVAL(SQLAREA.CPU_TIME/1000000,'SECOND')                          "CPU Time"
          , NUMTODSINTERVAL(SQLAREA.ELAPSED_TIME/1000000,'SECOND')                      "Elapsed Time"
          , SQLAREA.DISK_READS                                                          "Disk Reads"
          , SQLAREA.DIRECT_WRITES                                                       "Direct Writes"
          , SQLAREA.BUFFER_GETS                                                         "Buffers"
          , SQLAREA.SHARABLE_MEM                                                        "Sharable Memory"
          , SQLAREA.PERSISTENT_MEM                                                      "Persistent Memory"
          , SQLAREA.RUNTIME_MEM                                                         "RunTime Memory"
          , TRIM ( SESS.MACHINE )                                                       "Machine"
          , TRIM ( SESS.TERMINAL )                                                      "Terminal"
          , TRIM ( SESS.TYPE )                                                          "Type"
          , SQLAREA.MODULE                                                              "Module"
          , SESS.SERVICE_NAME                                                           "Service name"
    FROM    V$SESSION    SESS
    INNER JOIN V$SQLAREA    SQLAREA  
       ON SESS.SQL_ADDRESS  = SQLAREA.ADDRESS
       and UPPER(SESS.STATUS)  = 'ACTIVE'
    LEFT JOIN  V$TRANSACTION  TRAN
       ON  TRAN.ADDR         = SESS.TADDR
    ORDER BY SESS.OSUSER
            ,SESS.USERNAME
            ,SESS.AUDSID
            ,NVL(SESS.SCHEMANAME,' ')
            ,SESS.SID
    AudSID     SID     Sess Strt     Tran Strt     Tran Time     Execs     Rows     Undo Rec     Undo Blks     Sorts     Fetches     Loads     Parse Calls     Status     State     Event     P1     P2     P3     Wait Class     Wait Time     Wait Concurr     Wait Cluster     Wait I/O     Row Wait File     Row Wait Obj     Process     CPU Time     Elapsed Time     Disk Reads     Direct Writes     Buffers     Sharable Memory     Persistent Memory     RunTime Memory
    409585     272     22:15:36     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITED SHORT TIME     PX Deq: Execute Reply     sleeptime/senderid 200     passes 2     0     Idle     0 0:0:0.436000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     7     21777     22739     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409585     203     22:30:01     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.9674000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     25     124730     4180     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409585     210     22:30:01     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.11714000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     24     124730     22854     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409585     231     22:30:01     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.4623000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     46     21451     4178     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409585     243     22:30:01     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITED SHORT TIME     PX qref latch     function 154     sleeptime 13835058061074451432     qref 0     Other     0 0:0:0.4000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     35     21451     3550     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409585     252     22:30:01     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.19815000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     49     21451     22860     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409585     273     22:30:01     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.11621000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     22     124730     4182     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409585     277     22:30:01     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     db file parallel read     files 20     blocks 125     requests 125     User I/O     0 0:0:0.242651000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     39     21451     4184     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409585     283     22:30:01     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.2781000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     42     21451     3552     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409585     295     22:30:01     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.24424000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     40     21451     22862     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409585     311     22:30:01     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.15788000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     31     21451     22856     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409586     242     22:15:36     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITED KNOWN TIME     PX Deq: Execute Reply     sleeptime/senderid 200     passes 1     0     Idle     0 0:0:0.522344000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     28     137723     22736     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409586     192     22:29:20     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.14334000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     31     21462     4202     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409586     222     22:29:20     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.16694000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     37     21462     4194     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409586     233     22:29:20     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.7731000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     44     21462     4198     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409586     253     22:29:20     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     db file parallel read     files 21     blocks 125     requests 125     User I/O     0 0:0:0.792518000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     39     21462     4204     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409586     259     22:29:20     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.2961000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     35     21462     4196     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409586     291     22:29:20     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq Credit: send blkd     sleeptime/senderid 268566527     passes 1     qref 0     Idle     0 0:0:0.9548000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     35     21462     4200     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409587     236     22:15:36     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq: Table Q Normal     sleeptime/senderid 200     passes 2     0     Idle     0 0:0:0.91548000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     25     124870     22831     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409587     207     22:30:30     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq: Execution Msg     sleeptime/senderid 268566527     passes 3     0     Idle     0 0:0:0.644662000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     43     21423     4208     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409587     241     22:30:30     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     PX Deq: Execution Msg     sleeptime/senderid 268566527     passes 3     0     Idle     0 0:0:0.644594000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     47     21423     4192     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448
    409587     297     22:30:30     22:15:36     0 0:14:52.999999999     302     383,521               305     0     1     3598          WAITING     db file parallel read     files 20     blocks 109     requests 109     User I/O     0 0:0:0.793261000     0 0:0:1.124995000     0 0:0:0.0     0 1:56:15.227863000     12     21316     4206     0 0:25:25.760000000     0 2:17:1.815044000     526959     0     25612732     277567     56344     55448Here I found one interesting query http://www.pythian.com/news/922/recent-spike-report-from-vactive_session_history-ash/
    But it does not help me

  • Why Reports format behaves different in Excel and browser(if desformat=html or pdf)?

    1-Why Reports format behaves different in Excel and browser(if desformat=html or pdf)?
    2-I made three queries Q1,Q2 & Q3 and linked them with proper field links but suppose Q3 returns no records for some Q1&Q2 records & when the report runs for delimited options it reflects only those records as output for which all the queries return records(if Q3 returns no record then the related records from queries Q1,Q2 don't reflect) while the output in desformat=html or pdf is ok..
    can you please resolve my problems
    ( I have installed patch 5a in my report server machine)
    Thanks & Regds.
    Suneel
    null

    What do you mean by "different"? (In our
    experience, Oracle html output has too many
    columns, which are not visible in the
    browser but are obvious in Excel.)
    We build our own html programmatically, so
    that Excel matches the browser more closely.
    -- Allan Plumb

  • Loading in a second Actions panel with the same functionality as the first, but independent from it

    The actions panel is perfect at what it does; however, if you have a few action sets and, in order to eliminate scrolling, you need to expand them into a double row of buttons, it quickly becomes difficult to maintain. As soon as you delete an action or add an action to it, it disorders the others and you have to reorganize again, which becomes a vicious cycle. I like to keep things organised and neat with all that I do and pretty much the only way to have this feature is to expand it on the back end of the software or, if possible, create a script that loads a second Actions panel with the same functionality as the first but completely independent from it. I assume that the SDK will not allow us to expand on the software in this particular way, as Photoshop is not open source; however, maybe this suggestion will be taken into account for future updates or versions since I have yet to find a suitable way to do this.
    Thank you in advance.
    Kind regards

    That would depend on the links on the page. Some pages have links that refer to different areas on the same page. If you want to force a link to open in a new tab, you can middle-click it.

  • Vhd has the sama function as virtual machine or hyper-v in windows 8

    hi,
    is VHD has the same function as  hyper-v or virtual machine. if yes then I can make virtual machine from windows 7 home premium if the hardware support it.
    thanks
    johan
    h.david

    All VHDs are Virtual Machines and have the same function since they emulate a hardware environment, but they are not compatible between the different VM software.  They each have their own structure and are not directly compatible.  There are utilities
    that can be found on the internet that claim to export or import VMs from varies different VM software.
    Windows 7 XP Mode and Virtual PC use the same structure, but Hyper-V is a different structure.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Exchange 2010 disconnect AD user from mailbox and reconnect the mailbox to a new copy of the same user with a different username

    How can i get the following done:
    Exchange 2010 disconnect AD user from mailbox and reconnect the mailbox to a new copy of the same user with a different username?
    i nmust do this for 16 users TODAY, SO PLEASE HELP ME OUT HERE.
    Thanks in advance!!
    kind regards,
    Rene Veldman
    System Administrator Teidem bv, The Netherlands.

    Rene,
    Why are you not changing the username of the existing account, instead of deleting the existing one and creating a new one?
    If you truly need to delete and create new, you can save the GUID for the mailbox (Get-MailboxStatistics <mailbox alias> | Fl MailboxGuid), mail disable the existing account (Disable-Mailbox <mailbox alias>
    will work), clean the mailbox database it was hosted on (Clean-MailboxDatabase
    <database name>), then create your new account and recover the existing mailbox to that new account (Connect-Mailbox -Identity <Guid from before> -Database <Database name> -User <SAM account name of new account> -Alias
    <what you wish to set the alias to>).  In PowerShell, for all steps, you would do the following:
    $MbxAlias = <mailbox alias>
    $NewMbxAcct = <SAM Account Name for new account>
    $NewMbxAlias = <new alias for mailbox>
    $DomCtrl = (dir env:\LOGONSERVER).Value.Substring(2)
    $MbxGuid = (Get-MailboxStatistics $MbxAlias -DomainController $DomCtrl).MailboxGuid
    $MbxDb = (Get-Mailbox $MbxAlias -DomainController $DomCtrl).Database
    Disable-Mailbox $MbxAlias
    Clean-MailboxDatabase $MbxDb
    Connect-Mailbox -Identity $MbxGuid -Database $MbxDb -User $NewMbxAcct -Alias $NewMbxAlias -DomainController $DomCtrl
    You will need to supply the information in bold in the above commands, and you will need to create the new account before you run the above commands.  I include direct use of a specific domain controller so you won't need to worry about replication. 
    If you are changing the account from one domain to another, this will not help, and you will need to wait for replication throughout the process, running the commands individually.

  • I am unable to bookmark the same website in two different bookmark folders without one being automatically deleted by Firefox?

    I am a recent convert to Firefox. Regarding bookmarks: it seems that you cannot create a new bookmark the same website in two or more different bookmark folders. For example, if I bookmark a website in a bookmark folder called 'ABC' and then bookmark the same website in a different bookmark folder called XYZ, the bookmark will be in XYZ, but will be removed from ABC. This happens even when I assign a different name for the bookmark in ABC and XYZ.
    Is this the correct bookmark functionality or am I not doing something correctly? Thanks.

    You can do a Copy & Paste in the Bookmarks Manager (Shift+Ctrl+B) to create a copy of a bookmark.
    You can also drag the (fav)icon on the left end of the location bar to a folder in the Bookmarks menu drop down list or to a folder in the side bar (Ctrl+B) or to the Bookmarks Toolbar.
    In the side bar you need to click to the left of the icon to prevent Firefox from opening the bookmark.

  • JNI : Two native libraries with the same functions

    Hello,
    I have two versions of the same native library like "abc_v1.sl" and "abc_v2.sl".
    They have the same functions but they act differently.
    I want to use both of them in parallel (each in its own thread) but only the functions of the first loaded library are being called.
    Isn't there any possibility to load each native library in a different name space... maybe a different JVM?
    Any help will be appriciated.
    Thank you!

    Isn't there any possibility to load each native library in a different name space... maybe a different JVM?Naturally if you have different processes (different VMs) then each can load a different version.
    This might actually be easier to do. Especially if you think that you are going to be adding more versions. It would require that you implement a communication api from each of thes to your main application.
    If you want to do it in in a single process then you have some work to do in C. It has nothing to do with java or JNI.
    Basically you need to dynamically load each library and the create a thunk to each method you want to access. Where 'thunk' represents a dynamic descriptor that allows you to dynamically call the method.
    What you are doing now is statically loading the libraries. So that won't work.
    You can search on your platform/compiler for examples on how to do that.

  • How do i make the same song have two different genre

    how do i make the same song have 2 different genre for 2 different playlist?

    In my example, we will create a Smart Playlist that includes all songs in the genre Acid Jazz and one extra song that has the genre of Afro-beat. That extra song will be "Music For Gong Gong". To create your Smart Playlist, substitute the genre types and the song title (anything with <  > around it) for the ones you want.
    In your iTunes Library, either click on the + symbol in the lower left corner of iTunes playlists, or click CTRL+ALT+N to create a New Smart Playlist. The following will appear (my orange numbering):
    1. Using the drop-down menus, change "Artist" to Genre, "contains" to is and in the text box (marked 1) type in the text <Acid Jazz> (remember to chose the genre you want, and with the exact spelling used for that genre in your library - don't type in the <  > obviously!)
    2. Click on the + symbol at the end of that line (marked 2), which creates an additional line
    3. In this new line, change "Artist" to Grouping, change "contains" to is and in the text box type in <Acid Jazz> (Notice that I have used the same name as the genre itself. You don''t have to, but it makes it easier to add those extra songs. You'll understand why in step 7.) You now have a box like this:
    4. Change the Match rule at the top (notice it has already changed in the two screenshots above) to any. This is a crucial step, do not forget it.
    5. Notice that I have also selected Match only ticked items. This is optional, but selecting it will exclude songs that have been unticked. If you use Sync only ticked songs and videos, this can be useful way of keeping the Playlist the same as the one on your device.
    6. Click the OK button. You now have the opportunity to name your Playlist. I have chosen <Genre is Acid Jazz +> so that it is obvious what it is.
    So that's the Playlist created. As you can see, <Genre is Acid Jazz +> has 89 songs in it and I can assure you that's how many songs are in the Acid Jazz genre section. Now, all that remains is to add the additional song.
    7. Find your "two-genre" song and click File/Get Info/Info (or CTRL+I - that's an "eye") to bring up the edit song option. In the Grouping field, type in <Acid Jazz> (remember to use the same text you used in the Grouping box in step 3. This means you only have to type in the same genre name to the Grouping box,  to get it into that particular Playlist. I mentioned this in step 3).
    Notice that we are not changing the Genre. Click the OK button.
    Now look at the Playlist <Genre is Acid Jazz +> again.
    Notice that is now has 90 songs and at number 60 is the <Music For Gong Gong>. Note that the genre for that song is still Afro-beat, so the song still appears in the genre Afro-beat as well.
    To add any other song to this particular two-genre Playlist, simply find the song in your Library and type <Acid Jazz> into the Grouping box, as in step 7. It's that simple!
    Here's an extra tip. Too many Playlists and having issues finding your way through them?
    I have renamed the Playlist Genre is Acid Jazz + so that it is now named Acid Jazz Plus and I've dropped it into a Playlists Folder named GENRES (capitals makes it easy to find the folders on iDevices).
    Notice that here in iTunes, Playlists are sorted in the following order:
    Playlist Folders (and then the Smart Playlists and Regular Playlists inside it)
    Smart Playlists
    Regular Playlists
    ... but on my iPod Classic (for example), they are sorted in alphabetical order. So to find the Playlist Acid Jazz Plus, go into the Playlists menu and scroll down to G, go into GENRES, and in there will be Acid Jazz Plus, with all 90 songs!
    I hope you will give this a try, you have nothing to lose but a little time. Let us (all) know how you get on with it. We'd like to know.

Maybe you are looking for

  • I'd like to transfer all of my songs from iTunes from my old laptop (windows) to a newer laptop (mac).  Is it possible to do this?  If so, how?

    I'd like to transfer all of my songs from iTunes from my old laptop (windows) to a newer laptop (mac).  Is it possible to do this?  If so, how?

  • Drag and drop with JPanel

    Hi there, I have JPanel which contains label and image icon and i want to drag them out to another panel and droped there. Is this really doable with swing. Please share your thoughts with me Thanks, - Prashant

  • Broken DCs

    I am running WAS640 SP11.  I am using development scenario 2+.  I have two buildspaces WAS_APPL_C & WAS_APPL_D.  In WAS_APPL_C, I have 5 broken DCs for example.org.  In WAS_APPL_D I have none. The same DCs for appl/tax etc. are green in WAS_APPL_D. 

  • Prob during creation of info package

    When I create an info package by right clicking on the data source, the master data object name is shown and I say save and it is not coming up in the data selection tab of the info package while creating....what could be the error...pl. help thanks

  • Camera Raw 8.1 Betaの感想

    先日Adobe Labsで出ました「Camera RAW 8.1 Beta」を試しました. 完成版にむけて感じた事を少しお伝え出来ればと思います. 新たに変更された「ワークフローオプション」にとても嬉しく思いました. 変更前 8.1で書き出し(保存)のサイズの調整が行なえるようになりました. とても嬉しいです. しかし.前の設定がデフォルトに残っていてもいいのではないかと思いました. もう一つはカラースペース(Color Space)の疑問. カラースペースの所にソフト校正が入るようですね.こち