SetText() works for one text area but not for another

I am student new to java so forgive me if I'm making an obvious mistake. I have a GUI with 3 tabs. Two tabs have a text area in each in them and an action listener tells the textarea what to print. The problem is one text area works and the other doesn't. they are declared in the same way so I can't see why the problem occurs.

If you have copied and pasted code for the second one, it is possible that you are setting text for the first text area at both the places. Check if you are calling the setText method on both the text areas and not the same one twice.

Similar Messages

  • Change pointer triggers for one order type but not for other with LOIPRO

    Hi all,
    We have old production order type ZP01 since last 3 years. Idoc LOIPRO are triggered properly. Now we introduced new production order type ZP02, but idocs are not triggereing for these prod. orders. They both are production orders with different order types but same message type LOIPRO
    I noticed that change pointers are not getting written to CDHDR and CDPOS for this new order type. For old order type they are getting written to CDHDR/CDPOS. Does any one know where is the issue in config.
    Currently BD52 contains following entries for LOIPRO
    ORDER-AFKO-AUFNR
    ORDER-AFKO-KEY.
    Thanks in advance

    Anyone with an idea.
    The project went live by using RCCLORD or RCCLTRAN, but still the same orders keep triggering. How do we restrict the already processed production orders.

  • WebDAV working with one page grop but not with another

    Hi,
    I have a problem - untill last week WebDAV worked ok (more or less).
    now, it works with Shared page group and with a recently added pg, however it does not work anymore with the main page group.
    Ay ideas?

    Hi John,
    what I meant was that initially the main page group would be displayed in a window, but after I try to access (or after a simple refresh) it would dissapear. No problems withh Shared and a new page group though.
    BTW, more or less means that a colleague had a problems transfering large amount of data via WebDAV. It left a huge transfer overnight and after taht he porblems started. First, the WebDAV worked occasionaly and then completely died for that particular page group.
    I am puzzled here why it works for some and not for the others.
    BTW, when I try to map a network drive for http://server/dav_portal/portal/ at different computer now, it would come up wih an error saying "the network path ... could not be found". The path does work when copied into the browser's address bar (however the main page group still unaccessable).
    Cheers.

  • IChat works in one user account but not in another

    my computer phobic parents just bought a new 27" iMac and I've been using iChat's screen sharing with him to help my dad with the computer, we've already set up a separate user account on the machine for my mom we can't get iChat to work under her user account.
    The apple rep had trouble using her Gmail account so he set up an AIM account but still no luck
    I have her in iChat under my dad's user account and can do video chats and screen sharing with her, no problem.
    But regardless of whether or not we leave her jabber account logged in under my dad's user account, we can't get iChat to accept her account info when she is loged into her own user account.
    (P.S. parental controls for her account aren't activated neither is admin privileges)

    Hi,
    Make her account an Admin Account.
    A Managed Account and Parental Controls tend to be somewhat linked and a sliding scale of things.
    If there is no reason to Manage her account there is no reason why she cannot also be an Admin account.
    She should also Check iChat > Preferences > Accounts > Security and see who is in the Blocked or Allowed Lists and see if you are in the wrong one.
    8:00 PM Monday; April 5, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Just got a new MacMini.  Migrated files using Time Machine.  However, now, on Launchpad, I see several Firmware updates that were relevant for the old machine, but not for the new one.  How do I get rid of these updates?  They won't delete!

    Just got a new MacMini.  Migrated files using Time Machine.  However, now, on Launchpad, I see several Firmware updates that were relevant for the old machine, but not for the new one.  How do I get rid of these updates?  They won't delete!

    Only thing I can think of is trying this Lion trick...
    http://www.cultofmac.com/106030/how-to-nuke-lions-launchpad-and-start-over/10603 0/

  • Home sharing is working fine for musics and videos but not for apps. What is wrong?

    Home sharing is working fine for musics and videos but not for apps. What is wrong?

    i had the same issue as everyone here after upgrading to itunes 10.x.  vista could see xp home share.  ipod touch could see xp home share.
    neither could see vista home share.
    after several hours of authorizing de-authorizing, rebooting router etc, i knew it had to be a firewall thingy with vista as xp was working fine
    i went to this article http://support.apple.com/kb/ht2553 and followed the instructions.  itunes was already in my vista exception list.  on a hunch i deleted the itunes exception and followed the steps to add it again and boom it worked!! i could now see my vista machine from my ipod touch immediately.
    something must have screwed up the firewall exception on the upgrade to itunes 10.x
    it worked for me, i hope this helps others

  • Database link works for OS user "oracle" but not for other clients

    My DBA connects as user1 to db1 and successfully queries over database link db2.
    [[email protected] ODA]$ sqlplus user1/****@db1
    SQL*Plus: Release 11.2.0.3.0 Production on Fri Apr 12 07:39:49 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SELECT * FROM [email protected];
    D
    XI log in from a Windows XP client and test the same database link with a ORA-12154 result.
    C:\>sqlplus user1/****@db1
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 12 11:18:18 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SELECT * FROM [email protected];
    SELECT * FROM [email protected]
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specifiedI can create and successfully use database links by including the full TNS entry in the USING string.
    What are some possible causes for the different results?
    What additional information might I supply to help troubleshoot?
    Thanks very much.
    - Doug
    Edited by: enquad on Apr 12, 2013 2:56 PM
    changed "database link db1" to "database link db2" per comments by SB
    Edited by: enquad on Apr 12, 2013 3:00 PM
    Changed "user" to "OS user" in subject for clarity

    enquad wrote:
    Sorry gentlemen and SB, but my question is still not answered. It is a new question, which I have not found answered elsewhere.
    To summarize:
    SB97025 informs me that db1 is not a database link, but I never said that it was. It is the second database (anonymized as "db2") that is connected to through the database link "db2.mycompany.net".
    SB97025 also wonders intriguingly if my DBA and I are we really connecting to the same database when we each connect to user1 on db1. Perhaps the Oracle server and my PC have TNSNAMES.ORA files that lead us to different databases for the same TNS alias? I do not believe this is the case, because my DBA created that user1 and that database link in the db1 database specifically for the purpose of doing this test and I see that same link when I connect to user1 on db1. Unless my DBA is spoofing me by creating user1 in two different databases - only one of which contains a working dblink named db2.mycompany.net - just for the purpose of throwing me off, I would have to conclude that he and I are actually connecting to the same database.There is no reason to "believe" (or not) that "this is the case". The entire point of SB's comment on that was to get you to verify. President Reagan famously said "trust but verify". He never worked as a DBA. I say "don't trust, just verify".
    Obviously something is different. And at this point the most likely and easiest to confirm is that you and your DBA really are connecting to the same database, on the same host server, using the same link. And at this point all we really have is to trust your DBAs statement.
    >
    Ed Stevens reminds me that db1 is acting as a client to db2 and so the solutions to the ORA-12154 are the same as for any client connection as listed on his blog (which I had already read), none of which solve my problem. Rembember, the DBA can use the database link, so by whatever means the TNS lookup is happening when he uses it, the correct connection description is being found. The question is not "why does this stinkin' database link not work"? It does work for the DBA.
    Pierre wants to make sure I know that it is the Oracle server's TNSNAMES file that is the important thing, not my client's TNSNAMES file, which is true but not relevant to my problem and I was never so naive. He also says that I could try creating a database link by including the full TNS entry in the USING string, which does work as I had already mentioned in my original post.
    Amar asks if my DBA can: sqlplus username/[email protected]
    The answer is yes. The dba can use SQL*Plus to connect to db2 from the server hosting db1 and can connect to db1 from the server hosting db2. There is almost nothing my DBA cannot do.
    None of the posters addressed the key information in my post, which was the different result my DBA and I get when using the same database link in the same schema on the same database. That AND the fact that my DBA is logged on to Linux Oracle serve as user "oracle" and I am logged in to my PC. Why should it matter to a database link which computer is running SQL*Plus or who the OS user is?
    Also the GLOBAL_NAMES parameter is set to FALSE.
    - Doug

  • HT2731 I have 2 apple iPods on the same account, And they have the Same songs on them. How can I get a new account for one of them but not the other? Can I wipe the memory of 1? How would I do that?

    I have 2 iPods one I don't use anymore. I would like to make a new account for one but not the other. Is that possible? If I wipe the memory in one will the other wipe out too? How can I do all of this?

    You don't have to do anything with the first iPod that you don't use anymore. If you are planning on keeping it, put in a drawer in your house and forget about it.
    You don't need a second account to use with the new iPod. I use one Appl e ID and iTunes library for two iPods, and two iPad. I have different content on all four devices. You can select exactly what you want to sync to each device and it can be different content on all devices.

  • SFTP works on one user account, but not another

    I am using a Mac Mini running Mavericks.  I am trying to upload via sftp my homework.  I have been able to do so on a test user account.  But not my primary account.  I double checked my settings on both.  Both look identical.  I am using Fugu as my client for sftp.  I previous have been able to upload with Dreamweaver.  But now nothing.

    In your wife's account:
    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    *What's the plist file?*
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.
    Regards
    TD

  • PS4 working on one T.V, but not on the other. Everything I do will not work.

    Exactly as the title says, very annoyed as it will not work the television I want, which is also my computer screen in my bedroom. Tried everything and there is still no picture, but it works fine on my T.V downstairs. It will NOT boot in Safe Mode either. Please help as this is driving me fricking nuts!

    Same problem here...Tested on my Samsung 24' LED and it works but not on my main TV a Samsung 50" Plasma:-( This sucks....BIGTIME!!! Also the 50" Plasma has the latest software/firmware already. As with others my PS3 is still working perfectly fine with the exact same 50" Plasma but NOT the PS4! SONY please help! ...now that you are aware of this problem can you please assist?  ...is there a fix being worked on for this?  Thinking the only option might be to return the PS4 and get the Xbox rather than buy a new TV....

  • PDF Documents with Functional Buttons - Works for IE and FireFox but not for Chrome and Safari

    To all,
    Good morning.  Our institution developed a PDF document with functional buttons for printing and e-mailing.  When the document is viewed via Internet Explorer and Firefox, the functional buttons work as expected.  However if the document is viewed via Chrome and Safari, the functional buttons do not work.  The workaround for those who are using Chrome and Safari, the PDF document needs to be saved to their local drive before the functional buttons work.
    Has anyone experienced this issue before?  If yes, what was your solution other than the workaround.
    Thanks.
    Babylon5

    Here's how to configure your browser to run Adobe Reader: http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html

  • Problem w/"combo boxes" cause the user to double click for the dropdown menu, but not for everyone.

    I have created a form with Adobe Acrobad Pro 9.
    There are a few "drop-down" boxes for people to choose options from.  I created them with the "Combo box" option.  They work perfectly fine on my laptop (Lenovo T500 windows 7, with all updates up to date.)  I sent the file to another exact same computer and that's when the problem came up.  When you click on the drop-down, the list will quickly appear and then disappear.  Then if you click it again it will stay open so you can choose your option.  However this only happens on "some" computers but not everyone's.  I emailed the exact same form out to other people in my office and they do not have any problems with the form.  There is no need to double click the drop down, it will just open up properly for them.
    Has anyone come across this? And if so, is there maybe a setting on these specific laptops that is preventing the "combo box" to not work properly?  I need to use this specific laptop as a "Kiosk" like a "check out" station for users to fill out the form to check out equipment.  I will be running in Reader so people can not make changes to the form.  (both the Acrobat Pro 9 version and the (most up to date) Reader version of the PDF form does the same "double-click" problem)  I need a date drop down and an equipment type drop down.
    Any suggestions would be greatly appreciated !
    Thanks !

    I've got this kind of problem with a form of mine (designed with LCD) :
    - combo boxes with font-color changing event handlers on :enter
    - on Acrobat 9 Pro : no problem
    - on Reader 8.3 :
          - first click seems to execute the event handler but stops the combo's opening
          - second click does open the combo
    Do you have event handlers on combo:enter ?
    Could the difference between comps where it works and comps where it doesn't be Acrobat's version ?

  • "Preview in Firefox" for pdf web pages but not for file links ?

    Hi,
    I like the preview pdf in Firefox feature but I seem to be having a bit of a problem with it.
    In options>applications I have the pdf entry set to preview in Firefox and when I click a link to pdf webpages they load in Firefox just fine.
    The problem seems to be with download links to pdf files. When I click a link to a pdf file the only options are to save the file, open with my pdf viewer (Foxit Reader) or other. Preview with Firefox is not an option any more.
    I've been trying everything to get that option back.
    I know I have seen it there before but I've no idea how it disappeared.
    Any suggestions?

    The build-in PDF Viewer only works for files that are send as application/pdf and not for other MIME types.<br />
    So it won't work for links that open a download dialog and you would need an extension to open such a file as application/pdf.
    *Open in Browser: https://addons.mozilla.org/firefox/addon/open-in-browser/

  • HT4906 how do I back up my iPhoto pictures on iCloud?  I found an option for streaming my photos, but not for backing them up.

    How do I set up my iCloud to back up iPhoto?  I found an option to stream my photos, but not to back them up.

    Only for 30 days.  If you have your Mac and iPhone signed into the same iCloud account and have Photo Stream enabled on each device
    AND have iPhoto's Photo Stream preferences set as follows:
    the photos you take on your iPhone will automatically be imported into your iPhoto Library.

  • "DO_KEY('EDIT')" works on some text items but not on the other text items

    I have a form with 2 data blocks. You can click on the 'Edit' button and the editor appears for all items displayed on the 1st block. However, for the 2nd block, the editor only shows when you click on 'Edit' when the cursor is placed on the primary key (of the data block). The other displayed items of this block shows nothing when you click on 'Edit'.
    I tried placing things like "Message('Hello') on the key-edit form level trigger and this message is displayed...except for the editor. So, this means that it's supposedly executing this trigger...but why is the editor not showing? I also compared the properties of the items showing the editor and the ones that don't and they are basically the same (except for the database item, x pos, y pos, etc).
    Key-edit contains the following code..."edit_textitem(150,100,300,150);"
    I tried changing the coordinates or placed a key-edit trigger on the block level, the results are still the same. I hope someone with the same experience or who knows something about this can help me. Thanks!

    StevoD24 wrote:
    Changing that setting doesn't make a difference either way.
    It should be OFF.
    If the text is not wrapping, and and the box ix not checked, then the only other possibility is that Ignore Text Wrap is on.
    Can you post some screen shots? maybe put a sample page out on a server someplace so we can look at it?

Maybe you are looking for

  • Best way to format a second hard drive in a MacBook Pro?

    I put a SSD in my MacBook Pro and I am wondering what is the best way to format the hard drive that i am putting in the place of the optical drive. I could set it put in raid configuration but I'm pretty sure that it takes the speed from the slower d

  • OBIA -'Financials_Oracle R12'

    After installation of OBIA we are trying to run out of box 'Financials_Oracle R12' execution plan. And it failed right at the start with following error. Error while loading nodes. ERROR: Circular Dependency detected. Check server log for details. 'T

  • A4 top and bottom margins too big - Pages 08

    I am using the pages 08 in A4 document and the margin setup for the top margin is 0,35cm and bottom margins are 0,85 cm but in the print-out they are 3,5 cm and 4,5 cm. Header and footer are off

  • IPhoto to Aperture Questions

    I currently have over 17,000 photos in iPhoto.  I really need something more to organize my photos.  I have downloaded the trial version of Aperture and have imported my iPhoto library (referenced).  What are the advantages/disadvantages of reference

  • Kernel 2.6.27 update, laptop display brightness problem.

    After the update to kernel 2.6.27 the display brightness resets to the highest level during the system startup. It resets to highest value somewhere during the udev processing. There is obviously some difference with display brightness handling becau