Strange behaviour whit custom JTextField and JToolTip

Hello everyone. I hope I'm writing in the right section and sorry if I did not search for this issue but I really don't know which keywords I should use.
I'm using NetBeans 6.1 on WinXP and JDK 1.6.0_07, I have a custom JTextField with regex validation: when you type something that don't mach regex it shows a JToolTip. This JToolTip should disappear when the text typed is finally correct, or when the textfield loses focus (see code below).
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Point;
import javax.swing.JToolTip;
import javax.swing.Popup;
import javax.swing.PopupFactory;
public class MyJTextField extends javax.swing.JTextField implements FormComponent
private static Popup popUpToolTip;
private static PopupFactory popUpFactory = PopupFactory.getSharedInstance();
private boolean isValidated = false;
private String regEx = "a regex";
public MyJTextField()
this.addKeyListener(new java.awt.event.KeyAdapter()
public void keyReleased(java.awt.event.KeyEvent evt)
if(evt.getKeyCode()!=java.awt.event.KeyEvent.VK_ENTER)
validateComponent();
else if(evt.getKeyCode()==java.awt.event.KeyEvent.VK_ENTER)
if(isValidated)
((Component)evt.getSource()).transferFocus();
this.addFocusListener(new java.awt.event.FocusAdapter()
public void focusLost(java.awt.event.FocusEvent evt)
if(popUpToolTip!=null){popUpToolTip.hide();}
public void validateComponent()
if(text.matches(regex))
isValidated = true;
if(popUpToolTip!=null){popUpToolTip.hide();}
else
isValidated = false;
if(popUpToolTip!=null){popUpToolTip.hide();}
String error = "C'è un errore nella validazione di questo campo";
JToolTip toolTip = createToolTip();
toolTip.setTipText(error);
popUpToolTip = null;
popUpToolTip = popUpFactory.getPopup(
this,
toolTip,
getLocationOnScreen().x,
getLocationOnScreen().y - this.getPreferredSize().height -1
popUpToolTip.show();
}(I've cut it a bit, here's only the lines that involve JToolTip use)
I have many of them in a form, and when the first tooltip appears (on the first textfield I type in) it never disappears, while nex textfields work just fine.It seems the first tooltip appearing can't be overwritten or something similar. If I use this same component on any other NetBeans project, everithing works without issues.
I have some other custom components working the same way (JComboBox, JXDatePicker), and they had this "not disappearing tooltip" issue since I changed this
popUpToolTip = popUpFactory.getPopup(this, toolTip, getLocationOnScreen().x, getLocationOnScreen().y - this.getPreferredSize().height -1);
whit this
popUpToolTip = popUpFactory.getPopup(null, toolTip, getLocationOnScreen().x, getLocationOnScreen().y - this.getPreferredSize().height -1);
but if I try it on the JTextField all textfield's tooltips stay stuck there, not only the first one appeared (while other components still works fine).
This thing is really driving me crazy. Someone has an hint (or a link to another thread) which could explain this strange behaviour?
Thanks in advance.

BoBear2681 wrote:
Note that an SSCCE wouldn't require you to post any proprietary code.Hmmm... well, I'll try again to reproduce the issue and post an SSCCE.
BoBear2681 wrote:
That probably indicates that the problem is somewhere other than where you're currently looking.Yes, I suppose so. Maybe it's some interference between all the custom components I created, or maybe something else that apparently doesn't conern at all. If I cannot reproduce it in an SSCCE and I'll figure out what's the cause of this mess I'll post it here for future knowledge.
Many thanks for your advices. :)

Similar Messages

  • Strange behaviour of Mouse-Events and Range size

    Hello,
    i found a strange behaviour of the Paragraph-Ranges in Word and can't explain this myself.
    I have a add-in with a Custom Task Pane "UserControl1" and a button "Button1":
    dropbox.com/s/zz2m0out5rvds0m/word.jpg
    This is the Code for the user control:
    public partial class UserControl1 : UserControl
    public UserControl1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    showRanges();
    private void button1_MouseEnter(object sender, EventArgs e)
    showRanges();
    private void showRanges()
    Debug.WriteLine("-------------------------------------");
    foreach (Microsoft.Office.Interop.Word.Paragraph para in Globals.ThisAddIn.Application.ActiveDocument.Paragraphs)
    Debug.WriteLine(para.Range.Start.ToString() + " - " + para.Range.End.ToString() + " | " + para.Range.Text.ToString());
    The mouse-enter and mouse-click events of the button, prints out the ranges of the current paragraphs. In this example it outputs:
    0 - 15 | The first line
    15 - 32 | And a second one
    Thats fine!
    And now the strange stuff starts: When i change something in the first line in the document like "The VERY first line" and use the button again, i got different range outputs for mouse-enter and mouse-click events.
    mouse-enter event (wrong ranges):
    -------------------------------------0 - 143 | The VERY first line
    143 - 160 | And a second one
    mouse-click event (correct ranges):
    0 - 20 | The VERY first line
    20 - 37 | And a second one
    Why the hell I get wrong Ranges when I use the mouse-enter event??? (When I enter the button with mouse a second time, it shows the correct ranges again).

    Hi Torben,
    What is Word version?
    According to my test in Word 2013, the code you provided works fine for me.
    I changed the code as below:
    private void showRanges(string eventname)
    Debug.WriteLine(eventname + "-------------------------------------");
    foreach (Microsoft.Office.Interop.Word.Paragraph para in Globals.ThisAddIn.Application.ActiveDocument.Paragraphs)
    Debug.WriteLine(para.Range.Start.ToString() + " - " + para.Range.End.ToString() + " | " + para.Range.Text.ToString());
    private void button1_MouseEnter(object sender, EventArgs e)
    showRanges("Button MouseEnter");
    private void button1_Click(object sender, EventArgs e)
    showRanges("Button Click");
    The document:
    The output:
    The result is same.
    There might be something else at the end of the first line.
    If you change current document to .zip and find document.xml, what does it look like?
    Here is my document.xml:
    <w:body>
    <w:p w:rsidR="001347D9" w:rsidRPr="001511D8" w:rsidRDefault="001511D8">
    <w:pPr>
    <w:rPr>
    <w:sz w:val="72"/><w:szCs w:val="72"/>
    </w:rPr>
    </w:pPr>
    <w:r w:rsidRPr="001511D8">
    <w:rPr>
    <w:sz w:val="72"/>
    <w:szCs w:val="72"/>
    </w:rPr>
    <w:t>The VERY first line</w:t>
    </w:r>
    </w:p>
    <w:p w:rsidR="001511D8" w:rsidRPr="001511D8" w:rsidRDefault="001511D8" w:rsidP="001511D8">
    <w:pPr>
    <w:rPr>
    <w:sz w:val="72"/><w:szCs w:val="72"/>
    </w:rPr>
    </w:pPr>
    <w:r w:rsidRPr="001511D8">
    <w:rPr>
    <w:sz w:val="72"/>
    <w:szCs w:val="72"/>
    </w:rPr>
    <w:t>And a second one</w:t>
    </w:r>
    <w:bookmarkStart w:id="0" w:name="_GoBack"/>
    <w:bookmarkEnd w:id="0"/>
    </w:p>
    <w:sectPr w:rsidR="001511D8" w:rsidRPr="001511D8">
    <w:pgSz w:w="12240" w:h="15840"/>
    <w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/>
    <w:cols w:space="720"/>
    <w:docGrid w:linePitch="360"/>
    </w:sectPr>
    </w:body>
    Is there anything different?
    I have uploaded the sample document for your test, please check:
    https://onedrive.live.com/redir?resid=AD77AE76D657E280!166&authkey=!AFfIP0eVTDQdMAc&ithint=file%2cdocx
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Strange behaviour when setting client_info and module in v$session

    Hello,
    I've tried to set the CLIENT_INFO field in V$SESSION using DBMS_APPLICATION_INFO.SET_CLIENT_INFO but found a strange behaviour.
    Normally the forms modules seems to set the field MODULE in V$SESSION to its name. If I use DBMS_APPLICATION_INFO.SET_CLIENT_INFO the CLIENT_INFO field is set correctly but the MODULE field is set to 'frmweb.exe' instead of the forms modules name.
    I also tried to set the MODULE using DBMS_APPLICATION_INFO.SET_MODULE but then strangely the MODULE and MODULE_HASH field of the original frmweb.exe (the main applet?) entry and the entry for the forms module were the same (set to the new module name). From now on every newly opened module had 'frmweb.exe' as the module entry until I closed the forms application.
    Example:
    Entries in V$SESSION:
    -- After start of forms application there is only one entry for the process:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         frmweb.exe        854945150
    -- When a new forms module is opened it looks like this:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         frmweb.exe        854945150
    1596:7204         my_module         1929284615
    -- When the modified forms module that sets the client_info/module is opened this happens:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         mod_module        3097977240
    1596:7204         mod_module        3097977240             my client info
    1596:7204         my_module         1929284615As one can see the entry of the forms application seems to be overriden (at least the MODULE and MODULE_HASH fields) but the CLIENT_INFO only changes for one of the entries?
    The following code is responsible for the changes of CLIENT_INFO and MODULE:
        -- get client info
        client_info :=
            webutil_clientinfo.get_ip_address
            || ' (' ||
            webutil_clientinfo.get_user_name
            || ')'
        -- set client info
        DBMS_APPLICATION_INFO.SET_CLIENT_INFO(client_info);
        -- get module (set action to '')
        DBMS_APPLICATION_INFO.SET_MODULE(name_in('system.current_form'),''); I really don't understand, why it does not work properly.
    Any help is appreciated!
    Thanks in advance.

    This was an application module pooling, activation / passivation issue.
    After view objects had been set-up correctly, the problem disappeared.

  • [SOLVED] Strange behaviour of gnome-terminal and xterm

    Hello,
    I've been on Archlinux for 2 days, and I have a strange problem with gnome-terminal and xterm. When I write a too long command on a line, the text continues from the beginning of this line erasing the text, instead of going to a new line. Do you have any idea of how to fix that?
    Thanks a lot!
    Last edited by crotte (2008-04-13 21:59:34)

    Seems to be in a fresh install, too. I didn't change any setting of bash and no PS1.
    I still can't reproduce it... I hate those errors. :-(
    Edit:
    Fixed by using zsh now.
    Last edited by Misery (2008-05-16 08:48:44)

  • Very strange behaviour of mouse, trackpad and finder

    As if there were a demon in my Mac:
    - left mouse click doesn't work correctly
    - left mouse click clicks by itself
    - cursor sticks to objects on the screen and drags them around, from desktop, from safari, anything
    - dock doesn't appear
    - when I drag the cursor over objects it marks them without me clicking left mouse click, it also creates rectangles
    - click another window, but it doesn't come in foreground
    - when all these strange things happen, the mouse pad seems not to work, it doesn't click, it feels differently, doesn't make the usual clicking sound, doesn't move down
    - the USB mouse is no better, though! (when all this happens)
    ... I can end this ghost in the machine only by forcing the Mac to shut down
    ... after that it sometimes works ok for a while... then IT happens again
    ... closing and opening the mbp helps sometimes
    is it the software, is it the hardware, is it both?
    (I repaired disk permissions, cleaned PR ram, scanned for viruses)
    any ghostbusters around???
    p.s.: all these thing do not happen when I boot from my windows partition on the same mac

    There are several possible causes for this issue. Take each of the following steps that you haven't already tried until it's resolved. Some may not be applicable.
    1. Follow the instructions in this support article, and also this one, if applicable.
    2. Open the Bluetooth preference pane in System Preferences and check for unknown or forgotten input devices. Disconnect any USB input devices that you aren't using.
    3. Boot in safe mode and test, preferably without launching any third-party applications. If you don't have the problem in safe mode, but it comes back when you reboot as usual, stop here and post your results. If you can't boot in safe mode, do the same. If you booted in safe mode and there was no change, go on to the next step.
    4. Reset the System Management Controller.
    5. If you're using a Bluetooth trackpad, investigate potential sources of interference, including USB 3 devices.
    6. A swollen battery in a MacBook Pro or Air can impinge on the trackpad from below and cause erratic behavior. If you have trouble clicking the trackpad, this is likely the reason. The battery must be replaced without delay.
    7. Press down all four corners of the trackpad at once and release. If there's any effect, it's likely to be temporary, and the unit needs to be serviced or replaced.
    8. There's a report that a (possibly defective) Thunderbolt Ethernet adapter can cause the built-in trackpad of a MacBook to  behave erratically. If you're using such an adapter, disconnect it and test.
    9. There's also a report of erratic cursor movements caused by an external display that was connected but not turned on.
    10. If none of the above applies, or if you have another reason to think that your computer is being remotely controlled, remove it from the network by turning off Wi-Fi (or your Wi-Fi access point), disconnecting from a Bluetooth network link, and unplugging the Ethernet cable or USB modem, whichever is applicable. If the cursor movements stop at once, you should suspect an intrusion.
    11. Make a "Genius" appointment at an Apple Store to have the machine and/or external trackpad tested.

  • Very strange behaviour of table values and event case

    Hi all
    i'm becoming crazy on my .vi
    i want to change the second col values on click from yes to no and from no to yes simply by a click.
    The problem is that this changing happens after some clicks on an old position.
    Try to click on some "no" on the file that is attached.
    Thanks a lot!
    Dario
    http://www.sd-studio.it - web design agency
    Attachments:
    Ecu_wizard.vi ‏101 KB

    The issue took me a sec to understand but here it is.  You are trying to change the value during the mouse up event.  And you do... however you have just selected that cell in the table.  So LabVIEW is waiting for the user to change the value, and in this case ignoring your change.  All you need to do is add a property node to the end of that sequence that is Key Focus and set it to false

  • Very strange behaviour of RGBImageFilter class

    Hi!
    I found very strange behaviour of RGBImageFilter class and problem is
    that I need to solve that problem :/ So, situation is next:
    I decided to use filtering process for collecting information about
    image. So, I extended my own class from RGBImageFilter and overwrite
    filterRGB( ... ) method ( everything is absolutely the same as in
    documentation ) and also added my own code for 'no matter what'.
    This code changes some class variable and my idea was to read those
    variables after filtering process end, but... Suddenly I realized that
    those variables, many times changed while filtering were performed
    ( I checked it ) after filtering gave the same value as in constructor!
    The only one clue and idea about what happened is that class instance
    were cloned and then executed, but thats not a functionality I was
    searching. :/ I made some example of that 'effect'.
    Image file name goes in command line.
    Please pay attention on -3 value on exit: Filtering works, count growing
    ( just uncomment setPixels() method to see it ) but, but...
    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.*;
    class ToForum
         public static void main( String[] args )
              try
                   JFrame frame = new JFrame( "now i beleave in x-files!" );
                   frame.setDefaultCloseOperation( frame.DISPOSE_ON_CLOSE );
                   Toolkit kit = Toolkit.getDefaultToolkit();
                   Image origin = kit.getImage( args[0] );
                   RedBlueSwapFilter filter = new RedBlueSwapFilter();
                   Image filtered = frame.createImage( new FilteredImageSource( origin.getSource(), filter ) );
                   MediaTracker tracker = new MediaTracker( frame );
                   tracker.addImage( filtered, 1 );
                   tracker.waitForAll();
                   System.out.println( "AND WE GOT: "+filter.getCount()+" !!!" );
                   Container content = frame.getContentPane();
                   content.setLayout( new FlowLayout() );
                   JLabel label = new JLabel( new ImageIcon( filtered ) );
                   content.add( label );
                   frame.pack();
                   frame.setVisible( true );
              catch( Exception ex )
                   System.out.println( "Exception in main():\n"+ex );
    class RedBlueSwapFilter extends RGBImageFilter
         private int count=-5;
         public RedBlueSwapFilter()
              count = -3;
              canFilterIndexColorModel = true;
         // uncommenting this function will show that filterRGB method IS calling !!!
         // so, why then AFTER filtering count is still ( or again ??? ) equals to 0 ?
         public void setPixels( int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize )
              System.out.println( "on entering in setPixels count="+count );
              super.setPixels( x, y, w, h, model, pixels, off, scansize );
              System.out.println( "on exiting from setPixels count="+count );
         public int filterRGB( int x, int y, int rgb )
              count++;
              return ( (rgb&0xff00ff00) | ((rgb&0xff0000) >> 16) | ((rgb&0xff) << 16) );
         public int getCount()
              return count;

    Cliff, Hi. I'm curious because this can't work. I have no problem synching with the exchange - as long as i accept the message that the certificate of the exchange (which is not the certificate of the exchange but the certificate of dig @reighthandsideofmailadress) is not valid (expired, wrong common name etc).

  • APEX Listener and EPG - strange behaviour

    Hi
    For some years, I've used EPG for APEX but have struggled with performance particularly as I can have up to 150 student developers using at any one time.
    I do a fair amount of work using ORDImage and have successfully developed APEX applications to upload image files and display full-size and thumbnail images.
    After upgrading to APEX 4.1 (from 4.0), I decided to install APEX Listener standalone.
    Before I did so I checked that my applications still worked in 4.1 and they did.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.
    Configuring APEX Listener and running the same application through that DOES display the images.
    So this part of the application works under APEX Listener but not under EPG.
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank page with a wwv_flow.accept URL although the image does indeed upload. Under EPG it works as expected and I get a success confirmation.
    So this part of the application works under EPG but not under APEX Listener.
    Has anyone else come across different behaviour depending on the mode of connection?
    Thanks
    Brian
    [Oracle EE 11gR2, Windows Server 2008R2, APEX 4.1, APEX Listener 1.1.3]

    Hi Brian,
    it sounds like you have both EPG and APEX Listener running on the same machine, so your problem might result from a port conflict. Note that both services use TCP port 8080 as default.
    At least a port conflict would explain the strange behaviour in your case, some things working on one web server and some on the other.
    Some parts of your initial post hint to that direction, e.g.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on >wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.... because the APEX Listener only interfere with the EPG if it is at least running on the same machine as your database and furthermore, if it is unconfigured in terms of ist database connection, a port conflict might be the only way it could cause anything like that.
    However, if you are sure that's not the issue, please check if you see any error in the APEX Listener's log for the following action you performed:
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank >page with a wwv_flow.accept URL although the image does indeed uploadIf you actually see just a blank screen, something very bad must have happened and you should see some kind of stack trace there.
    For further investigations, if necessary, it would be helpful to know how you deployed or started your APEX Listener and which JDK version you use.
    For the moment, I still think the port conflict is my best guess.
    You could avoid it by either changing the port for EPG (I'd not recommend that if you have other users still using it) or by changing the port for your APEX Listener.
    -Udo

  • FIM Load Balancing and SPN's - Strange behaviour

    I have a FIM setup in a domain
    I have mycorp.com and a domain in the same forest contractor.mycorp.com (fictional setup)
    I have 2 servers built in the contractors.mycorp.com domain
    Id1
    Id2
    Id1 has the Service and portal on wss3 in SharePoint farm mode, Sp central admin is on this as well
    Id2 has the service and is a load balanced SharePoint farm.
    I have NLB setup and working the service name is identity.mycorp.com pointing at the IP of the NLB
    I have a CNAME identity pointing at identity.mycorp.com
    Identity.mycorp.com is used as the name of the Service and the Portal.
    In the ApplicationHost.config I have
    <system.webServer>
       <security>
          <authentication>
             <windowsAuthentication enabled="true" useKernelMode="true"
    useAppPoolCredentials="true" />
          </authentication>
       </security>
    </system.webServer>
    I have kernel mode enabled, and I have Windows authentication enabled in the IIS console on id1 and id2.
    The app pool credentials are a domain account SPService for SharePoint Service, the app pool is set on both id1 and id2 servers. The root domain account mycorp\SPService us used.
    In
    c:\inetpub\wwwroot\wss\VirtualDirectories
    I have set
    <resourceManagementClient
    requireKerberos="true"
    I have registered the alternate URL mappings for SharePoint as
    Identity
    Identity.myCorp.com
    I have registered SPN's for
    Setspn –S FIMService/identity.myCorp.com myCorp\FIMService
    Setspn –S FIMService/identity  myCorp\FIMService
    Setspn –S HTTP/identity.myCorp.com myCorp\SPService
    Setspn –S HTTP/identity myCorp\SPService
    I have configured delegation for both accounts in ADUC for the identity.mycorp.com
    So all is well and I installed everything fine.
    Now my problem is that if I go to id1 and browse to http://identity/identitymanagement I get redirected , and authenticated with my admin account to
    http://id1/IdentityManagement/default.aspx
    On id1 if I go to http://identity.myCorp.com/identitymanagement I get prompted for credentials, when I enter myCorp\FIMAdmin and my password I get redirected to the portal at
    http://id1/IdentityManagement/default.aspx
    If I try and authenticate to any of the previous URL's from other machines in my domain, including the load balanced box id2 I get "HTTP Error 401. The requested resource requires user authentication."
    Even if I try and browse to
    http://id1/identitymanagement from another machine I am getting 401. Only on
    http://id1 am I getting a result, even if there is a prompt.
    I am sure my SPN's are fine, there are no duplicate SPN's , I checked with the -x switch
    So my load balanced portal and service are not working as I would have thought , I have looked at
    http://blogs.msdn.com/b/webtopics/archive/2009/01/19/service-principal-name-spn-checklist-for-kerberos-authentication-with-iis-7-0.aspx
    http://social.technet.microsoft.com/Forums/en-US/484faae8-4df6-4b81-8b2d-9d75d5258e4f/fim-portal-http-error-401-the-requested-resource-requires-user-authentication?forum=ilm2
    http://social.technet.microsoft.com/wiki/contents/articles/4473.fim-http-error-401-the-requested-resource-requires-user-authentication.aspx
    http://setspn.blogspot.ie/2010/06/kerberos-basic-troubleshooting-tip-3.html
    The only thing that I can think of is that the machine is in the contractors.myCorp.com domain which makes the machine  
    unique from where the SPN's are registered, but if that was the case then browsing to the portal from
    http://id1 would certainly fail.
    Can anyone see anything wrong with my approach ?
    Normally I find SharePoint a pain, but this week it seems to be this.
    When I ran the fim service install I specified identity.myCorp.com as the name of the server
    Rob

    In my Load Balanced setup it helped a lot (on some strange behaviours) when I set up Load Balancer to keep session on one server.
    Borys Majewski, Identity Management Solutions Architect (Blog: IDArchitect.NET)

  • LR 1.3.1 strange behaviour: L key adds keywords and removes pictures from collection

    After updating to LR 1.3.1 yesterday I found a very strange behaviour that I cannot explain: While in the Library module and looking at a picture from a collection (in loupe mode) I cycle through the different light modes using the L key. Then suddenly (after several hits of the L key) a keyword is added (not always the same keyword) and at the same time an unknown number of pictures is removed from the collection. The keyword is not added to the picture I was currently viewing, but to another one from the same collection. This has not happened before and I have no idea what is going on. I can restore the collection by relaunching an older catalog but of course this does not solve the problem. Can anybody help?
    (PC, Win XP prof SP 2, 4 Gig RAM)

    It is possible that instead of hitting the l key, or perhaps within the same sequence of hits your are in fact accidentally hitting the k key.
    K is the shortcut for "Add shortcut keyword"
    Of course you would have had to set that particular keyword at some point and it does not explain the different keywords being assigned.
    Unless the alt key was involved somehow and you were rating the images with 1-9 numbers. That would account for different keywords being assigned and would seem arbitrary.
    To check: look at one or two of the images that you may have rated using a number key and then look at the keyword set the keyword came from. Press the alt key and a number from 1-9 will appear next to the keyword. If they match then thats the answer.
    If you weren't rating the images this way then.....??
    Perhaps there is a fault with the keyboard itself rather than the program.
    David

  • Hi there i have ipod touch 2nd gen and i am tryna restore it but i get error 21 with orginal fireware and 1601 with custom fireware and when it connected to itunes and i try to boot it up by restoring it white screen with lines thorugh it

    hi there i ahve ipod touch 2nd gen and i am tryna restore it but get error 21 with orginal fireware and 1601 with custom firewarw and when connected it to itunes and i try to boot it by resotring it white screen with lines through it

    Those errors are covered here:
    http://support.apple.com/kb/TS3694

  • Nokia C3-01 -strange behaviour/ problems with Noki...

    When I was choosing my new mobile, I had two options : Samsung Wave 533 and Nokia C3-01. After a lot of hesitance I decided to pick up Nokia, believing to its high quality despite its poor media potential. However, now I think that it was a bad idea.
          Firstly, I have never thought that Touch and Type won't have ability to adjust brightness of the screen (AWFUL IN THE NIGHT), set up more then one alarm and use many of JAVA applications. When I tried to install some applications, it said- out of memory. Out of memory?! My old SE K770i could much more! What annoys me the most is that I can't use my e-mail account via Nokia Mail. When I press the icon of it , there is an error Null pointer exception and  applications shuts. Other strange behaviour- while I was typing sms , suddenly there was hard, long vibration, screen  went white and mobile restarted. Other users of C3-01, check this: go to messages, then other messages , then direct , start typing and try to go back to menu- screen turns white, mobile restarts (I'm polish , so names may be a little bit different) . How on earth, can mobile restart so often?.
        , Secondly,the funniest one- Ovi shop. Important thing in every Nokia. Guess what- I can't use it! When I to launch the apllication and try to go to the shop, there is information that it's not avaible for my phone. I used it a week ago and worked properly.
          All in all, I hope that Nokia will share an update of software to this model. I am just so disappointed. What I am sure about that next mobile will not be from finnish enterprise.
    Solved!
    Go to Solution.

    Sorry Brother, Your Device is totally misfunctioned and FAULTY, You Need to go back to Nokia Care Centre and GET IT REPLACED.
    Your Device is faulty.
    Please Dont Blame Nokia Or the C3-01 Device Because both are QUALITY PRODUCTS.
    I have C3-01 Since 4 Months Now and I havent Had a Single Complain about my device even though I am a Rough Handler and Using the Mobile Upto its Extend.
    You Have 2 options, Try To Fix your Device at Home By :
    Soft reset your Nokia C3-01 Touch and Type you need to press *#7780# and then Dial. The security code is 12345. Once you complete this, your phone will come back to factory settings, but you will not loose personal data. Anyway it is recommended to make a backup before performing any of the mentioned procedures.
    To hard reset your Nokia C3-01 Touch and Type you just have to press *#7370# and press Dial. The phone will request the security code that is by default 12345. Please be aware that you will loose all the data in your phone, so you should backup all relevant information.
    If Problem still persist then Connect to PC Suite/Ovi Suite and Reinstall the Firmware.
    BUT U NEED YOUR DEVICE TO BE UPDATED TO ITS LATEST FIRMWARE = v06.05
    If still not fixed then, REPLACE YOUR DEVICE ASAP, because as given by Nokia, C3-01 Device Works according to its Specification as Specified.
    If I've helped in any way, a click upon the White star to the left would always be appreciated.
    If however my answer also solves your problem clicking below " ACCEPT AS SOLUTION " it will benefit other users!

  • URGENT: Strange behaviour! Help!

    Hi All.
    When I run the enclosed program I am getting some strange behaviour. For instance, when I click on the EDIT button nothing happens, but when I click on the DELETE button everything is fine!
    And I can also not run the code in edit() directly after add(). Nothing happens. PLEASE HELP ME. I am going mad because I cannot see what is wrong!
    I want to run the code associated with the buttons to update my JTable. Please tell me if there is something wrong in the code.
    As I say - it works fine when I click the DELETE button, but on the others it doesn't work.
    Please tell me if you need more information!
    HOPE TO HEAR FROM SOMEONE BEFORE I KILL MYSELF OUT OF FRUSTRATION!!!!
    C
    // The "Main" class.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    import javax.swing.JPanel;
    import javax.swing.JTable;
    import javax.swing.table.AbstractTableModel;
    import javax.swing.JScrollPane;
    import javax.swing.JFrame;
    import javax.swing.SwingUtilities;
    import javax.swing.JOptionPane;
    public class Team
        extends JFrame
        implements ActionListener {
      JLabel LTeamSetup = new JLabel();
      JButton Edit = new JButton();
      Font customFont1 = new Font("SansSerif", Font.BOLD, 18);
      Font customFont2 = new Font("SansSerif", Font.PLAIN, 12);
      JButton Delete = new JButton();
      JButton Close = new JButton();
      JButton Add = new JButton();
      Border border1;
      TitledBorder titledBorder1;
      TeamDataModel myModel = new TeamDataModel();
      JTable Table = new JTable(myModel);
      JScrollPane scrollPane = new JScrollPane(Table);
      public Team() {
        super("Add Team Window");
        setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
        setSize(790, 560);
        setLocation(3,5);
        setVisible(true);
        try {
          new DBTeam();
          jbInit();
        catch (Exception e) {
          e.printStackTrace();
      public void actionPerformed(ActionEvent event) {
        if (event.getActionCommand() == "CLOSE") {
          close();
        if (event.getActionCommand() == "ADD") {
          add();
        if (event.getActionCommand() == "DELETE") {
          delete();
        if (event.getActionCommand() == "EDIT") {
          edit();
      public void close() {
        this.dispose();
      public void add() {
        new TeamAdd();
      public void delete() {
        DBTeam.numRows();
        DBTeam.rows();
        Table.tableChanged(new TableModelEvent(myModel));
        Table.repaint();
      public void edit() {
        DBTeam.numRows();
        DBTeam.rows();
        Table.tableChanged(new TableModelEvent(myModel));
        Table.repaint();
      ///////////////////////////SETUP SWING FRAME////////////////////////
      private void jbInit() throws Exception {
        border1 = BorderFactory.createCompoundBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED,Color.white,Color.white,new Color(124, 124, 124),new Color(178, 178, 178)),BorderFactory.createEmptyBorder(1,1,1,1));
        this.getContentPane().setLayout(null);
        LTeamSetup.setBounds(new Rectangle(23, 4, 203, 50));
        LTeamSetup.setEnabled(true);
        LTeamSetup.setFont(new java.awt.Font("SansSerif", 1, 36));
        LTeamSetup.setForeground(Color.black);
        LTeamSetup.setText("Team Setup");
        LTeamSetup.setBounds(new Rectangle(41, 13, 390, 50));
        Edit.setText("EDIT");
        Edit.setBounds(new Rectangle(647, 157, 94, 45));
        Edit.setActionCommand("EDIT");
        this.setResizable(false);
        this.setTitle("Team Setup");
        Delete.addActionListener(this);
        Delete.setBounds(new Rectangle(647, 214, 94, 45));
        Delete.setText("DELETE");
        Close.setText("CLOSE");
        Close.setBounds(new Rectangle(641, 480, 105, 26));
        Close.addActionListener(this);
        Add.setText("ADD");
        Add.setBounds(new Rectangle(647, 99, 94, 45));
        Add.addActionListener(this);
        scrollPane.setBounds(new Rectangle(40, 96, 567, 412));
        this.getContentPane().add(LTeamSetup, null);
        this.getContentPane().add(Delete, null);
        this.getContentPane().add(Close, null);
        this.getContentPane().add(Add, null);
        this.getContentPane().add(Edit, null);
        this.getContentPane().add(LTeamSetup, null);
        this.getContentPane().add(scrollPane, null);
        scrollPane.getViewport().add(Table, null);
        repaint();
    }

    if (event.getActionCommand() == "CLOSE") {
    if (event.getActionCommand() == "ADD") {
    if (event.getActionCommand() == "DELETE") {
    if (event.getActionCommand() == "EDIT") {And these look highly dubious, too. Shouldn't you be doing
    event.getActionCommand().equals("CLOSE")
    etc.?

  • Strange behaviour concerning JSF phases

    Hi all,
    I have a JSF page that displays two custom JSF tables, ‘A’ and ‘B’ with his correspondent’s pagers.
    <mycustom:table id="A" ... pager="#{tableA.pager}">
    <mycustom:table id="B" ... pager="#{tableB.pager}">I experiment a strange behaviour when I hit ‘tableA.next’ link.
    This is the flow (summarized):
    First-Page-Load (START)
    encodeA
    encodeB
    First-Page-Load (END)
    <User hits TableA.nextPage pager link>
    decodeA
         pagerA.setNext(true)
    decodeB
    encodeA
         pagerA.getNext() returns ‘false’ ¿? (here is the problem! should return ‘true’)
    encodeB
         pagerB.getNext() returns ‘true’ ¿? (should return ‘false’)Any help will be appreciated...

    Self-solved:
    Inside the ‘decode’ method I must get the ‘pager’:
    pager = getPager(table); //This line is essential!!
    String pLink = (String)requestMap.get("pLink" + clientId);
    if ((pLink != null) && (!pLink.equals(""))) {
         if (pLink.equals("next")) { //Siguientes                                         
              pager.setNext(true);
         } else if (pLink.equals("previous")) { //Anteriores
              pager.setPrevious(true);
    }

  • Strange behaviour in SOAP connection mode

    Hello,
    I created a custom worklist app using SOAP connetion mode and I experiencing strange behaviour using it.
    Sometimes it works and sometimes not. The only difference beetwen the two working config is nearly nothing. Just server restart are performed to make it work or not. No config files or applications deployement are done between two restart.
    So It's lotery to get it work.
    When it doesn't work, I have the following error messaging (see below)
    Does anyone have a clue to get it work each time ?
    Regards.
    ORABPEL-30509
    Error in invoking task query service.
    A client side error occured in invoking the task query service.
    Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:183)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:200)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:93)
         at eu.eca.itt.eworkflow2.controller.action.TaskListAction.process(Unknown Source)
         at eu.eca.itt.eworkflow2.controller.action.TaskListAction.execute(Unknown Source)
         at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
         at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.xml.soap.SOAPException: Unable to create SOAP connection factory: Provider com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory not found
         at javax.xml.soap.SOAPConnectionFactory.newInstance(SOAPConnectionFactory.java:32)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:131)
         ... 29 more

    I also tried to change connection setting with
    System.setProperty("javax.xml.soap.SOAPFactory", "com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl");
    System.setProperty("javax.xml.soap.SOAPConnectionFactory", "com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory");
    I get it work for ....... a day (or a restart I suppose) reverting back to initial settings to make it work again.
    Does It mean SOAPConnectionFactories gets corrupted upon restart once I used them ?
    Is a Service Request a good idea ?
    Regards.

Maybe you are looking for

  • How to call business rules scripts via Java API

    Hi I have a problem. I have some scripts (business rules in essbase) that can be seen thru Administration Services Console under Business Rules folder. How can I execute these script using Provider Services (via Java API to EssBase interface)?

  • Cast string to single precision

    Hi, I try to write a communication between a PC and a DSP which is programmed to understand some kind of ModBus. I tried to use MBmaster.vi, a freeware of AIRtech in the netherlands. I was successfull to 90% after a very short time - I get back a str

  • General, tentative RMAN query: why bother?

    Hi. I would like to propose to my boss that we could use RMAN. This is what we do right now: Nightly cold backups to tape. Each night around 250G written to tape. Using O/S commands in Unix. Using AIX System Backup and Recovery/6000 (Sysback) to do t

  • Any course on BW on HANA SP3? and Migration steps from BW to BW on HANA.

    SAP Provide any course for BW 7.3 on HANA 1.0 SP3? Any Idea about - RBWHDB ? Any information ( Steps ) for Migration from Bw to BW HANA?

  • Google Chrome freezes with the pinwheel until I move my mouse to the Hot Corner. Why?

    Help me! I am using Google Chrome (Version 28.0.1500.95) on a Macbook Pro (Mac OS X 1.7.5) and it keeps freezing with the rainbow pinwheel of death until I move my mouse into the Hot Corner. Once it's gone to the pinwheel I can't use any other applic