Wrong default button in alerts when using 64-bit JRE on Windows

Hi guys,
I'm facing a strange problem.
My environment:
Server:
OAS 10.1.2.2.0 on Linux Suse (32-bit)
Client:
IE8 64-bit on Windows XP 64-bit and Java 1.6.0_18 also 64-bit
When I run a form that opens an alert-window with a default-button (button that has the focus), it sometimes happens, that not the default-button, but another button is activated by default.
I have to repeat:
It only happens sometimes and is hard to reproduce. Within 50 attempts it may happen 5 times or just 1 time.
I never saw that happening with 32-bit JVM.
Anyone else seeing this?
br
Michael

Ok... here is what I see:
1. Create a form with an alert and set button 2 as the default
2. Run the form and display the alert. Button 2 has focus (proven by the bold solid line (shadow) and dotted line that surround the button)
3. Open any other app (Notepad, Explorer, etc) and move focus to that app
4. Slide this other app out of the way so that you can see the running form under it.
5. While the other app has current focus, the buttons on the form's alert appear to lose focus (this is expected). However, now button 1 has a bold line (shadow) surrounding it. This gives the appearance that button 1 has focus.
6. Click on the alert box to move focus back to the form. Do not click on the alert buttons.
7. Focus lines are now redrawn on the correct button (button 2).
This is probably not the best behavior, but certainly not something that I would call an area of concern. If what I described here is what you are seeing and you feel that this is a significant issue, I would recommend filing a Service Request with Support (assuming you have a support contract) and request that a bug/defect is filed. You will need to provide a test case and I would recommend that you provide screen shots or a video of what you are seeing. If you have not already applied all the previously mentioned patches, I would not recommend contacting Support until you do so, as this will be the first thing they require you completed anyway.

