Erratic scrolling of Swing scrn for jdk131

Hi,
While upgrading my Project from ibmjdk122 to ibmjdk131, I am facing problem with Erratic scrolling of Swing screens which scrolled fine for ibmjdk122.
I replaced registerKeyboardAction() method with getInputMap() and getActionMap().
As an action is used in new method getActionMap(), I created an action using AbstractAction as mentioned by Shannon Hickey.
The problem is AbstractAction is defining a method actionperformed(), which is already defined in the same class where I am using them.
Eventhough, it is compiling,while running, it is just hanging.
Any solution how to use the existing actionperformed() method to create the required Action for getActionMap()?
or is any other way to solve this problem?
the method registerKeyboardAction() is mentioned as obsolete in jdk131 documentation, hence I feel that cud be causing the above problem.
But shd an obsolete method compile if it is no longer functional ( it compiles OK for ibmjdk131) - If No.... what is the diff betn an obsolete method & depricated method.
Pls help.
Thanks in advance.
Krishna V

Hi @Rafi2014 ,
Welcome to the HP forum!
To get your issue more exposure I would suggest posting it in the commercial forums since the {insert product model} is a commercial product. You can do this at Commercial/Notebook - HP ProBook, EliteBook, Compaq, Slate/Tablet PC, Armada, LTE
The support page for your product may be helpful in the meantime: Hp Probook 450.
You will need to select your correct model of HP 450 and follow the on screen prompts to display the support page.
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

