HI,I need help on JFrame components. How to refresh them

I have a textfield and a textarea for users to input,
once users complete, they can then click save button,
I want to know how to let the Jframe get rid of all the contents input by users after they click save button?
now, when users click save button, all the stuff are still remained.
I tried to use repaint() but it just does not work
many thanks for ur reply

setText("");

Similar Messages

  • I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    For MS Visio (any version) only the appropriate version of Acrobat *PRO* provides PDFMaker for Visio.
    For Visio 2013 specifically you must have Acrobat XI Pro (updated to at least 11.0.1).
    See: 
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html  
    Be well...

  • I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    For MS Visio (any version) only the appropriate version of Acrobat *PRO* provides PDFMaker for Visio.
    For Visio 2013 specifically you must have Acrobat XI Pro (updated to at least 11.0.1).
    See: 
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html  
    Be well...

  • HT1338 Need help locating where and how to update Mac OS-X 10.6.5 to the latest Mountain Lion Software...thanx John

    I need help locating where and how to update Mac OS-X to Mountain Lion.....Thanx....Jay

    First update your 10.6 version to 10.6.8 from the software update under the Apple Menu.
    This will add direct access to the Mac App store via a new application.
    Now launch the App Store from your Applications folder - Its the new icon a letter A formed from a ruler pencil and pen on a blue circle !
    Once launched you need to add your iTunes account details or create an account add payment details etc...
    Sign in purchase download and follow install processes to upgrade to 10.8 Mountain Lion.
    OH and to be safe BEFORE you install backup your current system to an external drive !

  • I just got logic and need help i dont know how to make a track at all

    i just got logic and need help i dont know how to make a track at all

    Pancenter wrote:
    There was a time not too long ago when people respected the incredible amount of talent that contributed to this software...Everyone -wanted- to learn about the craft and "art" that goes into being a good engineer, musician, producer...etc.      
    Beginner's did enough reading and experimentation to at the very least, ask an intelligent question.
    pancenter-
    Hey Pancenter there are still lots of us about.
    I wouldn't take the original post too seriously - I may of course be naive but it sounds like it could be a troll to me!
    I learn a lot from reading the posts of the likes of you, Erik, Bee Jay, sampleconstruct, noeqplease etc so I hope you guys don't become too dispondent when you see posts like these.
    By the same token, I hope the Logic team continue to use their talents to develop powerful software that caters for the professional user, while allowing Garageband to continue to do its (excellent) job of providing for its market.

  • Wish I didn't upgrade! and now I need help to figure out how to make it wor

    I have a Windows XP Pro 2nd edition with IE ver 6.0.2 (but I normally use FireFox)
    I've never had any trouble with iTunes until iTunes "forced" me to upgrade my iTunes applicaiton to version 6 if I wanted to "purchase" music. (note to self: Purchase music from stores it's much safer)...
    I upgraded and received no error messages. Trouble is now, when I launch the iTunes application it doesn't "open" ... although the iTunes process begins to run in the background process (ctraltdelete).
    I have uninstalled and installed 5 different times and ways.
    First uninstall was "typical" uninstall. THat didn't fix it.
    Second uninstall was "typical" unistall from the Control Panel, and then I removed the folders from the "program File" folder. Still wouldn't work.
    Third unintall was "typical" then I removed folders from local drive and removed all "known" registry "itune" keys. That didn't work.
    Fourth uninstall was first a "repair" to itunes, and then a "typical" uninstall, then I removed folders, removed registry (does anyone know all of itunes registry keys? Maybe I am missing a few.. the only ones I know of is the "itune" reg). Then I looked through my start up menu from "msconfig" and took a look at my firewall program to see if there was anything preventing the program from running...
    Fifth uninstall pretty much fruitless as my previous attempts.
    I know it HAS to be a registry key of some sort.. here's why:
    When I uninstall and reinstall (no matter how thourough) every time I install the iTunes program Windows XP has never ONCE recognized the new install of iTunes as a "NEW PROGRAM" and it should!
    I need help... what registry keys should I be removing? ANyone suggest for me to remove Quick Time too? What about the ipod updater software? Any connection?
    HELP??????????????????
    THanks
    W.

    hi wmchisholm!
    Trouble is now, when I launch the iTunes application it doesn't "open" ... although the iTunes process begins to run in the background process (ctraltdelete).
    hmmm. is itunes.exe persisting in Task Manager? if so, first check up on these two possibilities:
    iTunes 6 won't open on a Windows computer if firewall software is not up-to-date
    iTunes for Windows doesn't open after upgrading
    but if itunes.exe is disappearing after a few seconds, try the following technique:
    Using MSCONFIG to troubleshoot conflicts in Windows
    ... and let us know the names (exact spelling please) of the start-up items that you had to disable in order to get itunes to launch. (there's a nasty piece of malware out there that has been causing "error-less" itunes launch failures since late October.)
    love, b

  • Need help!!! how to get rid of ads (pop under)

    i need help! does anyone know how to get rid of popunder ads! doesn't matter how...i just want them gone!

    The simple answer is to avoid the sort of trashy website that serves such ads. The complicated answer is to disable JavaScript when visiting those sites, or to install ad-blocking software such as GlimmerBlocker.

  • HT1296 I am needing help to figure out how to update my itunes

    I need help. I have itunes on my computer and I have always been able to sync it with my phone and now it says I need to do an update on my itunes but not sure how... Please help

    You can run Apple Software Update, or you can download the iTunes installer from the iTunes tab above and run that installer.
    Regards.

  • Need help badly!! how can i use the front camera i...

    guys, i need help with the front camera of my device
    how can i enable the front camera of nokia N900 to shoot photos or videos,
    this problem is really bugging me...
    need help badly...

    You can't.. it is terrible..
    the only app that really uses it is mirror
    Open this link on your phone to install mirror
    http://maemo.org/downloads/product/raw/Maemo5/mirror?get_installfile
    the camera firmware is bad, so the image quality is truely terrible.. play with mirror to see.. it may be fixed in a future firmware release (it *IS* better than it was.. the firmware last year had a line through the picture!)

  • Quickly.....I need help....How do I close a popup box with an X....

    Hi,
    I need help quickly because its for a project that needs to be in soon, I have a pop up box on a button which does open and close but I would like to add an X to the corner which would also close the box... does anybody know a code for that? Please?
    Here are screenshots to help or if you need I will post the file if you would like?
    This is the first screenshot before I enter the box.
    This the code that I have for the box in the first screenshot.

    Per your previous post that I gave you some code in, you're trying to solve your issue without being a coder yet you need functionality that only someone fluent in the code you require could use.
    I'm sorry your due date is closing but overall if you do not understand coding 'at all' you should not come here asking people to code your project for you.
    Your question is as unspecific as before as well as any coder here would give you information you wouldn't understand the same as your previous post.

  • Need help for my project(how to call function in ancestor object)

    dear all, i need your help for my project.My problem is stated as follow:
    say i have a class call frameA and frameB, both of them are extend from
    JFrame, frameA structure can be described briefly as follow:
    //frameA.java
    public class frameA extends JFrame{
    private frameB fb;
    public frameA()
    fb=new frameb();
    show();
    public void func()
    JOptionPane.showMessageDialog(null,"OK");
    now, my problem raised, after frameA and fb is created, how can i access the ancestor object(which is frameA) within fb's code,
    what should i add inside frameB? i need the answer urgently......
    thanx a lot!!!
    cheers

    Hi,
    For this kind of problem, I believe you can use the inner class.
    Here's the sample code I hope will help:
    class MyApp{ 
    B bFrame;
    A aFrame;
    class A extends JFrame{
    public void doSomething(){
    bFrame = new B();
    bFrame.doSomething();
    class B extends JFrame{
    public void doSomething(){
    aFrame = new A();
    aFrame.doSomething();
    If you have further question, you can email me your task sample code at [email protected] and I will solve it for you.
    With my best,
    Zike Huang(Jim)

  • Please Help!! First time builder needs help figuring out components for $2000 machine

         Hello everyone I know this question comes up alot, but after reading through much of it I still need a little help.  I just graduated college, doing production, and want to do editing professionally.  Learned on Final Cut but as I have used Pro for the last year on my own (on a HP HDX 16t, I know its horrible), I have decided to go with CS6 and learn everything there is.  I don't have the budget for a warrior computer but at least I would like to get something that will 1)allow me to learn and develop using Pro, AE, and PS. and a little 4D in the future 2) allow me to gradually up grade as I become a professional and demands increase.  Due to me current limitations, my independant projects have been for youtube exporting in FLV. (rendering a 3 min clip takes about 30-40 mins... so sad haha)
         I have about $2000 USD (not including the monitor) to invest in this.  Before this week I have had no prior knowledge of computer building, I've learned a great deal from this forum, and I am ready to build this bad boy.  here are my questions and some of the possible components ...
    CPU - I'm going with intel i7. My question here is whether the 3930k hexa is really that much better      than the 4770k quad.  Is this a no brainer must go with 3930? I do plan to OC.
    MoBo - I  have looked at some many versions of this, can I do the p9x79 pro along with the 3930k and      still stay under $2000? is it worth it to do so and get a gpu thats less expensive?
    GPU - I've read a ton of forum posts in which many of you guys have said that in certain situations the      gtx 680 is over kill or not needed, and that something like the gtx 650 ti would do just fine.
         - If so how many Gbs?
         - should I lower the CPU or MoBo for a better GPU?
    Drives -  From all I gather I think the 128gb 840 pro is a given so check! I will get at least 2 WD      black 1 TB hhd. This seems to be a standard no matter what Mobo/CPU combo I go with, right?
                                  Now the trickiest part for me is what combination of (see below) keeps me at $2000
                                       - 32gbs ram (to start, p9x79 gives me the option to get more later)
                                       - Case that has good air flow, a lot of bays
                                       - Power supply
                                       - Liquid Cooling (I do need liquid cooling if I plan to OC a 3930k right?)
                                       - Blu ray burner
    This my delima.I'm still not sure what truly effects Pro and AE the most. Even after looking at the balance graphs, should I go with the Hexa, and better MoBo no matter what, or scale it down a little for a better GPU or memory? Also going into professional editing, what kind of space should I want in a case and MoBo? Besides USB 3.0 what else should I consider? What would I use the pci slots for? What peripherals are a standard that I need if not now definitely in the future?
    Thank you in advance I know I am a complete novice, I guess we all started somewhere and this is my start. I could really use the help.
    Appreciatively,
    Jay

    I still haven't built it (current computer is working) but "someday" I plan to build a new computer... this is my current list... does not include software
    Intel i7 3930k CPU - http://www.newegg.com/Product/Product.aspx?Item=N82E16819116492
    CPU Cooler - http://www.newegg.com/Product/Product.aspx?Item=N82E16835103099
    Motherboard - http://www.newegg.com/Product/Product.aspx?Item=N82E16813121552
    32Gig Ram - http://www.newegg.com/Product/Product.aspx?Item=N82E16820231507
    A note from Harm on X79 Ram - http://forums.adobe.com/thread/1089842
    Full Tower Case - http://www.newegg.com/Product/Product.aspx?Item=N82E16811119225
    This case comes with 4 fans, so you do not have to buy any optional case fans
    1000w Power Supply - http://www.newegg.com/Product/Product.aspx?Item=N82E16817171056
    500Gig Drive - http://www.newegg.com/Product/Product.aspx?Item=N82E16822136769
    -or SSD for boot drive
    500Gig Drive - http://www.newegg.com/Product/Product.aspx?Item=N82E16822136769
    1Terabyte Drive - http://www.newegg.com/Product/Product.aspx?Item=N82E16822236339
    1Terabyte Drive - http://www.newegg.com/Product/Product.aspx?Item=N82E16822236339
    GTX670 2Gig - http://www.newegg.com/Product/Product.aspx?Item=N82E16814130782
    Keyboard & Mouse - http://www.newegg.com/Product/Product.aspx?Item=N82E16823109232
    Sata DVD Writer - http://www.newegg.com/Product/Product.aspx?Item=N82E16827135204
    or
    http://www.newegg.com/Product/Product.aspx?Item=N82E16827106369
    BluRay writer if you want to write BluRay discs

  • Need help trouble shooting on how to fix my MacBook Pro so it will start

    Ok, this is going to be a bit of a long one, cuz there are a good amount of details that go into the problem and how I have tried to fix it.
    To start, late last summer I got my Macbook Pro 15" with high resolution anti-glare, 500 GB X 7200 RPM hard drive, and everythin else standard.
    Next part of the story is that i decided to upgrade from my 3-year-old iPhone 3GS. So I preordered an iPhone 5 (never doing that again), and finally received it 10/05/12.
    Wanting to synch my new iPhone 5 ASAP so I could fully play with it, I finally synched my old iPhone 3GS with my MacBook Pro for the first time. I had not previously synched it with my MacBook Pro, because all of the songs and stuff that were on it were from being synched with my family's desktop (from maybe a year or so ago; I don't synch my phones often.). I also had been lazy this whole time in not transferring the songs and stuff from the desktop to my MacBook Pro, so thats why I didn't synch my 3GS, because I didn't want to lose that stuff on my phone until I had made time to transfer the data. Because of this, I didn't use iTunes that much and I updated it only 2 or 3 times over the year that I had if before I got my iPhone 5.
    After synching my old phone, I then tried synching the i5, but an iTunes pop up said that I needed to update to iTunes 7.0 in order to synch the new phone.
    So I canceled the pop-up, and checked the updates in iTunes, and selected update (I can't remember what it said I was updating to, but I don't think it was 7.0).
    After it started updating, it asked if I wanted to update something something else (I think it was an iOS update or something thing like that.).
    I select update, because it looks legit, and why not update the whole computer when I'm taking the time to update iTunes? So the 15-20 minute installation estimation time turns into 2 hours (I think that it said that there was 2GB of update, but not sure.).
    At that time, I think of how I don't remember if the update was 7.0 or not (maybe 6.9 or something like that was my thought.). So I tried to re-synched my i5 to make the pop up for iTunes 7.0 to come up. It came up, and I clicked the link to take me to Apple's site. I clicked the update to iTunes 7.0, and it started downloading from the internet, and it gave some download estimation time. Remember that the other iTunes and iOS thing was still updating while iTunes 7.0 was downloading. The problem was that I had to go to work a few minutes before the download of the iTunes 7.0 from Apple's site would complete and 1.5 hours before the other updates would finish. So I just left my MacBook Pro open, running, and updating/downloading.
    After work, I checked my laptop, and it said something about finalizing the installation. So I hit that button to finalize or whatever it said, and it starts finalizing.
    After waiting 10 or so minutes I check my MacBook Pro again, and it says that it needs to restart to complete the process. So I hit the restart button on the pop up.
    It restarted, and against a blue screen there was a grey pop up that said that there was some error or something like that in the installation and that I needed to restart the computer again. There was only one button on the pop up, and it was the "Restart" button. So I pressed it, and it restarted again.
    However, it didn't fully boot up (and to this day still doesn't) and get past the grey screen with the apple and the spinning gear thingy underneath it.
    After like 20 minutes, I did a forced shut off, and rebooted while holding the option button to see if I could start my Windows side, since I have my computer bootcamped, though I haven't used Windows on it yet. The three options appeared: Windows something, Macintosh something, and Recovery HD. I clicked the Windows button, and after loading and stuff, Windows was running and working. So I'm pretty sure that my problem isn't a hardware problem, but a software problem.
    So I asked a friend who is studying to be some kind of computer guy, and he suggested that I put in the Mac iOS X disk that I got with my MacBook Pro when I start up and try to get to Disk Utility. I did that, and was able to get to Disk Utility. And as he instructed, I (on the First Aid tab, I think) pressed "Verify Disk". He said that it started to look for problems and stuff. Then when it was done, I pressed the "Repair Disk", and he said it started fixing those problems. After it was done, I performed another forced shut off. I then turned my MacBook Pro on with crossed fingers, but it was still stuck on the gray screen with the apple and the gear.
    He then suggested that we try to start it in Safe Mode, so we researched how to do it on my family's desktop. I tried holding Shift after the turn on tone and releasing it when the spinning gear appeared, but that didn't work. I'm still not sure if that's the right way to start in safe mode.
    So right now I don't have any other ideas, besides spending money to get it fixed, which I don't want to do, cuz I'm not rich and I work hard for all these fancy toys.
    It ***** to have the joy of getting the newest iPhone overshadowed by my MacBook Pro not working.
    Someone, please help!!!

    First off your older OS X boot disks are no good as you upgraded OS X to a later version.
    When you held the option key down at boot, this entered Startup Manager and by what your describing you have Recovery HD, Macintosh HD (your OS X boot partition), and Windows BootCamp partition.
    To repair the drive, you enter Recovery HD and use Disk Utiltiy there to repair the Macintish HD partition.
    You also use Recovery HD to reinstall OS X 10.7 or 10.8 from Apple's servers, this should fix your problems without deleting your programs or files. (some third party with at boot kernel extension ones will have to be reinstalled)
    All you need to know is here
    Step by Step to fix your Mac
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

  • Need help- have no idea how to install original airport on G3 Powerbook

    I just bought an ornignal airport card on ebay. I have no idea how to install it (i think it goes under the keyboard, but specifically where?) also, it didn't come with any software...do I need some kind of driver? I am so confused. All I know is that I spent over $100 for this thing and would love it if I could get it to work. Really want to go wireless...can anyone please help. (already checked all over the support page and called apple and asked them to point me in the right direction, but have gotten no where. thanks in advance.

    Thea,
    I get the impression you cannot return the AirPort card...this would be my first choice. Since the card is not recognized, either the card is bad or your powerbook has a hardware issue (doubtful).
    Do you have an Apple Store nearby?
    You might also contact your local User Group...there should be good help available:
    http://www.apple.com/usergroups/
    Your alternatives are these:
    - find another original AirPort card (limited to the slower 11Mbps speed) to try;
    - remove the internal AirPort card and buy a one of these wireless PC cards that run at the faster 54Mbps speed and are simply inserted in the PCMCIA card slot on the side of the 'book:
    http://www.sonnettech.com/product/aria_extreme.html
    http://www.macsense.com/product/broadband/WPE800.html
    http://www.asante.com/products/productsLvl3/AL5403_XG.asp
    http://www.buffalotech.com/wireless/products/airstation/WLICBG54A.html
    The above cards have the Broadcom chipset that Apple's AirPort software supports. If you have already installed AirPort 3.1.1, you are ready to go.

  • I need help on IPC-VMC how to config.

    Hi ,
    System SRM 5.5, ECC 6.0 and  AS IPC VMC 7.0.
    I am working first time on IPC, Send me configuration document or steps IPC VMC. I would be highly appreciated.
    I think IPC has to configure in SM53. But I donu2019t know which one has to config first and how link SRM conditions and ECC conditions. I really need your help. Thank in advance.
    Regards,
    John.

    Hi Srikanth,
    I am sorry for delay. This has given some information, thanks a lot for your help. In my scenario we are using master record for every code (Material and Services). My doubt is, Shell we create a Pricing conditions and Tax procedures in SRM and assign them into Master record?. If yes how can I maintain combination of Plant/Vendor/Material in SRM?.
    Why means, It is Indian Project, weather this IPC will work for this country or not?. Thatu2019s why I am thinking alternative solution also. If you have any solutions please help to address this issue. Any how I want to configure ECS by using BADI, BAPI, Developments or anything for this issue.  I hope the best will get some solutions.
    Regards,
    John.

Maybe you are looking for

  • Sorting the members of a group

    Noticed that while adding a member to a group, is there any way to sort those members? thanks

  • How "greedy" is BT Vision?

    Hi, As I understand it BT Vision customers have 'quality of service' on their line which (simplistically) somehow allocates a portion of the users available bandwidth to the BT Vision box, leaving whatever is left for 'computer use'! Now if (as in my

  • SLD error after upgrade to SP13

    Hi experts, Our enterprise portal instance has a local sld running in the WAS. Recently, we upgraded from SP09 to SP13. After this, we are not able to connect to sld from webdynpro administrator. Given below is the log file content in SLD. #10 12/23/

  • Tabs and Cache

    Hi, I have two tabs based on the forms and reports wizard. Tab 1 = Page 1 Tab 2 = Page 2 In my Page 1 I have an OnLoad Before Header Process type "Clear Cache for all Items on Pages (PageID,PageID,PageID)" Source = 2 I have edited the Conditional Pro

  • Centering text onto an image.

    How do you do it? For example g.drawImage(image, x, y, Graphics.HCENTER | Graphics.VCENTER); g.drawString("text", x, y, Graphics.HCENTER | Graphics.BOTTOM);does not work, I could try all different variations of positions; Top, Bottom, Vcenter, Hcente