Similar Messages

  • Wrong number of parameters exception when using PreparedStatement

    Hi,
    I'm getting Wrong number of parameters exception when using a prepared statement. It's very weird. The code is:
    sqlstmt="update blah1 set blah2=? where blah3=?";
    myps = Conn.prepareStatement(sqlstmt);
    myps.setString(1, p1);
    myps.setInt(2, p2);
    myps.executeUpdate(sqlstmt);
    The error is:
    SQLException: [IBM][CLI Driver] CLI0100E Wrong number of parameters. SQLSTATE=07001:07001
    Could someone please help? Thanks
    Mahdad

    Hi and thanks for the reply.
    Actually this is the try block...
    The variable's defintions are correct.
    PreparedStatement myps;
    try {
    sqlstmt="update blah1 set blah2=? where blah3=?";
    myps = Conn.prepareStatement(sqlstmt);
    myps.setString(1, blah4);
    myps.setInt(2, blah5);
    myps.executeUpdate(sqlstmt);
    catch (SQLException e) {
    System.out.println("SQLException: " + e.getMessage() + ":" + e.getSQLState());
    blah6++;

  • Sunpkcs11 in applet   force browser to use 32 bit jre

    I  am using sunpkcs11 in my applet for reading smartcard,sunpkcs11.jar is only available  in 32 bit jvm , so if a borwser has latest jdk and it has 64 bit version then my applet will fail  , please advice  are there any parameters in applet which will force borwser to download 32 bit version jre for running my applet?

    Thanks Andrew Thompson for your reply.
    The problem is, the end-user will have both 32-bit and 64-bit JREs. They need 32-bit JRE for other applications and our application has to use 64-bit JRE. The target of desktop shortcut (created during installation of application) points to “C:\Windows\SysWOW64\javaws.exe”. If this target is changed to “C:\Windows\System32\javaws.exe”, the application use 64-JRE . The target can be manually changed by right click desktop shortcut icon-> Properties->select Shortcut tab and change the target.
    Is there any way to change this target of desktop shortcut programmatically while installing the application?
    Regards,
    Kamal.

  • "Slow Oracle Forms 10gR2 using Sun's JRE on Windows 7 x64 laptop

    "Slow Oracle Forms 10gR2 using Sun's JRE on Windows 7 x64 laptop

    It took millions of years on a super computer to come up with 42.If there would have been a valid Forms 10gR2 Installation on Deep Thought it would have taken just some minutes to get to this answer:
    FRM-42<someothernumber> [...]However; the question remains if oracle provides a Install Bundle of Forms 10gR2 for the "Deep Thought" platform or if "Deep Thought" is a supported platform...
    cheers

  • Slow Oracle Forms 10gR2 using Sun's JRE on Windows 7 x64 laptops and its wo

    Slow Oracle Forms 10gR2 using Sun's JRE on Windows 7 x64 laptops and its working good in same windows 7 x64 destops.

    Hi,
    Try posting your question on the Forms forum: Forms
    Andy

  • Focus loss? bad modality? wrong default buttons?

    Hi Fort&eacute; Users,
    Can I ask if anyone has experienced any of the following problems?
    We are using Fort&eacute; 3.0.G2 on NT4.0 SP3 using Compaq Deskpro PCs.
    1. Occasionally, the modality is lost when a modal child window is
    displayed for the first time.
    2. Sometimes the closing of a child window doesn't correctly return the
    focus to the parent window. This may be related to using the keyboard to
    "click" the default button rather than actually clicking with the mouse, but
    I'm not sure of that.
    3. Also the default button is set correctly when a child window closes,
    but the window indicates that a different button is the default button. The
    highlighting is on the wrong button.
    All these problems happen in both distributed and standalone runs.
    I ask because I don't want to waste time with Fort&eacute; Support if they aren't a
    generic problem.
    Thanks,
    Nick.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Troubleshooting Update:
    If I first import my project using the RH7 WYSIWYG as default
    editor, the Russian ToC is produced. I can then change the default
    editor, (say, to Word2003 or FrontPage) and the Russian ToC is then
    preserved. Very strange!
    That still leaves a css problem. On import of a Word file,
    the styles belong to some unknown (default?) stylesheet, and
    editing and correcting is an intolerable job. Why is the Word
    template not being imported to become the RH7 topic template?
    Your assistance much appreciated.

  • Button not working when using JumpTo Captivate 8

    I seem to be having a problem when using smart objects as buttons, I select use as button, select jumpto and select the slide , in this case home, I have named the home slide home, but when previewing the button doesn't work, this is pretty basic and I'm just about to start a large project , am I missing something or doing something wrong? Would appreciate some help please. 
    Many thanks
    Sue

    Hi there
    Do you by chance have question slides? If so, it's possible that you are disallowing backward movement.
    Quiz > Quiz Preferences > Settings.
    Cheers... Rick

  • Default Mail Font ignored when using "Mail this webpage" in Safari

    This is not really a problem but more of a puzzling irritant.  I often use the "Mail this webpage" option in Safari (the small envelope icon in the tool bar) which opens a draft email with the then-current webpage's URL already embedded in the text area.  Prior to Mavericks when using this option the draft note triggered by Safari reverted to my default Mail font already selected via Mail's preferences pane.  Just as I would want it.  Ever since Mavericks though, when I click the envelope icon it brings up the draft email with the URL as before, but the text font for that note defaults to Times, not my previously-selected default Mail font (Lucinde Grande just for clarity).  So to stay consistent with my other email styling I have to manually click the draft email's Format button, select Lucinde Grande, and then begin typing.  I can find no place in either Safari's or Mail's preferences or options where I can change the default "send an email triggered in Safari" font. Emails originated in Mail properly use the default Lucinde Grande font.
    Once I go through the above and send the note, if I later repeat the same "mail via Safari" acion, the new note is again defulting to Times and I have to go through all of the above again.
    A companion oddity is that when I go through this and click the Format button once, nothing happens.  I click it a second time and then the font selection options are presented.  This happens consistently on 3 separate installs of Mavericks in our house (two iMacs and a MBP), and it has been this way from OS 10.9.0 through the updates to the current 10.9.2.  Any ideas, or anyone else experiencing this?  Thanks.

    This is very annoying behavior.
    I have a sudo work-around, although it's really just a different set of steps. If you use the new Share button (square with arrow icon) than the resulting email consists of a url at the top and text from the page below that. The first line of the email (empty) and the url are in the default mail font. Now just delete the text that was added from the page.
    I use this method because it seems like if I do it the other way the new message will sometimes go back to Times when I hit Return a couple times.

  • Default button is lost when JInternalFrame is iconified

    Hello, everybody!
    Have you already noticed that the default button is lost (loses its characteristics) when the JInternalFrame is iconified? Is there any workaround for this?
    Thank you.
    Marcos

    camickr wrote:
    So you already have a solution from the bug posting.No, because in my case the default button can change over time in the JInternalFrame. If it was fixed I could use the solution in the bug posting. Anyway I found a workaround in my case. I'm using an hierarchy listener to restore the default button. The code in the hierarchyChanged method below is called when the JInternalFrame is deiconified:
    @Override
    public void focusGained(FocusEvent e)
        getRootPane().setDefaultButton(_btnPesquisar);
        _focalizado = true;
    @Override
    public void focusLost(FocusEvent e)
        getRootPane().setDefaultButton(null);
        _focalizado = false;
    @Override
    public void hierarchyChanged(HierarchyEvent e)
        if (_focalizado && (e.getChangeFlags() & HierarchyEvent.DISPLAYABILITY_CHANGED) != 0 && isDisplayable())
            getRootPane().setDefaultButton(_btnPesquisar);
    }I just would like to know, as this is a long standing bug, if a more elegant solution was found.
    Marcos

  • Buttons stay pressed when using event structure

    I have an event structure in a while loop to handle various buttons the user can press.  I used this instead of case structures on the buttons because I have some advanced events I want to happen to the controls as well.  Code wise it is working fine, but the buttons are not release when you press them.  They only change once when pressed.  So if they are released and you click them they stay pressed.  If you click on them again, they release.  This is very ugly.  What am I doing wrong?  I have tried changing thier type to switched vs latched and it makes no difference.  I tried changing the event on them as well and that doesn't seem to matter.  Currently I have "mouse released" on the button as the event trigger.

    Hello Muffin,
    If you have the buttons configured for "latch" operation (reset after being read, which sounds like what you want), the button will only reset when it is actually read within the code- are they connected to anything or read somewhere within your application?  The simplest way to ensure the buttons are read when the event is triggered is to place them within the mouse-up event.
    Regards,
    Tom L.

  • Suppressing Applet alerts when using java mail api

    Hi,
    Im using the following code to send email from my application. Im using JSF (tomahawk), Spring and hibernate in my application. I'm using spring email API classes to send email. This code works perfectly fine in the sense its parsing template and sending emails to the configured email id.
    I have defined this class as a managed bean and i have a commanButton is UI which is bound to this sendEmail() method
    <t:commandButton value="Send email" action= #{email.sendEmail}/>
    import java.io.StringWriter;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    import javax.mail.MessagingException;
    import javax.mail.internet.MimeMessage;
    import org.apache.velocity.Template;
    import org.apache.velocity.VelocityContext;
    import org.apache.velocity.app.VelocityEngine;
    import org.apache.velocity.exception.ParseErrorException;
    import org.apache.velocity.runtime.resource.loader.StringResourceLoader;
    import org.apache.velocity.runtime.resource.util.StringResourceRepository;
    import org.springframework.mail.MailException;
    import org.springframework.mail.SimpleMailMessage;
    import org.springframework.mail.javamail.JavaMailSenderImpl;
    import org.springframework.mail.javamail.MimeMessageHelper;
    import au.gov.nsw.railcorp.onlineticketing.external.model.request.ServiceFees;
    public class EmailService {
         JavaMailSenderImpl sender;
         VelocityEngine engine;
         public EmailService(){
         sender = new JavaMailSenderImpl();
             sender.setHost("<smtp ip>");
             sender.setPort(25);
             sender.setUsername("<user id>");
             sender.setPassword("<password>");
             engine = new VelocityEngine();
             Properties p = new Properties();
             p.setProperty("resource.loader", "string");
             p.setProperty("string.resource.loader.class",
                  "org.apache.velocity.runtime.resource.loader.StringResourceLoader");
             try {
                   engine.init(p);
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public VelocityEngine getEngine() {
              return engine;
         public void setEngine(VelocityEngine engine) {
              this.engine = engine;
         public JavaMailSenderImpl getSender() {
              return sender;
         public void setSender(JavaMailSenderImpl sender) {
              this.sender = sender;
         public static void main(String args[]){
              EmailService emailService=new EmailService();
              emailService.sendEmail();
         public boolean sendEmail(){
         try{
                 MimeMessage message = sender.createMimeMessage();
                 MimeMessageHelper helper = new MimeMessageHelper(message);
                 helper.setTo("<to email id>");
                 helper.setFrom("<from email id>");
                 helper.setSubject("Teting velocity");
                 VelocityContext context = new VelocityContext();
                 StringWriter writer =  new StringWriter();
                 Template template =new Template();
                    StringResourceRepository repository =StringResourceLoader.getRepository();
                    String tempText="<html><body>Hi, ${username}...<p> this is a some template!</p></body></html>";
                 repository.putStringResource("myTemplate",tempText );
                 context.put("username", "Marc");
                 template = engine.getTemplate("myTemplate");
                  template.merge(context, writer);
                  System.out.println("VM Template:\n" + tempText);
                  System.out.println("Output:\n" + writer);
                  String body=writer.toString();
                  helper.setText(body,true);
                  sender.send(message);
            catch (MessagingException ex) {
                // simply log it and go on...
                System.err.println(ex.getMessage());           
            catch (MailException ex) {
                // simply log it and go on...
                System.err.println(ex.getMessage());           
            } catch (ParseErrorException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         } catch (Exception e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
         return true;
    }The problem i have is when i try to invoke the function sendEmail() from my UI it is throwing a series of applet alerts (some 10 of them) . The following are the alerts that i get
    1. The applet is attempting to invoke the java/lang/System.getProperty() operation on java.home
    2. The applet is attempting to perform a read operation on the file C:\Program Files\java\jre1.5.0_14\javamail.providers
    3. The applet is attempting to perform a read operation on the file C:\Program Files\java\jre1.5.0_14\javamail.address.map etc....
    For ever applet alert i had to click on 'allow' for it to proceed. But there is no problem in sending mail after that. One more interesting this is i DONT get this alert when i try to execute this java class directly instead of calling the method from another class or from UI.
    Can someone please let me know the reason for this applet alert and the way to suppress it?
    Its really urgent .. please help
    Thank you..

    Hi Subhadip,
    Thanks for the quick response :)
    Please help me understand this.. Im not explicitly using applet anywhere .I guess it should be used internally by one or many of the API classes i have used . In this scenario how can self sign the applet and which one?
    I have included some jars like activation.jar,mail-1.4.2.jar,velocity-1.6.2.jar in my webapp lib . Is there a means to sign these jars and use? Is this what you are suggesting me to do?
    One more doubt i have is how come the same method runs without any problem when executed as a standalone java class (with main() method)
    Will be really helpful if you could help me understand this...
    Thanks,
    Swami

  • Why do I get a "call ended" alert when using  Googles Maps through hands free Blue Tooth service in my car

    Why do I get a "call ended" alert after voice directions, when using Googles Maps App with my iPhone 5s paired to Bluetooth service in my GM auto

        Hello Snosilla! I'm so sorry for all the confusion and for all the time taken to activate service with us! I do see that the iPhone 5c is $99.99 right now. The iPhone 5s is actually $199.99. There's no need to call Pam anymore, we can take over from here.
    I've followed you in the forums. Please accept me, and follow me back. Then, send me a Direct Message and I can look into this for you. If you do not have an active line yet, I may need to get you through to our activations department, but I will do all I can!
    Thank you!
    ChristinaB_VZW
    VZW Support
    Follow us on Twitter @VZWSupport
    VZW Support

  • How do i recieve email alerts when using find my iphone

    how can i recieve email alerts when find my iphone is used

    You don't, this is a new security measure.
    you can send apple a feed back here http://www.apple.com/feedback/

  • How do I have my IPad Provide alert when using "Find my iphone" app

    How can I set my IPad so that it gives an aleert when using "find my phone" app?

    That's not an option find my phone app currently supports.

  • Run in 64-bit mode when using 32 bit plug-ins?

    I have noticed that when I open a project that uses Komplete 7 Elements, a 32-bit bridge utility loads and an error message indicating that the file could not be opened pops up. However, the file project does open. My question is this: Does using 32-bit plug-ins affect performance when Logic runs in 64-bit mode?

    Hi,
    Based on the error message, we should confirm whether Oracle client tool has been installed on the Report Server at the beginning. If the Report Server installed is 64-bit, we should also install a 64-bit Oracle client tool on the Report Server. Besides, we
    can also try to bypass tnsnames.ora file when connecting to Oracle by specifying all the information in the data source instead of using the TNS alias to connect
    to the Oracle database. Please see the sample below:
    Data Source=(DESCRIPTION=(CID=GTU_APP)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST= server01.mydomain.com)(PORT=1521)))(CONNECT_DATA=(SID=OracleDB)(SERVER=DEDICATED)));
    Reference:http://blogs.msdn.com/b/dataaccesstechnologies/archive/2010/06/30/ora-12154-tns-could-not-resolve-the-connect-identifier-specified-error-while-creating-a-linked-server-to-oracle.aspx
    Hope this helps.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

Maybe you are looking for