Similar Messages

  • Swing component for awt.canvas

    Hi,
    Can anyone tell me the equivalent SWING component for awt CANVAS. I need it because i need to display only Images (nothing else) on it. If anyone can tell how I can do it.

    JPanel is the Swing-equivalent of java.awt.Canvas, but if you are just displaying images, you can use the JLabel class, which supports use of images as icons (see also ImageIcon class).
    Mitch Goldstein
    Author, Hardcore JFC (Cambridge Univ Press)
    [email protected]

  • Java Swing frame for modification Excel file or Word file with All menu...

    Hello All,
    Can Any one help me for making java Swing frame for modification Excel Data or word file with all Menu.. Plz send me java Code for that.. I am bit new in Swing.
    i am waiting for ur help..
    Thanks
    Samir

    hi pbrockway2 ,
    Can you go through this program Sir, i am trying to call Excel content below of menu. when i will press Edit button then excel content should come below with Cut, copy, paste , Save Button..
    Plz help me sir...
    import javax.swing.*;
    import java.io.*;
    import java.awt.event.*;
    public class TestReader
    private static void createAndShowUI()
    JFrame.setDefaultLookAndFeelDecorated(true);
    JFrame frame=new JFrame("Test Reader");
    JButton button=new JButton("Edit");
    button.addActionListener(new ButtonListener());
    frame.getContentPane().add(button);
    frame.setVisible(true);
    frame.pack();
    static class ButtonListener implements ActionListener
    public void actionPerformed(ActionEvent event)
    openTheFile();
    private static void openTheFile()
    try
    String commands[]=new String[3];
    commands[0]="cmd.exe";
    commands[1]="/C";
    commands[2]="INSTALL.LOG"; // here file name is supposed to be in the working dir
    Runtime rt=Runtime.getRuntime();
    Process proc=rt.exec(commands);
    StreamGobbler errorGobbler=new StreamGobbler(proc.getErrorStream(),"ERROR");
    StreamGobbler outputGobbler=new StreamGobbler(proc.getInputStream(),"OUTPUT");
    errorGobbler.start();
    outputGobbler.start();
    catch (Exception e){}
    public static void main(String args[])
    SwingUtilities.invokeLater(new Runnable()
         public void run()
         createAndShowUI();
    static class StreamGobbler extends Thread
    InputStream is;
    String type,root;
    StreamGobbler(InputStream is,String type)
    this.is=is;
    this.type=type;
    public void run()
    try
    InputStreamReader isr=new InputStreamReader(is);
         BufferedReader breader=new BufferedReader(isr);
         String line=null;
         while ((line=breader.readLine())!=null)
         System.out.println(type+">"+line);
    catch (Exception e)
         System.out.println(e);
    Thanks
    SamiR

  • Just downloaded OS X Lion. Now, there's no curser bar to scroll up or down for any of the pages I access....if I use the keyboard arrows for up/down, there is a temporary scroll bar, however it disappears after a few moments. Help!!

    Just downloaded OS X Lion. Now, there's no curser bar to scroll up or down for any of the pages I access....if I use the keyboard arrows for up/down, there is a temporary scroll bar, however it disappears after a few moments. Help!!

    Go to System Preferences->General. There you can set how you wamt thescrool bars to behave.
    If you want to see the scrool bars all the time select Always

  • Where can I downlaod java swing library for JDk?

    where can I downlaod java swing library for JDk?

    Are you sure you don't have Swing? It comes with the JDK. If you don't have it, look at http://java.sun.com/products/jfc/download.html
    If you are using JDK 1.1, you can download Swing alone - but be aware that this is an old version. You would be best advised to download the Java SDK 1.3.1, which includes Swing 1.1.
    Regards,
    Matt

  • Swing GUI for Javadoc

    Hi everyone,
    I'm trying to learn some basic IO and Swing. My project is to make a Swing GUI for javadoc. It's supposed to run at least under W2K and XP.
    The Swing part is going fine, but I can't seem to get IO-part working.
    I tried working with the Runtime- and the Process-class, but I don't can't seem to execute javadoc or read any command-line output. Here's a sample of code that compiles ok, but doesn't do anything.
    try {
    Process p = Runtime.getRuntime().exec("javadoc");
    InputStream in = p.getInputStream();
    String s = in.toString();
    System.out.println(s);
    System.out.println();
    System.out.println(process.waitFor());
    System.out.println();
    System.out.println(process.exitValue());
    System.out.println();
    System.out.println(""+process);
    } catch (Exception e) {
    System.out.println("error");
    if anyone has any tips, suggestions or simple code samples, I would be very happy to hear from you.

    Alright, I figured out how to read the inputstream, but
    I still get an error:
    Windows 2000
    start
    <ERROR>
    javadoc: No packages or classes specified.
    and the program doesn't terminate for some reason.
    here's the new sourcecode:
    import java.io.*;
    public class JavaDocCommander {
         public static void main(String[] args) {
              System.out.println(System.getProperty("os.name"));
              System.out.println("start");
              new Test();
              System.out.println("slut");
    class Test{
         public Test(){
              try {           
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec("javadoc");
    InputStream stderr = proc.getErrorStream();
    InputStreamReader isr = new InputStreamReader(stderr);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    System.out.println("<ERROR>");
    while ( (line = br.readLine()) != null)
    System.out.println(line);
    System.out.println("</ERROR>");
    int exitVal = proc.waitFor();
    System.out.println("Process exitValue: " + exitVal);
    } catch (Throwable t)
    t.printStackTrace();
              

  • MB Air two finger scroll does not work for a user but does for another

    Hi
    MB Air. 10.9.3.
    Defective Trackpad was just replaced. Two finger scroll does not work for the main user. I made a test log in and two finger scroll works. I booted off an external drive and two finger scroll works.
    I pulled all of the user preferences out, logged out and in and still does not work. Zapped PRAM. Checked all trackpad settings. No luck.
    Tried this in Terminal:
    defaults write -g com.apple.trackpad.scrollBehavior 2
    Any ideas?

    This sounds strange but check the settings in Settings>Accessability for the track pad. I belive your problem lies there not in Track Pad set up in Settings.

  • How to do scrolling in swings

    this is the code,i'm not getting scrolling,if i add more no. of components.
    Pl.help me
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.net.*;
    import javax.swing.JOptionPane.*;
    import java.io.*;
    import javax.swing.colorchooser.*;
    import javax.swing.filechooser.*;
    import javax.accessibility.*;
    import javax.swing.border.*;
    import java.sql.*;
    public class Signup extends JFrame
         JLabel p1,p2,p3,p4,p5,p6,uid,upass,cpass,fname,sname,hint,sl,ed,age,adr,cit,zip;
         JTextField uname,fnamet,snamet,hintt,adrt,adrt1,city,zipcode;
         JPasswordField upassw,cpassw;     
         JComboBox sex,education,agegr;
         Signup()
         Container c=getContentPane();
         c.setLayout(null);
         c.setBackground(Color.white);
    p1=new JLabel("Create Your Icafe!ID",10);
         p2=new JLabel("Personal Information");
         p3=new JLabel("User Address");
         p4=new JLabel("Tell Us About Your Hobbiess (Optional) ");
         p5=new JLabel("Tell us something about what you like. This will help us choose the kind of content to display on           your pages.");
         p6=new JLabel("--------------------------------------------------------------------------------");
    uid=new JLabel("User Id");
         upass=new JLabel("Password");
         cpass=new JLabel("Confirmation Password");
         fname=new JLabel("UserName");
         sname=new JLabel("SurName");
         hint=new JLabel("Hint Question");
    sl=new JLabel("Sex");
         ed=new JLabel("Education");     
         age=new JLabel("Age Group");     
         adr=new JLabel("Address");
    cit=new JLabel("City");
    zip=new JLabel("ZipCode");
         uname=new JTextField(10);
         uname.requestFocus();     
         uname.setToolTipText("UserName");
    upassw=new JPasswordField(10);
         upassw.setToolTipText("Password");
         upassw.setEchoChar('*');
         cpassw=new JPasswordField(10);
         cpassw.setToolTipText("Confirmation Password");
         cpassw.setEchoChar('*');
         fnamet=new JTextField(10);
         fnamet.setToolTipText("FullName");
         snamet=new JTextField(10);
         snamet.setToolTipText("SurName");
         hintt=new JTextField(10);
         hintt.setToolTipText("Hint Question");     
    String[] gender={"[Select one]","Male","Female"};
         sex = new JComboBox(gender);          
    String[] edu={"[Select one]","S.S.C","Inter","Graduate","Post Graduate"};
         education= new JComboBox(edu);     
    String[] ageg={"[Select one]","0 - 15","16 - 35","36 - 70","70 - 100"};
         agegr= new JComboBox(ageg);     
    adrt=new JTextField(15);
         adrt.setToolTipText("Address");
         adrt1=new JTextField(15);
         adrt1.setToolTipText("Address");
         city=new JTextField(15);
         city.setToolTipText("City");
    zipcode=new JTextField(15);
         zipcode.setToolTipText("ZipCode");
         p1.setBounds(200,70,160,30);
         uid.setBounds(350,100,160,30);
         uname.setBounds(400,100,160,30);
         upass.setBounds(335,140,160,30);
         upassw.setBounds(400,140,160,30);
         cpass.setBounds(260,180,160,30);
         cpassw.setBounds(400,180,160,30);
         p2.setBounds(200,220,160,30);
         fname.setBounds(330,260,160,30);
         fnamet.setBounds(400,260,160,30);
         sname.setBounds(335,300,160,30);
         snamet.setBounds(400,300,160,30);
    hint.setBounds(315,340,160,30);     
    hintt.setBounds(400,340,160,30);
         sl.setBounds(370,380,160,30);     
         sex.setBounds(400,380,160,30);
         ed.setBounds(335,420,160,30);     
         education.setBounds(400,420,160,30);
    age.setBounds(330,460,160,30);
    agegr.setBounds(400,460,160,30);
    p3.setBounds(200,500,160,30);
         adr.setBounds(340,540,160,30);
         adrt.setBounds(400,540,160,30);
         adrt1.setBounds(400,580,160,30);
         cit.setBounds(370,620,160,30);
         city.setBounds(400,620,160,30);
    zip.setBounds(590,620,160,30);
    zipcode.setBounds(640,620,160,30);
         Font font = new Font("SansSerif",Font.BOLD, 12);
         setFont(font);
         c.add(p1);
         c.add(uid);
         c.add(uname);     
         c.add(upass);
         c.add(upassw);
    c.add(cpass);
         c.add(cpassw);
    c.add(p2);
    c.add(fname);     
         c.add(fnamet);
    c.add(sname);
    c.add(snamet);
         c.add(hint);
    c.add(hintt);     
    c.add(sl);
    c.add(sex);
    c.add(ed);
         c.add(education);
    c.add(age);
         c.add(agegr);
    c.add(p3);
    c.add(adr);
         c.add(adrt);
         c.add(adrt1);
    c.add(cit);
    c.add(city);
    c.add(zip);
    c.add(zipcode);
         setResizable(false);
         //int a=DO_NOTHING_ON_CLOSE;
         //setDefaultCloseOperation(a);
         show();
         setSize(800,500);
    Border raisedBorder = new BevelBorder(BevelBorder.RAISED);     
         //setContentPane(jsp);     
    public static void main (String arg[])
         try{
         UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
         }catch(Exception s)
         Signup swu=new Signup();

    1. don't use setBorders, use LayoutManagers instead
    2. put the stuff that you want to be scrollable in
    a JScrollPane.
    see the JavaTutorial for details
    Spieler

  • Erratic scrolling

    I have been using an ApplePro keyboard and a Logitec wireless mouse with my iBook.
    Everything was working fine for months up until a week ago and now I'm getting erratic behavior when I'm typing text --- either doing emails, TextEdit or Appleworks.
    I'll be typing along and then hit the return key to come to the next line and suddenly the page is scrolling uncontrollably and my iBook is chattering like I'm typing 80 words a minute. What's going on ? I only stops when I unplug the keyboard.
    The dongle for my Logitec mouse if plugged into either my iBook or the keyboard and the keyboard is always plugged into the iBook of course. It seems to do the same behavior no matter where the mouse dongle is plugged into.
    I can't find any information on what may be causing this.
    I put new batteries in the mouse thinking that it may be the cause but it's doing the same thing. This is the first problem I've ever had with my iBook.
    14 iBook G4 768MB; 20G iPod   Mac OS X (10.3.9)  
    14 iBook G4 768MB; 20G iPod   Mac OS X (10.3.9)  

    That's an odd situation, and short of the general cure-all suggestion of
    archiving your entire stuff to an external Firewire hard drive (clone the
    entire computer to a partition; use a clone utility such as Carbon Copy)
    and then use a booted Disk Utility from the OSX installer disc #1 and
    go ahead and start over from a very blank slate. Use the disk utility
    option to "zero-data" and then reformat drive to HFS+; and install it all.
    [You'd clone the system from the external to get it reinstalled.]
    Of course, there may be something as simple as the need to do the
    basic routine maintenance and 'repair disk permissions.' Or, boot from
    the OSX installer disc #1 and use Disk Utility to repair disk and also
    to repair disk permissions; then boot from the hard drive. Could be the
    machine is just a little confused, and depending on how long it has been
    running OSX 10.3.9, it may just need some maintenance; I occasionally
    use OnyX (Panther version is available, free download, from Titanium
    Software online) in its Automated mode to run scheduled maintenance
    and clear caches; and the other stuff you can check-box to run in there.
    Another item to check is in System Preferences. With a portable computer
    you may have settings accidentally set in one of several places; one place to
    check may be in the "Universal Access> Keyboard> " and see if one of those
    options is turned on which may make your keystrokes audible and also could
    be messing up your efforts. Another may be to see if your touchpad control
    is set to ignore input while you use the keyboard.
    That is an odd issue, and there may be other things to check; if all the
    maintenance is done routinely and before/after software installs and
    system updates, you may also consider carefully looking into .plist
    or preferences specific to keyboard. But I'd hope it didn't come to that.
    The computer works fine without the external keyboard and mouse?
    Have you tried any other Apple keyboard and mouse, too?
    Best of luck.

  • Erratic scrolling on my iMac with alarm

    My new iMac sometimes makes the sound of an alarm bell, the curser flashes and scrolling becomes erratic. When I try to scroll down it snaps back to the top. Has anyone had this before, if so what can I do to stop it happening?

    I asked about the version because Apple decided to change the name of that app to "Contacts" in Mountain Lion. But, since you're on 10.6.8, it should still be Addressbook if my memory serves me correctly.
    Did you check your hard drive (search for it)? Use either Spotlight or (my choice) Find any File (third party app). Since Mail uses the database of Addressbook, have to checked it to see if it can find some people's email address?
    If you've checked all of that and since that is installed as part of the OS, the only thing I can think of is to download the 10.6.8 Combo installer from Apple's website and reinstall it over the top - it should re-create it.

  • Scroll bar visible but not able to scroll in custom screen for IW21

    Hi,
    We are using custom tab (screen exit) in transaction for creating notifications (TCode IW21). Two subscreens are configured to be embedded in the tab, combined area of which is exceeding screen size vertically. The scroll bar is visible in the tab but is not able to scroll using mouse scroll, but can be dragged up and down.
    Does anyone know how to make it scrollable or make the scroll bar visible at application level (not in tab) and make it working?
    Thank you,
    Deepak

    Hello,
    Would you please implement the Methods GET_DATA to get th data from Databas to screen fields and SET_dATA to update thedata from custom screen fields to Data base table in u r case LFB1.
    Regards,

  • When I have a message open in Hotmail I can't scroll down the message for more than a second before it springs back to the top; this is accompanied by the website eating my download limit at about a MB every 30 seconds...how do I stop this?

    Hi, thanks for helping guys! When I use hotmail, and only have my inbox and cover sheet displayed, everything is fine. But, when I open a message it won't let me scroll down without springing back to the top- if I repeatedly try this it eventually lets the message scroll down. More troublingly, even if I just leave the message open it continues to eat my download allowance at a rate of about a megabyte every 30-40 seconds- so, leaving normal messages from trusted contacts open has resulted in me using a massive chunk of my restricted download allowance. I've gone back to using Firefox 3.6 and the problem has disappeared.

    See comments 17,44,63,71:
    * [https://bugzilla.mozilla.org/show_bug.cgi?id=627729 Bug 627729] - Hotmail web page continually reloads every second
    ''(please do not comment in bug reports; you can vote instead)''

  • Not able to scroll up in BDC for J1IJ

    Hi,
    I am trying to create a BDC for J1IJ transaction.The problem comes if there are multiple excise invoices for a delivery document (program SAPMJ1IJ screen 400). For the first line item ,the scroll is initialized automatically to the first record in program SAPMJ1IJ screen 0500 as shown below.
    The problem occurs while selecting the excise invoice after the first line item in  program SAPMJ1IJ screen 400. The problem is that the scroll bar in this screen is not on the top but somewhere in between.As a result of which the BDC program cannot determine the quanity to be selected from the actual quantity.Refer to below screen for the position off the scroll bar.
    Can anyone tell me the function code or some solution of how to initialize the scroll bar at the top for the table control?
    Thanks in advance.

    Hi Subhabrata,
    Try using this BAPI: BAPI_EXCINV_CREATE_FROMDATA
    Regards,

  • Scroll bar on legend for xy graph

    Is there a way to create a scroll bar for the legend of an XY graph?  The number of entries in the legend will be changing programmatically so the legend needs to be able to grow dynamically (which I have figured out how to do using property nodes).  Any ideas?
    Cheers
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

    Ultimately I will have 6 xy graphs in my vi, I would like to have a seperate scroll bar for the legend of each graph.  Each graphs legend will both grow and shrink as the program runs and I would like to use the scroll bar to keep the legend from growing off of the screen.  I would like to be able to dislpay the data from the point (6 m/s for example) along with its symbol on the xy graph (red dot for example) in the legend.  If I am umderstanding you correctly I need to bundle the type and color of the plot into a cluster with the data and then link that cluster to the scroll bar, I assume I can read the property node for each data point (setting it to active plot first) for both plot style and color?  Let me know if I am thinking about this correctly or if I have misinterpreted what you are saying.  Thank you very much for your help!
    Cheers!
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

  • How can I get the vertical scroll bar in firefox for mac to operate more smoothly?

    This scroll bar issue has been a real pain for awhile, though it seemed to be better for a period of time and now has grown much worse again. I'm using Firefox 22.0. I try to grasp the blue scroll bar (right side placement) to move it up or down for pages that require scrolling to view, and it is very hard to hold and move the bar, plus it often bogs down as the colored wheel shows up as if the software is trying to process the action. It's very frustrating. I'm set to "smooth scrolling" in the Firefox settings, but that doesn't help. Is there a way to fix this and make the scroll bar move quickly and smoothly in Firefox for Mac?

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

Maybe you are looking for

  • I am trying to figure out how to merge my AD network account.

    I am trying to figure out how to merge my AD network account with my Mac account. The main reason for this is wanting to log into my admin account on the Mac, and have it also log into my network account so I do not have to log into differing account

  • JDBC fails to connect to 8.1.7.0.1 on Linux

    Hi, I compile and run the sample JDBCVersion program on a Win98 client PC. It works ok connecting to a Sparc 8.1.7.0.1. However, when it connects to 8.1.7.0.1 on Redhat 7.3, it gives the following error. D:\Programs>java JDBCVersion Exception in thre

  • Sony rdp-xf100ip error message

    I recently purchased your sony rdp-xf100ip iphone dock and radio and really like it. I'm concerned now after reading a lot of negative reviews about people having an error messages and the unit turns off and doesn't work again. Just keeps getting err

  • DBA_AUTOTASK_TASK is empty

    I'm trying to check out the new automatic tasks in 11gR2 and I'm having a little trouble getting them to run. I check dba_autotask_client and I see that all three default tasks are there and enabled: SQL> SELECT client_name,status,consumer_group FROM

  • Report Changes and New Reports in R12 - A useful document

    Hi All, I found this document. I hope it will be useful for everyone EBS R12: Financial Reports impacted by the R12 (12.0 and 12.1) Upgrade [ID 1110684.1] Pleaselet me know if there are any addional reports or completely new reports available in R12.