Encounter problem when I'm using JTextArea

hi everyone:
I have less experience on Swing development. Recently, I encounter a weird problem. I have a JTextArea component which it was populated on JInternalFrame, and when I try to switch an inputmethod(Actually is Chinese inputmethod). the application will hangs up. at this time I drag the frame, the title bar will display string with "no response". but if I only type English words, without shift to other inputmethod. it works fine. Please give me some suggestion and help. Thanks you guys in advance.
Mikael

conch_fish wrote:
Please give me some suggestionYou've got a bug somewhere. Perhaps you're tying up the EDT, but who knows.
and help. This is extremely hard to do without seeing code.
Your best bet here is to show us your code. We don't want to see all of it, but rather you should condense your code into the smallest bit that still compiles, has no extra code that's not relevant to your problem, but still demonstrates your problem, in other words, an SSCCE (Short, Self Contained, Correct (Compilable), Example). For more info on SSCCEs please look here:
[http://homepage1.nifty.com/algafield/sscce.html|http://homepage1.nifty.com/algafield/sscce.html]
Again, if the code is compilable and runnable more people will be able to help you.
Also, when posting your code, please use code tags so that your code will retain its formatting and be readable. To do this, you will need to paste already formatted code into the forum, highlight this code, and then press the "code" button at the top of the forum Message editor prior to posting the message. You may want to click on the Preview tab to make sure that your code is formatted correctly. Another way is to place the tag [code] at the top of your block of code and the tag [/code] at the bottom, like so:
[code]
  // your code block goes here.
  // note the differences between the tag at the top vs the bottom.
[/code]or
{code}
  // your code block goes here.
  // note here that the tags are the same.
{code}good luck

Similar Messages

  • EVDRE error "encountered problem when retrieving data from webserver"

    Hi,
    in a EVDRE we always get the error "encountered problem when retrieving data from webserver"
    When analysing this further we noticed this is always generated when a base member is selected in the CV and the expansion on the row for this dimension is has one of the following expansion settings:
    DEP
    ALL
    NOEXPAND
    if we select SELF, the error disappears again and the EVDRE works fine again ... is this normal behavior?
    there is no problem with application nor dimension.
    D
    solved it

    Note that the keyword "ALL" does not include the member itself. This may cause some confusion, but as Harish implies, when you select a base member it finds no matches if your memberset is "ALL".
    If you want to design a report to handle the user moving back and forth between base and non-base members in their CV, you either need to include SELF,ALL or SELF,DEP, or something similar....
    OR you need to get a little fancier, and use EVPRO to look and see if the CV member is base -- evpro(app,member,"CALC") -- and then use some conditional logic in Excel to choose the correct expansion options. If Calc=N, use Self, otherwise use SELF,DEP or whatever you choose. This can be a bit tricky if you then want the user to be able to drill down in the report (especially if you want the workbook option to insert add'l rows on the expansion, rather than replace), but it's all possible.

  • Problem when try to use ACSE+ Windows AD to authenticate two kind of WLAN c

    I met a problem when try to use ACSE+ Windows AD to authenticate two kind of WLAN clients:
    1. Background:
    We have two WLAN: staff and student, both of them will use PEAP-MSCHAPv2, ACSE will be the Radius server, it will use Windows AD's user database. In AD, they create two groups: staff and student. The testing account for staff is staff1, the testing account for student is student1.
    2. Problem:
    If student1 try to associate to staff WLAN, since both staff and student WLAN using the same authentication method, the auth request will be send to AD user database, since student1 is a valid user account in AD, then it will pass the authentication, then it will join the staff WLAN. How to prevent this happen?
    3. Potential solution and its limitation:
    1) Use group mapping in ACSE(Dynamic VLAN Assignment with WLCs based on ACS to Active Directory Group Mapping), but ACS can only support group mapping for those groups that have no more than 500 users. But the student group will definitely exceed 500 users, how to solve it?
    2) Use methods like “Restrict WLAN Access based on SSID with WLC and Cisco Secure ACS”: Configure DNIS with ssid name in NAR of ACSE, but since DNIS/NAR is only configurable in ACSE, don't know if AD support it or not, is there any options in AD like DNIS/NAR in ACSE?
    Thanks for any suggestions!

    I think the documentation for ACS states:
    ACS can only support group mapping for users who belong to 500 or fewer Windows groups
    I read that as, If a user belongs to >500 Windows Group, ACS can't map it. The group can have over 500 users, its just those users can't belong to more than 500 groups.

  • I just installed yosemite on my mcb pro mid 2012 and installed win8.1 with bootcamp. now i have the problem, when i'm using windows i don't see my mac partition in the "computer" window. there is only the "bootcamp (c;) partition? what's the problem?

    i just installed yosemite on my mcb pro mid 2012 with a clean install. so i only had the new os x yosemite running on my mac. everything went perfect. than i installed win8.1 with the bootcamp assistant and also everything went perfect.
    But here's the Problem:
    When i'm using Windows 8.1 and i go to the "Computer" window where i can find my hdd partition "Bootcamp (c;) there is only this Partition. the mac Partition is missing.
    so i am not able to read the files on my mac Partition.
    Before i installed yosemite and win8.1, i was running mavericks and win7 on my macbook pro and i haven't had this Problem. i was able to see and read my mac Partition also on Windows 8.1???
    is there any solution for this Problem???
    greez c

    "Before i installed yosemite and win8.1, i was running mavericks and win7 on my macbook pro and i haven't had this Problem. i was able to see and read my mac Partition also on Windows 8.1???"
    Sorry there's a mistake in the sentence!
    i mean:
    "Before i installed yosemite and win8.1, i was running mavericks and win7 on my macbook pro and i haven't had this Problem. i was able to see and read my mac Partition also on Windows 7???"

  • Problem when try to use 2 computers

    Hello there.
    I'm now facing a problem when try to use 2 computers. Specifically, I downloaded my ebook (pdf form) in my laptop and open it without problems. But when I tried to reopen the same book (from human kinetics site) to my pc, the known message revealed ("E_LIC_ALREADY" etc etc).
    As I realised, in my laptop, the ADE wasn't authorized (in fact, "is authorized without an ID"). I tried but didn't achieve to authorize it (it's not accepting my username and password, saying that the specific ID is already used, obviously when I made the similar procedure on my pc, a year ago), whereas I'm also not able to re-open the book in my pc (I made copy-paste to the appropriate folder of my pc, by the way...). What's the solution in this case? I mean, it's very annoying for me and I desperately want to solve it...
    Thank you in advance,
    Nikolas

    Answer 1 : Really not quite sure about this ....
    Answer 2 : turn the card upside down and check the model number .. the model number would be WPC54G and if there v2/v3/v4 after it it means that the card is version 1 ....
    Answer 3: As you windows xp , go to start >> programs >> uninstall wireless notebook adapter.... insert the CD for the adapter ...take the card out and insert it back again.... follow the instructions on the found new hardware wizard ... this will install the drivers for the adapter and then you can use the windows wireless configuration utility to connect to the wireless network ....

  • HT201415 actually i am use iphone5 in bangladesh. But i am facing some problem , when i am useing the internet over cellular data network. when i am open the cellular data on but no icon E display but when Enable 3G on-of then E is aviable.its a device pr

    actually i am use iphone5 in bangladesh. But i am facing some problem , when i am useing the internet over cellular data network. when i am open the cellular data on but no icon E display but when Enable 3G on-of then E is aviable.its a device problem or Carrier ?

    Hafizur Rahman wrote:
    when i am open the cellular data on but no icon E display but when Enable 3G on-of then E is aviable.its a device problem or Carrier ?
    Problem? I'm not even sure what your problem is, much less whether it's a problem with the phone or the carrier.

  • Encounter Problem when upload Data for T-Code CJ92

    Dear All,
    I want to upload Standard WBS element through transaction code CJ92.  I am encountering a problem when I want to upload more than 13 Standard WBS for a project using recording (SHDB). 
    I have also tried to upload data through BAPI u201CBAPI_BUS2054_CREATE_MULTIu201D but this BAPI didnu2019t work for standard WBS.
    Please provide me a solution to upload Standard WBS (CJ92).

    Thanks Shyam,
    But this BAPI "BAPI_PROJECT_MAINTAIN" works only for operative WBS and I want to upload Standard WBS.  The T-Code to create Standard WBS is CJ92. The screen upload can't be possible due to screen limitations.
    Please provide me any solution to upload Standard WBS.
    regards,
    Saif

  • Encountered problem when invoking a Tuxedo service

    Good day.
    I'm currently encountering a problem when trying to invoke a Tuxedo service from a JCS. The error is a LIBTUX_CAT:488 : ERROR: Invalid data pointer given to tpreturn(). The returned error message to the WLS console was "tpcall invocation failed[null]."
    It was previously working until I added a few more lines of code that invoked a database.
    Both the JCS and the JCX used to invoke the Tuxedo service are in a Web Service project, stored separately in different folders though.
    Could anyone help please? I haven't found any solution to this problem yet.
    Thank you.

    Umm.. I already problem. Sorry for bothering everyone.
    I was simply passing a value that was longer than the set buffer in the Tuxedo service.
    Could someone please close topic? Thank you.

  • I have an audio problem when ever I use my Firefox web browser that makes a sharp audible sound simiular to a video game gun shot sound effect when ever I go into a new web page?

    I have an audio problem that when ever I use my Firefox web browser it makes a sharp audible sound similar to a video game gun shot sound effect when ever I go into a new web page? I change to a new site or page a page on a site, I get an audible gunshot ping trpe sound? It happens almost every time. Its very annoying and is driving me nuts???
    Any body out there had this happen also or know how to diagnose and fix this type of problem? I would hate to have to delete my whole Firefox program and have to start over again. If that is the case I will probably just scrap it and go on to try Google Chrome instead. I already have GC partially set up. I really have liked Firefox up to this point. I know add ons can cause problems at times but I haven't added anything new lately and this just started happening?

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode].
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]. All these settings/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme or hardware acceleration is causing issues.
    [https://support.mozilla.org/en-US/kb/Options%20window Options]

  • Encountered problem when converting from development to runtime environment

    1. I ran apxdevrm.sql switch my environment to runtime. Although it seemed to finish successfully, this error was in the log and according to registry, my installation was invalidated(still works though).
    drop package wwv_flow_create_flow_api (doesn't seem to exist)
    ERROR at line 1:
    ORA-04043: object WWV_FLOW_CREATE_FLOW_API does not exist
    Entry in dba_registry:
    COMP_NAME--Oracle Application ExpressSTATUS
    STATUS--INVALID
    2. Next, not sure if it had made the switch, I then ran apxdvins,sql to revert back because of problem #1. (later found out that it was still devl environment)
    This time, this message appeared in log...
    FAILED CHECK FOR TRIGGER BIN$UH58A027El3gRAADutXi8w==$0
    (Installation still invalid)
    Any ideas?

    1. Commented "drop package" stmt out on apexdevrm.sql to get rid of non-existent package problem. (probably holdover from v3.0)
    2. purged dba_recyclebin to get rid of problem #2.
    Dba_registry entry still shows as INVALID... Has anyone else encountered these problems when switching from dev to runtime? (or vice-versa)

  • Problems when creating form using wizard

    i use the data block wizard to create a form but one of my field, i use a radio button.in the layout editor, the radio button did not appear.how can i make it appear on my screen?
    i have another problem.
    how can i use the colunm of two tables when using data block wizard to create one data block?

    Hello Nicky,
    You can place the "Signature Field" in the form and ask your users to sign the file before submitting it via email.
    Regards,
    Anoop

  • I have a problem when I am using the SIRI

    Hello I have an iphone when I am using the SIRI and want to call a contact with the # 995*******, you can not make the call.
    The ISP provider is movistar.
    <Edited By Host>

  • Sign in problems when trying to use Skype WiFi

    I have a tablet that I am trying to connect to Skype WiFi and keep getting looped around to the sign-in screen.  It tells me "You're already on line", but I can't do anything after that.  I just have the "Learn More" button.  I have unstalled and installed Skype WiFi twice and it still will not open.  None of your instructions or guide are helping me.
    Need Help
    Added the text, "...when trying to use Skype WiFi" to the subject/title for clarity.

    hi,
    The call to the function 'wwpre_api_util.get_names_table' is not returning any data. so, you are getting an exception. Try adding an exception block for NO_DATA_FOUND and print some message.
    --Sriram                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Various problems when trying to use both my iPhone 4 and iPhone 5 at the same time? HELP!

    I am experiencing a wide range of problems with both of my iPhones. They are both a 4 and a 5. I will list the problems I am having.
    Using both phones:
    A few weeks ago I recieved a new phone, the iPhone 5 as my contract was renewed. I backed-up my old phone, the iPhone 4 to my computer and restored it onto my 5. But when using my 5, I discovered it has 'no service' (but will use wifi), it won't send IMs OR texts and Apple constantly keeps asking me for my Apple ID which i recently changed but still uses the old email, and won't accept any passwords.
    The 5 used to send IMs and texts but they would be sent to my friends through my email address, so I googled this and went to messages>send and recieve, and the only thing i can select is my email, not my number. I am using the 4 as well, purely so I can send texts and IMs through my name, not my email. The 4 also has signal and wifi, whereas the 5 only has wifi. I am wondering if the 5 has no signal and won't send IMs & texts because I am still using another phone? Surely they both cannot work together, so I was thinking I could reset my iPhone 4, and then see if the iPhone 5 will work, once the second phone isn't used anymore. If that doesn't work, I thought I could reset my 4, back-up my 5 and then restore again. I think that will work, but I have no idea.
    I have absolutely had it with trying to figure it out, I have used google but nothing seems to work. I am really hoping someone can tell me what to do with all my phone problems, because they are absolutely driving me mad!!!!!!!!!!!!!!!!!!! 
    I need to use the 5, it is costing me an extra £60 a month to use and I feel as though that money is being wasted as I can't text, IM or call people. Should i just get rid of the 4 and see what happens? I read online that to stop iMessages coming through as your email, you should turn it off and use regular texts. BUT I DO NOT WANT TO DO THIS. I send way too many texts, and it would cost a fortune. I also can't send photo messages on texts, because they cost a bomb to send through. I want to be able to use both texts and iMessages - using my name, not my email. 
    To add on to that huge essay I have written, on both phones Apple CONSTANTLY asks me for my Apple ID which I recently changed. I changed the email and the password, and it is coming up with the wrong email, and whatever password I put in, it still says it is wrong. It doesn't make sense, because yesterday I purchased some music from iTunes and when asked for my Apple ID, it used the right email and accepted the correct password. ...??? yet it still keeps getting it wrong, even though it worked in iTunes. ??!?
    Okay so I just reset my iPhone 4, and nothing seems to have changed...I thought if I reset it, it would be completely wiped, like a brand new iPhone 4, but it's not....THIS IS SO IRRITATING! Can someone please help me! I GREATLY appreciate any answers, hopefully someone on the internet can fix my problem! thank you for taking the time to read this essay, I am very thankful. PS. Both phones are up to date.

    You said, "the 4 also has signal and wifi whereas the 5 has only wifi". By "signal", I'm assuing that you mean cellular signal. If so, that means your iPhone 4 is still active on your cellular number and your iPhone 5 is not. Contact your carrier to sort out which phone is active on your account.

  • ITunes Encountering Problems When Importing CDs

    Since I allowed an iTunes update about a month ago (?), I've been having problems importing certain (apparently random) CDs. I import a lot of books on CD, and many times "iTunes encounters a problem and has to shut down." Not always. For example, the book I'm trying to import this afternoon worked fine on the first disc, but not at all on the second. I got the shutdown message after only a few seconds. I always join the tracks before importing.
    Earlier today, I was having trouble with a number of discs, but it would occur when the import was much further along. I thought I'd figured out a workaround -- instead of joining all the tracks on the CD, I joined them into two sets, each half the size of the full CD. Then imported them one at a time. Worked like a charm for about 5 discs. Then I started importing a new book, thought I'd get brave and try to import a whole CD. Worked like a charm on CD #1. Then I got to #2, and not only did it only work for a few seconds before shutting down iTunes when they were all joined together, when I tried my workaround, that didn't work either.
    I'm running iTunes 6.0.1.3, with CD Driver 2.0.4.3 and CD Driver DLL 2.0.3.2.
    I ran CD diagnostics on the disc I'm currently having trouble with. Here are the results:
    Microsoft Windows XP Professional Service Pack 2 (Build 2600)
    Dell Inc. Dell DXP051
    iTunes 6.0.1.3
    CD Driver 2.0.4.3
    CD Driver DLL 2.0.3.2
    LowerFilters: PxHelp20 (2.0.0.0), drvmcdb (1.0.0.1), sscdbhk5 (1.0.0.1),
    UpperFilters: GEARAspiWDM (2.0.4.3),
    Video Driver: RADEON X300 SE 128MB HyperMemory\RADEON X300 SE 128MB HyperMemory
    IDE\DiskARRAY1.0.00_U, Bus Type ATA, Bus Address [0,0]
    USBSTOR\DiskApple__iPod___________1.62, Bus Type USB
    USBSTOR\DiskGenericSTORAGE_DEVICE_9317, Bus Type USB
    USBSTOR\DiskGenericSTORAGE_DEVICE_9317, Bus Type USB
    USBSTOR\DiskGenericSTORAGE_DEVICE_9317, Bus Type USB
    USBSTOR\DiskGenericSTORAGE_DEVICE_9317, Bus Type USB
    USBSTOR\DiskHP_____PSC_2350_______1.00, Bus Type USB
    IDE\CdRomHL-DT-STCD-RW_GCE-8487B________________F109___, Bus Type ATA, Bus Address [0,0]
    IDE\CdRomPHILIPSDVD+-RW_DVD8701_________________5D24___, Bus Type ATA, Bus Address [1,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    Current user is administrator.
    E: HL-DT-ST CD-RW GCE-8487B, Rev F109
    Drive is empty.
    F: PHILIPS DVD+-RW DVD8701, Rev 5D24
    Audio CD in drive.
    Found 15 songs on CD, playing time 75:07 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 05:36:43
    Track 3, start time 10:01:71
    Track 4, start time 14:56:47
    Track 5, start time 19:51:28
    Track 6, start time 24:55:64
    Track 7, start time 30:00:58
    Track 8, start time 35:09:59
    Track 9, start time 39:59:28
    Track 10, start time 45:29:17
    Track 11, start time 50:01:68
    Track 12, start time 55:10:44
    Track 13, start time 59:51:18
    Track 14, start time 64:40:65
    Track 15, start time 69:36:24
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are: 12 16 24 32 40 48.
    The drive CDRW speeds are: 12.
    The drive DVDR speeds are: 12.
    The drive DVDRW speeds are: 12.
    And oh, by the way, I have the same problem whether I use the computer's CD drive or the DVD drive. Can anyone see any reason why this would happen? And what I can do to fix it?
    Judi P
    Dell XPS 400   Windows XP Pro   2.73 GHz processor, 1024 RAM
    Dell XPS 400   Windows XP Pro   2.73 GHz processor, 1024 RAM
    Dell XPS 400   Windows XP Pro   2.73 GHz processor, 1024 RAM

    Well, thanks for all the help, folks.
    After playing around with every permutation I could think of under preferences\advanced\importing, in desparation (because the problem kept getting worse - to the point that I couldn't import any joined tracks at all) I allowed a version update to 6.0.4.2.
    No more problem.

Maybe you are looking for