Bad behavior under jdk1.3

Hi,
My application has a message area (JTextArea +
JScrollPane) which receive messages about operations
executed after a button click. When a message is
showed I run this code to position scroll part at last
message:
scrollMessagePanel.getVerticalScrollBar().setValue( scrollMessagePanel.getVerticalScrollBar().getMaximum() );
Problem is: images from another parts of window, like
button clicked, are blinked over JTextArea. If code above
is commented the problem doesn't occur.
I experimented a similar problem with JTable (and this is my real problem): when speedly moving its vertical scroll bar when columns width is lower than JTable area, portions of window are painted in JTable unused area.
These problems doesn't occur when running application
under jdk1.2.2
whould anybody help?
thanks.

Perhaps this is due to bug #4412417?
Mitch Goldstein
Author, Hardcore JFC (Cambridge Univ Press)
[email protected]

Similar Messages

  • The MessagePerformanceUtils:totalTime issue in Flex 4 (rpc.swc) using LCDS 3.1 running under JDK1.6

    We are facing an issue while using LCDS 3.1 running under JDK1.6 in Sun Solaris v5.10 OS & Adobe Flex 4.
    Scenario :-
    ===================================
    As part of our Flex-based client-server application (with Java backend) we have a performance report generation module. Following flex framework class is used to calculate the performance of various layer of a typical server-based request-response cycle.
    ; (available in rpc.swc library file)
    (for example : server time, cairngorm time, UI screen rendering time, UI event generation time etc).
    The totalTime was working properly before upgrading the rpc.swc to Flex 4 ; However it broke after migrating to Flex SDK 4; The totalTime is now coming as negative junk value.
    As we understand that the above Flex framework class method works in conjunction with LCDS running at server side on JDK.
    We suspect that the new rpc.swc taken from Flex SDK 4 is causing the issue !
    System information :
    Web Server : Weblogic 11G
    Operating System : Sun Solaris v5.10 OS running on Sparc hardware.
    Flex : Adobe Flex sdk 4.0
    Flash player : Adobe Flash Player 10
    Browser : Internet Explorer 8
    LCDS : 3.1
    JDK : JDK 1.6.0_14
    ===================================
    Has anyone faced similar problem before ? Any help or direction would be highly appreciated.
    Thanks in advance,
    Rabi
     mx.messaging.messages.MessagePerformanceUtils :totalTime

    Nothing has changed in the Flex SDK sources for this class since sometime around 2008. Are you running against the same LCDS server as you were before you updated to Flex 4?  This certainly seems strange (and bad).  Do you see the same behavior with Flex 4.5?  What was the version of Flex you were using before switching to Flex 4.0?
    If you can provide the additional information, we will look in to this.  A reproducable case that was a simple mxml application along with a simple destination config would help us narrow the problem.
    Sorry for the problems!
    Tom

  • IView behavior under a role vs. preview

    Hi,
    Anyone knows why my iView is working fine in a preview but later when I see this iView under a role doesn't works? Maybe should I change some parameter of this iView like isolation method?
    Thanks
    Guillermo

    Hi,
    the iView has a component that calls to another using Ajax but the request fails.
    What is the difference between iView behavior under a role and only launched in a preview?
    Thanks in advance
    Guillermo

  • BAD BEHAVIOR

    Came in this morning to find 40 emails from last night never sent.
    Why?  Because in its vaunted wisdom, Verizon decided that one of my completely innocent emails was 'spam'.
    OK, fair enough, even though your algorithm must be completely brain-dead.
    So what did it do?  Shut down sending all my OTHER emails.
    That's completely stupid, folks.
    And it didn't have the courtesy to email me that it had done this, so I went on assuming my system was functioning normally.
    These stupid proclivities of the emailing system are BUSINESS DAMAGING AND UNACCEPTABLE.
    >> edited for profanity <<
    Message was edited by: Verizon Moderator

    N
    Naw.  Was a single message with probably some trigger word in the subject
    line.
    Incidentally, my OTHER ISP has no trouble with most of what Verizon buggers
    up.
    regards
    bill domb
               Re: BAD BEHAVIOR
                created by budone in My Verizon - View the full discussion

  • How to obtain instance of Image-Class under JDK1.1

    Hi!
    I got the following problem:
    I want to draw an image (thus drawing on the Grafics-
    Object I got from the Image-Object) and then save
    it to a file via a GifEncoder (needs the Image-Object).
    I don't find an Implementation of the Image-Class
    under JDK1.1. Can I just take the Image-Object
    of a Window/Component? I know there's
    BufferedImage, but unfortunately not in JDK1.1.
    Who can give me a hint on this?
    Valentin

    See Component.createImage(int width, int height).
    You can draw on it using getGraphics as usual, and it's been in since JDK 1.0. :-)

  • Deploy Dc that compiles under jdk1.5 in NW7.0

    Hi
    In my project a need a library that can be compiled only under jdk1.5. The library is POI 3.6.
    My server however is NW7.0 and runs under JDK 1.4.
    Is it possible to create a DC for the classes I need (POI 3.8) ,  compile it under jdk1.5 and treat it as a used DC in my main DC that runs under JDK 1.4?
    I hope someone understand me...
    Thank you for your advice.
    regards
    Yuval Peery

    Hi
    Ok, so another question?
    Is it possible to run a vbs program that resides on the file system of the machine where the server is installed?
    What I want is to call this script from a web dynpro application.
    Thank you and regards
    Yuval

  • Editable ALV Grid column behavior under ITS standalone

    Hello experts,
    I have a straight forward implementation of an ALV Grid with 3 columns. Two columns are display only and the third is editable. My question only involves the editable column and its behavior in a web browser served by a standalone ITS server. The underlying data type is CURR. The enterable amounts are restricted to a format of 9.99. Even so, a web user can accidentally enter a non-numeric value such as 1.x0 .  We have coded a data changed event handler to check the input value for expected amounts. The event handler logic readily identifies the non-numeric value and handles the exception. Although we have full control of the internal table value, there are two problems encountered within the web browser interface:
    1) We cannot return the cursor to the problem cell to prevent the user from continuing before correcting the problem.
    2) We cannot reset/change to displayed value to the original internal table value (it will only refresh after a save or refresh action). So the user has no visual cue that they've entered a bad value unless they pay close attention.
    Running the transaction in SAPGUI, we can force the cursor back to the erroneously cell using  "CALL METHOD alv_grid->set_scroll_info_via_id" . This technique does not appear to affect the cursor within the web browser.
    After searching SDN forums and SAP documentation it appears that there is no way to programmatically control the ALV Grid active cell within the web browser interface. I'm wondering if the experts can confirm this issue? If that is the way it works within the browser interface could members please suggest "user friendly" approaches to notifying the user of a data entry problem? For example, is POPUP_TO_INFORM to only option? Perhaps there is a JavaScript routine that can enforce the edit format? Please keep in mind that the standard ALV Grid techniques that work in SAPGUI don't necessarily behave the same way in the web browser. I'm most interested in advice regarding the web browser using standalone ITS as it will be another year before we can leverage WebDynPro in this scenario.
    Thanks and best regards,
    Gary

    Hi Gary,
    can you please create a short report which recreates the issue and post the ABAP here. The goal is that webgui and SAPGUI behaves the same way. If they don't we will try to fix it.
    Best regards,
    Klaus

  • Weird behavior under Mavericks - permissions?

    I am administering one of the new Mac Pro cylinders for a design team to test. We are licensed up to Adobe Master Collection CS5.5 and almost all of the problems I have had with this new Mac and Mavericks seem to be permissions related. If anyone else has some insight that might help, it would be greatly appreciated.
    We intend to run our systems with users that do not have administrator privileges. The goal during software setup and installation was to keep as many items as possible out of the User Library folder (and on the Macintosh HD/Library) so that applications and plugins would be accessible to any user created on the machine.
    Adobe Creative suite 5.5 has mysteriously gone in and out of an Error 16 Configuration Error between the two user accounts on this machine. Sometimes, the applications work fine, but once the error appears, the machine needs to be reset. This did not seem to be tied to whether the account was an administrator account, it seemed to be more dependent on which user logged into the machine first after a restart.
    We also depend on Adobe's RED Epic Importer to import RED camera footage directly to After Effects. This works perfectly fine on 2012 Mac Pros running 10.7, but when set up on Mavericks, RED files only appear accessible to the administrator account.
    Incidentally, this importer has a strange installation method - you have to view the package contents of the After Effects application itself and replace components inside the folders. I worked for a whole afternoon trying to figure out what the correct permissions needed to be and how to set them correctly (including logging in as the Root user and changing them). Even after being pretty sure I had permissions matching the other components inside the folder, I would log into our user account and see the installed components had a size of zero bytes. I eventually got the file size to show by copying the components with the corrected permissions to a shared drive and then re-installing them under the user account and authenticating as the admin. Even after this, After Effects did not recognize R3D RED files in the user account, only the administrator.
    I keep wondering if there is some other component the system is depending on that HASN'T had permissions updated to work correctly. Adobe seemed stumped and was not very helpful, and even so, it does seem more like an OS permissions problem.
    Thanks in advance for any suggestions, even out of the oridnary ones, they can sometimes lead to the right answer.

    Hey Daddy D!
    I have an article for you here that can explain some of the behaviors you are seeing in Mavericks:
    OS X: Using multiple displays in Mavericks
    http://support.apple.com/kb/HT5891
    Specifically, I would take care to review the sections titled “Working with the menu bar,” and “Using Mission Control to organize windows and full-screen apps.” Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • GUI does not run under JDK1.4

    Hello,
    hope you may help me. I've a big problem with JDK1.4. I can't run
    any GUI under it on my laptop. With JDK1.3 everything works fine but
    with the new Version I not even can start a simple Frame. If I start
    a GUI my cpu runs with full capacity but nothing happings.
    Can anyone tell me why this is so?
    thanks and regards,
    Tobi

    I don't know exactly about your problem. but there are many problems of jdk1.4 . Any applet compiled in jdk1.4 doesn't run in a browser of the machine which has jdk1.3 . This I have experienced.

  • Bad Audio Under My Profile in Leopard

    I have an iMac G5 running 10.5.8. I recently bought some new speakers for my computer, hooked them up and found out the sound was really bad sounding (like underwater). At first I thought it was my speakers, but I plugged in my iPhone and it sounded great.
    I have another user profile on my iMac, so I went into it and ran iTunes and the sound in there is great as well. Only under my profile, that it has the bad audio. I went through and looked if any third party sound enhancement software was installed and couldn't come up with anything. Also I turned off all the Equalizer and Sound enhancer stuff in iTunes.
    This isn't just related to iTunes on my profile either but everything (Safari, Garageband, Games, etc).
    Is there anyway I can get it to default settings without having to reinstall system software? My superdrive crapped out on me too so I can't use the Leopard disc anymore.

    RPS13 wrote:
    I have an iMac G5 running 10.5.8. I recently bought some new speakers for my computer, hooked them up and found out the sound was really bad sounding (like underwater). At first I thought it was my speakers, but I plugged in my iPhone and it sounded great.
    I have another user profile on my iMac, so I went into it and ran iTunes and the sound in there is great as well. Only under my profile, that it has the bad audio. I went through and looked if any third party sound enhancement software was installed and couldn't come up with anything. Also I turned off all the Equalizer and Sound enhancer stuff in iTunes.
    This isn't just related to iTunes on my profile either but everything (Safari, Garageband, Games, etc).
    Is there anyway I can get it to default settings without having to reinstall system software? My superdrive crapped out on me too so I can't use the Leopard disc anymore.
    Welcome to Apple's discussion groups.
    Since your problem is limited to one account it's probably due to something in <thathomefolder>/Library , It sounds like you may have checked the Audio folder there. The other place to check is the Preferences folder. Create a folder on your computer's Desktop to hold moved filed, then move anything that looks like it might involve your problem from the Preferences folder to the folder in the Desktop, log out and back in, the see if you still have the problem. If you do, put the moved file(s) back to the original spot.
    If you don't see any files obviously related to the problem, you could then drag half the files in the Preferences folder to the folder on the Desktop, then repeat the process of logging out and back in and testing. If the problem still exists, put the moved files back, replacing any newly-created files. Then repeat with the second half of the files.
    Once you've identified a group of files that affect the problem, note the first and last file in the group, move them back as well, then repeat the whole process with the new group by moving out the first half of the group, etc. With each cycle you'll be dealing with half as many files. Eventually you'll be able to identify the culprit.
    It's possible that the problem lies in another folder within the Library folder. It would be a little trickier trying the approach above to items in the Library folder, but it might work. Another approach you might try is to copy folders from the Library folder of the other account to your main account. If you want to try that, I'd copy that account's entire Library folder to the "Shared" account by holding down an "option" key while you drag it. That will put that Library folder in a place where you can access it from your main account. As before, I'd save anything you're replacing until you're sure you haven't damaged anything.

  • Bad behavior after installing recent updates.

    This has gone beyond irritating and is actually interfering with my use of the computer.
    I typically wait to install updates, to give the community a chance to discover trouble before I put my machine at risk. Apple updates are, in most cases, spotless and useful but there have been times...
    I seem to have found one of these not so sweet spots.
    I just installed: "QuickTime" (7.4.1) and Security Update 2008-001 (PowerPC)
    At the end of this process the first disturbing problem happened, rather than being informed that I needed to restart the machine at the end of the installation the screen did that awful 'dark window shade' and then put up the warning to hold down the power button and shut down.
    I had no choice but to do this. After restarting I ran Disk Utility and Repaired the Permissions. Despite this and another restart for good measure I now have a disturbing problem. In a very periodic way, its about 1 minute, the finder opens a window and brings focus to it, overlapping whatever application I am working in at the time. I have a number of of drives in this machine and each has several partitions. No matter what partition I choose in advance the finder window always opens with the partition chosen that has the OS and applications in it.
    Even writing this post is difficult because the window keeps popping up as a try to write.
    I opened the console log and found something odd as well...
    2007-12-24 13:48:25 -0800: Installed "Security Update 2007-009 (PowerPC)" (1.1)
    2008-01-15 23:57:27 -0800: Installed "iTunes" (7.6)
    2008-01-15 23:58:22 -0800: Installed "QuickTime" (7.4)
    2008-02-20 12:27:50 -0800: Installed "QuickTime" (7.4.1)
    No mention of the Security Update 2008-001.
    I am not sure how to proceed but I am not going to install this on any other machines. I am thinking of running Cocktail but I will wait till I hear from my learned Mac brethren.
    Thanks in advance.

    There are no guarantees, but following this procedure when installing updates and upgrades on your Mac will go a long way towards avoiding unpleasant after effects and ‘post-update stress disorder’.
    It is also worth noting that it is an extreme rarity for updates to cause upsets to your system, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first.
    Turn off sleep mode for both screen and hard disk.
    Disconnect all peripherals except your keyboard and mouse.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site. If your car runs on gasoline you would not want to fill the tank with diesel, so don’t try to install the PPC updater on an Intel Mac!
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Using the Combo updater ensures that all system files changed since the original 10.4.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.4.10 to 10.4.11. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious!
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them 10.4.10. compliant. Give them a weeks or two while you regularly check their websites for updates. This applies particularly to plug-ins for Safari 3.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695
    If you are updating to Safari 3.0.4 (or just have):
    Input Managers from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up. If you have installed 10.4.11 and Safari is crashing, the very first thing to do is clear out your InputManagers folders (both in your own Library and in the top-level /Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari. Remember: Tiger up to 10.4.10 used Safari 2.0.4 or, if you downloaded it, Safari 3.0.3 beta. Safari 10.4.11 uses Safari 3.0.4 which is not a beta. If Safari 3.0.4 on 10.4.11 is not the fastest browser you have ever used, then something is wrong!
    Moreover, trying to revert to Safari 2 when running 10.4.11 can have repercussions, as Safari 3.0.4 uses a completely different webkit on which other applications like iChat, Mail and Dashboard Widgets etc also rely.
    Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party ad-on. Two such add-on that have been frequently mentioned here for causing such problems are Piclens and Pithhelmet. If you have them, trash them.
    Additional tips on software installation here:
    http://docs.info.apple.com/article.html?artnum=106692

  • ATV General Bad Behavior

    I don't know if I can blame these recent bugs on the new update or a tired ATV - several years old - but I've suddenly got a lot. It started with audio dropping out after one or two songs. Hitting pause and then play usually returned the audio but only most times it was a temporary fix and the pause, play solution has to be invoked every five or six songs or so. Now, every so often when ATV is awakened there's no audio at all and only a restart will bring it back. This combined with the spotty way ATV finds the remote speakers - frequently never finding them without a restart - and seemingly sudden slow movie download times is combining to make me consider trashing it, sending it to the repair shop, downgrading or just seeking other hardware. Thoughts anybody?

    capaho wrote:
    I believe that the fundamental problem with the ATV is that the hardware is simply not able to perform reliably under the demands of the current software.
    I think 'current software' is the key and maybe has been since Take 2.0.
    I always had the feeling that the Take 2.0 interface was a software model overlaid on or wrapped around the underlying playback engine/menus from 1.0 (that itself worked well), with tweaks, enhancements additions, but bolted on and not rewritten from the ground up.
    As new features were added each layer of additional complexity was adding to inefficiency which as you say might make the current software too demanding in some instances for the underlying hardware.
    To my mind 95% of current development is aimed at pushing the iTunes Store model, rather than improving basic essential playback functionality and networking which I susepct could be optimised further even on the rather underpowered hardware by modern standards.

  • Very strange  Viber's behavior under iOS 5.1.1..

    Hello guys,
    I don't know if someone of you have already experienced this, but I have some strange problems with Viber.
    The core of the problem is that Viber keeps ringing for several seconds after the answer.  The interesting part is that this occurs only if I do answer from the Springboard and NEVER if I pick the call up from the lockscreen. Once I turn the option "view on lockscreen" off under notifications - everything become in order again, no ringing after picking up, but I loose the advantage of having lockscreen's notifications.
    What can be the reason of this problem?
    I am using iOS 5.1.1

    Hi,
    This is a member of the Viber R&D Team!
    @SpAwN_BG- Please contact our support team at: http://helpme.viber.com/index.php?/Tickets/Submit/RenderForm/13 and elaborate on the issue
    Thank in advance.
    Viber Team

  • Sending multiple HTTP cookies under JDK1.3

    Can anyone tell mw how to send at HTTP request (java.net.HttpURLConnection) with 2 cookies for (!!!) JDK1.3.1
    Here, for 1.4.x you can do
    URL conn = new URL("http://localhost/test.php");
    URLConnection uconn = conn.openConnection();
    uconn.addRequestProperty("Cookie", "ima=cookie");
    uconn.addRequestProperty("Cookie", "its=cookietoo");
    but in 1.3 you've no addRequestProperty(), just setRequestProperty() that overwrites old headers. There's an explanation in APIdoc, but I can nor understand it, neither make it work. As they write, I should do
    URL conn = new URL("http://localhost/test.php");
    URLConnection uconn = conn.openConnection();
    uconn.setRequestProperty("Cookie", "ima=cookie,its=cookietoo");
    but that gives a cookie with data "ima=cookie,its=cookietoo", not the one I want.

    Former PERL programmer? That's not.
    Looking at jcookie.sourceforge.net I decided that was really Sun's bug, I found some HttpURLConnection methods don't work as they should. For ex.,
    HttpURLConnection.set[Instance]FollowRedirects(boolean)
    makes it use "Location:" headers, but not collect "Set-Cookie:" ones, what's often implemented in login systems (e.g. login CGI script sets login cookie & redirects to another page, while this class loses that cookie).

  • Bad behavior after spill

    Yesterday, I spilled some coffee on my iBook and then immediately embarked on a fast cleanup. It spilled on the kepboard and in the upper right corner, where it was leaking from the screen. I took off the back plate and let it dry off, and came home later to find that the fan was whirring loudly. I took out the battery and pressed the button which indicated there was a full charge. Upon placing it back the computer started with a chime. No data was lost, but if I close the screen, the system will shut down instead of going to sleep as it normally would do. Then I need to take out the battery and then put it back in to start the computer. Additionally, ten minutes after I shut the computer down, the computer will go through the startup noises (without chime) and make the fan go very quickly. What went wrong internally after the spill?
    iBook G4   Mac OS X (10.4.8)  

    Liquid on electronics BAD...
    First thing, unplug the machine and remove the battery. If there is any moisture inside the computer, electricity is the last thing you want to be involved.
    Remove the keyboard to let more air into the case and just let the system dry out for a few days. Yes, I said a few days... minimum. We want every trace of moisture evaporated before we attempt to power up.
    Once everything is thoroughly dry, put the battery back in and try to start the computer up. If everything seems to work okay, you can plug the power adapter back in.
    Keep in mind, if coffee got inside your optical drive of hard drive, they will likely have to be replaced.
    If everything is in working order, consider yourself very, very lucky.
    Good luck.

Maybe you are looking for

  • How to pass the data from wa_itab to  fieldcatlog?

    how to pass the data from wa_itab to  fieldcatlog?

  • Error occur while protecting the document using RMS sharing application

    The set-up in which the error occurs has the following details, Server name :    hcdc1.ad.com RMS SCP :            adrms.ad.com http:// adrms.ad.com /_wmcs/licensing/license.asmx http:// adrms.ad.com /_wmcs/certification/certification.asmx Unable to

  • Updated Itunes nothing but problems afterwards

    Hello,    I downloaded a new update today and now nothing is working like it was before.  I can not do a backup from my ipod touch to my computer.  I have playlists on my ipod that I can not put on my computer.  When trying to sync, it says my comput

  • CAF Process - Types of users creating composites

    Hi all, I was wondering what's your opinion on about what kind of development can be done by other people other than developer (for example business analyst) during a caf project. I was thinking about something like this: 1. creating processes, block

  • Error returning String[]

    i am trying to write a jax-rpc client for my web service, but am having trouble with array types and custom object types. it was deployed using servicegen ant task in weblogic 7 sp1. i have a static client that works fine. i think i am not setting th