Mnemonics not working in UNIX

Hi,
Mnemonics set to menus and buttons are working fine in Windows NT, but not in Solaris.
Implementation goes like this:
JButton new = new JButton("New");
new.setMnemonic(KeyEvent.VK_N);
Can anybody help me out in this ??
sku.

hi there, replied to your question, iam sorry i must have not seen it as i was away for a long time from the forum and when i came back i did not have much time to look back at some old posts, hope the solution curbs ur problem, enjoy :)
asrar

Similar Messages

  • SetMnemonic not working in UNIX

    Hello,
    I'm tried to set a key mnemonic as follows:
    JButton close = new JButton("Close");
    close.setMnemonic(KeyEvent.VK_C);
    This piece of code works fine in NT but not in UNIX. I tried searching all queries in this forum. I haven't got any inputs ?? Any suggestions ??
    Sunil.

    Hi,
    This was the outcome of my research.
    I thought of running the app. directly on the Sun server instead of using Exceed emulator (client). I didn't see those warning messages and the mnemonics worked fine.
    To answer my question earlier, warning messages are directly related to the issue of mnemonics not working on the client machine.
    Still looking into why its not working from any client which uses Exceed.
    Thanks,
    Sunil.

  • NVL in where clause not working with UNIX parameters

    Apparently this in a where clause does not work in UNIX scripts...
    .... and trans_date between to_date('&1','YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('&2','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    ERROR at line 14:
    ORA-01858: a non-numeric character was found where a numeric was expected
    How do I get around a null in UNIX? This works fine if both parameters are populated. Thanks.

    Jason ORCL wrote:
    Apparently this in a where clause does not work in UNIX scripts...
    .... and trans_date between to_date('&1','YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('&2','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    ERROR at line 14:
    ORA-01858: a non-numeric character was found where a numeric was expected
    How do I get around a null in UNIX? This works fine if both parameters are populated. Thanks.it's nothing to do with unix at all - your date value doesn't match the format mask that you've entered:
    '31-DEC-4712' doesn't map to 'YYYY/MM/DD HH24:MI:SS' in any universe unfortunately.

  • Af|navigationpane-tabs::tab:hover af|navigationpane-tabs::tab-link  not working in Unix or Linux operating system

    Hai,
    I have the requirement that my Adf Application should have same skins(prototype) when there are running on Windows or Unix or Linux OS. First lines in two cases are working fine in Windows or Unix orLinux operating system,but the Second lines in two cases are working only in Windows but not in Unix or Linux. I mean to say that the text-decoration,color,background-color etc set for hover attribute of line-2 in both cases are not working.
    Can anybody help me in solving this issue.
    Cases are as follows:
    Case:1
    Line-1: af|navigationPane-tabs::tab-link{text-decoration: none; background-color: #6b5994; color: #ffffff; font-weight: 700; font-size: 12px;}
    Line-2: af|navigationPane-tabs::tab-link:hover{text-decoration: underline; background-color: #6b5994; color: #6b5994; font-weight: 700; font-size: 12px;}.
    Case:2
    Line-1: af|navigationPane-tabs::tab:selected af|navigationPane-tabs::tab-link {text-decoration: none; background-color: #6b5994; color: #ffffff; font-weight: 700; font-size: 12px;}
    Line-2: af|navigationPane-tabs::tab:selected:hover af|navigationPane-tabs::tab-link {text-decoration: underline; background-color: #6b5994; color: #ffffff; font-weight: 700; font-size: 12px;}
    Regards
    G Naveen Kumar

    Hai Frank,
      First up all Thank you for giving response to my query.As you asked it is not a Client OS,it's a Server OS.As you told I have changed the code to font-weight: bold but still it's not working.Anyhow my major requirement  is to change the text-decoration,color.
    Would you please help me in solving that?
    Regards
    G Naveen Kumar

  • JQuery.js not working in UNIX environment

    Hi All,
    My development environment is Linux with Apache and we are using Coldfusion 9.
    We have developed some part of our code using jQuery.
    This is perfectly working in our DEV environment.
    We shipped the same code to the Production Environment. Which is Coldfusion 5 and Unix Environment with Apache Server.
    The problem is the parameter passing to jQuery is always null.
    Is jQuery will not work in Coldfusion 5?
    Your help is needed.
    Thanks in advance!

    1. CF versions 9 and 5 and radically different.  I wouldn't expect code written for CF9 to run on CF5.
    2. CF runs on the server, jQuery runs in the brower, the version of CF on your server shouldn't be relavent.  You should look for the problem in the HTML, Javascript, CSS, etc. in the browser.
    3. We cannot help diagnose your problem without seeing the code that is causing the problem and any error messages you receive.
    4. If this is a issue with jQuery on the browser you might consider posting a question to a jQuery specific forum.

  • HOST not working on UNIX 9iAS

    I am attempting to HOST a command out to the middle tier. When I try this in 9iDS, it works like expected (copy c:\temp\a.txt c:\temp\b.txt). However, when I push the form up to the unix box and attempt to run the same command on the server through the webforms (cp /home/foo/temp/a.txt /home/foo/temp/b.txt), it does not work.
    Everything that I have read says that the HOST command runs the command on the middle tier (which is what I want), but something is not right. I have checked the UNIX permissions, tried running the command through a shell file [host('/home/foo/test_copy.sh')], calling it from a shell [host('sh /home/foo/test_copy.sh')] and anything else I can think off. A just will not copy to B. Any ideas on what might be wrong?
    Steve "Stump and confused."

    HOST are executed with permissions who had start Forms listener.
    Check UNIX permissions. Named user can read sourse file and write into target directory. If target file exist then user can write it too.

  • Mnemonics not working on Menu Items

    Hi,
    In my application I am using a JList and added a JPopupmenu to the JList. On mouse-right click on JList item, JPopupmenu is displayed with the Mnemonic characters underlined but the mnemonic keys are not working. When I replaced the mnemonic keys with the Accelerator keys, they are working.
    Is this a bug or known issue or did I go wrong in implementation ?
    Thanks in Advance.
    Anil.

    or did I go wrong in implementation ?Works fine for me.
    If you need further help then you need to create a [url http://www.physci.org/codes/sscce.jsp]Short, Self Contained, Compilable and Executable, Example Program, because I can't guess what you are doing based on the information provided.

  • Strikeout / Strikethrough not working in Unix (Reports 9i)

    I have a report which conditionally sets
    SRW.ATTR.STYLE := SRW.OVERSTRIKE_STYLE on some rows. This works fine in Windows, both in Preview and when outputting to a file as PDF.
    In the live environment, the report runs on a Sun box under Unix (it is regenerated from .rdf to .rep on the Unix box), outputting to a .pdf file. It works as it should except that there is no strikeout. I have found references to this being a known problem: does anyone have any workarounds (other than in Note 191307.1) or knowledge of when this might be fixed?

    Put a line across the field and conditionally suppress it.

  • Horizontal/Vertical Elasticity not working in UNIX using pdf as desformat

    Hi,
    I have developed a report in windows using Oracle 9iDS. For one of the fields, I have Horizontal Elasticity as 'Fixed' and Vertical Elasticity as 'Variable'. When I run the report in Reports Builder, the text wraps to next line properly. I don't have any problem if I run the report using application server in windows operating system. The pdf format of the output has correct formatting.
    But if the same report is run in unix operating system, the text is not wrapped to next line in pdf format. This problem exists only with pdf as destination format, the same report in unix using html as destination format works fine.
    Does anyone have any idea about this problem.
    Thanks in advance.

    It looks like the exact font set for this field is not available in the unix platform. A closest matching font will be used in this case, which may result in a different formatting for this field. Ensure that you have the correct font available in the unix platform.
    Incase, if you are using a postscript driver(PPD) as a default printer, ensure that the font entry is included in the PPD file and the AFM file for this font is available in $ORACLE_HOME/guicommon9/tk90/AFM directory. There are free third party utilities available to convert TTF files to AFM files.
    If you are using a PCL driver(HPD), then please ensure that the TFM file for this font is made available.
    You may use DEBUG_SLFIND to see what font is being picked up.
    Please refer to the Publishing Reports Manual:
    http://download-west.oracle.com/docs/cd/B10464_01/bi.904/b10314.pdf
    Chapter 4 - Managing Fonts and Chapter 6 - Using PDF.
    In particular, please refer to section 6.2: Resolving PDF Font Issues During Cross-Platform Deployment.
    Regards,
    Siva

  • Mnemonics not working through Exceed

    Mnemonics set to menus and buttons works fine in NT and Sun unix box. But using Exceed when i run the app. on my windows machine it doesn't work.
    Any suggestions on how to make it work ??
    Thanks,
    Sunil.

    or did I go wrong in implementation ?Works fine for me.
    If you need further help then you need to create a [url http://www.physci.org/codes/sscce.jsp]Short, Self Contained, Compilable and Executable, Example Program, because I can't guess what you are doing based on the information provided.

  • AD Authentication Not Working From Unix

    I am implemeting sp3 for my custom built Java application where I am using AD authentication. I tested everything in Windows environment and is working fine but same code when running from UNIX server, it is throwing below error.
    KrbException: Identifier doesn't match expected value (906)
         at sun.security.krb5.internal.af.a(DashoA6275:134)
         at sun.security.krb5.internal.ae.a(DashoA6275:63)
         at sun.security.krb5.internal.ae.<init>(DashoA6275:58)
         at sun.security.krb5.KrbTgsRep.<init>(DashoA6275:49)
         at sun.security.krb5.KrbTgsReq.getReply(DashoA6275:222)
         at sun.security.krb5.internal.az.a(DashoA6275:299)
         at sun.security.krb5.internal.az.a(DashoA6275:111)
         at sun.security.krb5.Credentials.acquireServiceCreds(DashoA6275:495)
         at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:580)
         at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:213)
         at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:158)
         at com.crystaldecisions.sdk.plugin.authentication.secwinad.internal.e.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:320)
         at com.crystaldecisions.sdk.plugin.authentication.secwinad.internal.d.a(Unknown Source)
         at com.crystaldecisions.sdk.plugin.authentication.secwinad.internal.d.startLogin(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.t.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.t.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.t.userLogon(Unknown Source)
         at com.crystaldecisions.sdk.occa.security.internal.l.userLogon(Unknown Source)
         at com.crystaldecisions.sdk.framework.internal.d.logon(Unknown Source)
         at com.perceptive.ssi.bo.reportrequest.ReportRequestManagerImpl.getEnterpriseSession(ReportRequestManagerImpl.java:668)
    I did lots of google but no luck.
    My application is hosted on Tomcat 5.0 in Unix and SP3 BO environment is setup in Windows.
    Any help will be appreciated.

    Well, you can open a support case with SAP.
    But the recommendation I or another person in the SDK team would give you will be to deploy and configure Java InfoView on the same app server, and engage the authentication support team to get it working.
    Then copy the authentication config to your custom app.
    There's a reason why SAP BusinessObjects support has a specialized support group for authentication issues - it's better than banging my - or your - head against Kerberos config issues.
    Java InfoView will use the same framework as your custom app.
    Sincerely,
    Ted Ueda

  • JavaMail API didnt work in UNIX environment

    I facing a problem whereby my JavaMail class, as below:
    public class MailExample {
    public static void main (String args[]) throws Exception {
    String from = " "; // email address of the sender
    String to = " "; // email address of the receipient
    String host = " "; // mail server id
    String subject = " "; // subject for the mail
    String content = " "; //content of the mail
    String error = null;
         try{
         // Get system properties
              Properties props = System.getProperties();
         // Set the transport protocol format
         props.put("mail.transport.protocol", "SMTP");
         // Setup mail server
         props.put("mail.smtp.host", host);
         // Get session     
         Session session = Session.getDefaultInstance(props, null);
         // Define message
         MimeMessage message = new MimeMessage(session);
         // Set the from address
         message.setFrom(new InternetAddress(from));
         // Set the to address
         message.addRecipient(Message.RecipientType.TO,
              new InternetAddress(to));
         // Set the subject
         message.setSubject(subject);
         // Set the content
         message.setText(content);
         // Send message
         Transport.send(message);
         }catch (Exception e)
              error = e.getMessage();
         System.out.println("\n" + error);
    This class works in Window based Exchange Server but not working in UNIX Exchange Server. Can anyone help me on this problem?
    Thanks.

    i'd found a solution for this problem.
    this is the code i use:
    try{
                        PrintStream out1;
                        SmtpClient send = new SmtpClient("smtp........com"); // create a mail client
                        send.from(emailVal); // email address of the sender
                        send.to(" "); // email address of the receiver
                        out1 = send.startMessage();
                        //Format of the email
                        out1.println("From: [email protected]");
                        out1.println("To: [email protected]");
                        out1.println("Subject: " + subject);
                        out1.println(content);
                        out1.flush();
                        out1.close();
                        send.closeServer();
                   catch (Exception e) {
                        errorMsg = e.getMessage();
    I'd used smtpClient to replace the JavaMail it really works in UNIX but it will show error : connection reset if you run it in Window environment.

  • FormsCentral PDFs not working for Linux and Unix users

    I recently created a PDF (using Indesign > Acrobat IX Pro > Formscentral [AFC]) that includes radio buttons, form fields, linked videos set to play in the PDF once clicked and (after running through AFC) a submit button.
    The form has been distributed and we have already had hundreds of successful responses collected in the AFC site, all is working well there.
    One major problem we are having is that we have a lot of Linux/Unix users and the response from them is that they can't activate the videos, the form fields are out of kilter alignmentwise and the submit button does not work. Even when using the proper Adobe Acrobat Reader (v9, for example).
    Is the Adobe development team aware of problems such as these for Linux/Unix platforms and is there a suggested fix that they know of?
    The link to the actual file is here: http://cms.iopscience.iop.org/alfresco/d/d/workspace/SpacesStore/b5a48eac-8642-11e2-8cf8-e 50acbc9fd86/NJP-Video-Abstracts-Competition-2013.pdf
    Thanks in advance

    Hi Jesse,
    can you email me ([email protected]) the original PDF (before you imported it in FormsCentral)? Also, I'm curious about the format of the video in the PDF. Does the video in the PDF worked in Linux/Unix before going through the FormsCentral import/export?
    When I look at your PDF on my Red Hat Entrprise Linux 6.0 system with Reader 9.5.4 it does look fine (location of the fields) but the video generate an error (which I'm still investigating). I have not yet try the submit button on your form (as I don't want to submit bad data to you) but I seem to have an issue with the submit button on other PDF forms I generated (when I try to submit from a linux machine). Still investigating that as well.
    Gen

  • Unix Command install updates for 10.9 Mavericks does not work

    Unix Command install updates for 10.9 Mavericks does not work
    These commands no longer work with 10.9
    softwareupdate -i -a
    softwareupdate -d
    Are there new unix commands for 10.9 to install updates?

    Now that Safari 7.0.3 is out there is actually something to update, here is the results:
    SYSTEM2 (192.168.1.6)
    Software Update Tool
    Copyright 2002-2012 Apple Inc.
    Finding available software
    Downloading Safari
    Downloaded Safari
    Installing Safari
    Done with Safari
    Done.
    Get Info on the system shows:
    Modified: Today 10:15
    Version: 7.0.3, Copyright © 2003-2014 Apple Inc.
    Regards,
    Shawn

  • Unix script not working when executed from SAP PI communication channel

    Hi Experts,
    I am currently using the Run OS command after message processing functionality of the file adapter.
    However, the unix script doesn't seem to work when run via communication channel.
    The script runs properly when executed manually.
    The communication channel logs don't show any error as well.
    Do you have any ideas as to where the error might be.
    Thanks,
    Mike

    Hi All,
    Thank you for your replies. I appreciate this.
    @Anand, here is the script:
    #!/usr/bin/sh
    #version 1
    hostname=$(uname -a | cut -f 2 -d " ")
    MAILTO="[email protected] "
    homedir=$PWD
    echo $homedir | mailx -m -s "OB10 $hostname" $MAILTO
    /opt/java6/bin/jar -xvf OB10.zip
    ll | mailx -m -s "OB10 $hostname" $MAILTO
    What's puzzling me is that I am able to receive the email alerts.
    This means that the user has sufficient authorization to execute the script.
    But the unzip command is not working.
    I have seen the unzip work when run manually.
    Thanks,
    Mike

Maybe you are looking for

  • Cache Management in OBIEE 11g(11.1.1.5)

    Hi All, I have got a Dashboard with a prompt Year. In the prompt I have got 3 years (2010, 2011, 2012). Users will select one of the years from prompt. I have created an Agent to execute this dashboard before the business hours selecting "All Column

  • What is the difference between the 10.6.8 update vs. the combo update?

    What is the darn difference between the 10.6.8 update vs. the combo update? I read both of them I don't see a difference except that 1 is much larger than the other, I never understand the reason for this confusing action. Found on the support downlo

  • Distiller 5.0 uninstalled

    Hello: In the process of upgrading to Framemaker 8 and Acrobat 9, my Distiller 5.0 application, unbeknownst to me, was uninstalled. I did not see any prompts related to this de-install. Anyone know what happened? And where can I get Distiller now? Th

  • Ios 8.2 Music dissapears

    I bought a new Ipod 5th gen that has the IOS 8.2 loaded. I have tried to auto sync and also manually load my music. The music appears to be on my device in Itunes. But when I try and click and play songs through Itunes the dont play... They play fine

  • TS1702 Help on security questions on App Store?

    When I go to download an app of App Store it tells me to make it more secure and it comes up with security questions. When I select question nothin appears and it is stopping me from my iPad. Could anybody help me?