Problem while using swing. I need some help
Whe I am trying to execute the following code (very simple one) my PC hangs up, any ideas about this?!!
the code is:
import javax.swing.JOptionPane; // import class JOptionPane
public class Welcome4 {
public static void main( String args[] )
JOptionPane.showMessageDialog(
null, "Welcome\nto\nJava\nProgramming!" );
System.exit( 0 ); // terminate the program
//end of the code
Hi,
Your code works fine on my PC. It doesn't hang but come out with expected result.
Similar Messages
-
My airport problem has returned big time --Need some Help!!
Aloha once again:
I though that this was fixed by simply changing channels on my airport router, but that fix only lasted for a few days, but now it's back and even worse. Let me give you some background on this problem. Here's my original message concerning the problem:
I have my Airport Router connected to the Internet via DSLcable. I then tie my two computers into the internet via their airport cards. For about 6 months this system has been working just fine. Recently my desktop computer quit listening to the router and can no longer connect to the internet. It shows no signal strength and the name of the network on the Airport is not seen in the "connect to internet" panel. The same Airport works just fine on my LapTop and I am using it right now to get this message off to the internet.
I have fixed permissions, removed the airport card and cleaned the connector, the antenna plug and removed the system configuration folder from library preferences all to no avail!
This problem has been hounding me, intermittently, for over a year now What can I do to remedy this??? HELP!!!!
Dan Page
Maui, Hawaii
The suggestion to change channels, that came from this original request, worked but just for a very short time. Now I have to shut down my computer overnight to get connected and then it only lasts for several hours and the connection quits.
I thought maybe heat was a problem, but the last time it happened I opened the computer and played a large fan right on the card. This did not help. I shut it down for the night and it was fine the next morning for about 2 hours.
One new data point; if I turn off just the airport on my laptop computer overnight, that will fix the problem for a short time also.
Still need some help!!!
DanFirst, power off both the Time Capsule and AirPort Express.
Wait a few minutes, then power up the Time Capsule first, and let it run for a few minutes.
Temporarily, move the AirPort Express to the same room or close proximity to the AirPort Express and power it up.
If the Express powers up correctly, power it off again and move it approximately half the distance between the Time Capsule and the general area that needs more wireless coverage. Try to minimize obstructions like walls, ceiling, heavy furniture, etc as much as possible.
Please report on your results. -
Some error while applying nls patch,need some help
i run my ebs R12.1.1 on linux X64 in vmware.
i have already installed it.i can login it too.
now i am applying patch 4440000.drv,as i am a chinese....forgive my limit english - -!
i have get some help from other threads when i first get this virtual machine,but this time is a little bad.... I hope I can get some directly..
after very very 3days hard work,I am standing at the end of the patch,but,it just still have some errors:
All workers have quit.
Dropping FND_INSTALL_PROCESSES table...
FND_INSTALL_PROCESSES table dropped.
Dropping AD_DEFERRED_JOBS table...
AD_DEFERRED_JOBS table dropped.
The following Oracle Forms objects did not generate successfully:
ap forms/ZHS APXPAWKB.fmx
ap forms/ZHS APXINWKB.fmx
ap forms/ZHS APXWCARD.fmx
ar forms/ZHS ARXTWMAI.fmx
ar forms/ZHS ARXTWLIN.fmx
bom forms/ZHS BOMFDRSO.fmx
ce forms/ZHS CEXCABMR.fmx
cs forms/ZHS CSXSEDBT.fmx
cs forms/ZHS CSXSRISR.fmx
fnd forms/ZHS FNDSCAUS.fmx
ghr forms/ZHS GHRWS52A.fmx
ghr forms/ZHS GHRWS52L.fmx
ghr forms/ZHS GHRWSMSL.fmx
ghr forms/ZHS GHRWSMTI.fmx
gl forms/ZHS GLXJEENT.fmx
gme forms/ZHS GMECBTCH.fmx
gme forms/ZHS GMETTMTX.fmx
gms forms/ZHS GMSAWEAW.fmx
hxt forms/ZHS HXTAEI00.fmx
iex forms/ZHS IEXWRIOF.fmx
inv forms/ZHS INVGMSTP.fmx
inv forms/ZHS INVIDITM.fmx
inv forms/ZHS INVSDOIO.fmx
inv forms/ZHS INVSDOSI.fmx
inv forms/ZHS INVTTGPM.fmx
ja forms/ZHS JAINRGFT.fmx
jmf forms/ZHS JMFGTWKB.fmx
msc forms/ZHS MSCITMNT.fmx
oke forms/ZHS OKEDTSFM.fmx
okl forms/ZHS OKLCSACT.fmx
okl forms/ZHS OKLCSHDR.fmx
okl forms/ZHS OKLCSSRC.fmx
okl forms/ZHS OKLCSTRX.fmx
okl forms/ZHS OKLCSVSC.fmx
ota forms/ZHS OTACMLAN.fmx
ota forms/ZHS OTARSERB.fmx
pa forms/ZHS PAXINEVT.fmx
pa forms/ZHS PAXINRVW.fmx
pa forms/ZHS PAXPREPR.fmx
pay forms/ZHS PAYAUTAX.fmx
pay forms/ZHS PAYAUTRM.fmx
pay forms/ZHS PAYJPSOE.fmx
pay forms/ZHS PAYKRSEP.fmx
pay forms/ZHS PAYKRYER.fmx
pay forms/ZHS PAYKRYEA.fmx
pay forms/ZHS PAYUSEET.fmx
per forms/ZHS PERFIOBJ.fmx
per forms/ZHS PERIEOBJ.fmx
per forms/ZHS PERWSCEI.fmx
per forms/ZHS PERWSEMA.fmx
per forms/ZHS PERWSEPI.fmx
per forms/ZHS PERWSHRG.fmx
per forms/ZHS PERWSPED.fmx
per forms/ZHS PERWSQHM.fmx
po forms/ZHS POXDOCEC.fmx
po forms/ZHS POXSCASL.fmx
psp forms/ZHS PSPLSODL.fmx
psp forms/ZHS PSPSCLEA.fmx
wsh forms/ZHS WSHFRREL.fmx
zx forms/ZHS ZXTRLLINEDISTUI.fmx
zx forms/ZHS ZXTRXSIM.fmx
An error occurred while generating Oracle Forms files.
Continue as if it were successful [No] : no
I tryed to restart adpatch.sh and continue the patch --- it helps me one time in the past 3days---i got this:
Generating forms...
Connecting to APPLSYS......Connected successfully.
Creating the AD_UTIL_PARAMS table...
Table AD_UTIL_PARAMS already exists, so dropping the table and recreating it.
DROP TABLE AD_UTIL_PARAMS
CREATE TABLE ad_util_params( worker_id number not null,
utility_name varchar2(100) not null, task
varchar2(30) not null, status varchar2(100) not null,
arguments varchar2(2000) not null, rowid1
varchar2(2000), utility_status number not null, symbolic_arguments
varchar2(2560) not null)
Creating FND_INSTALL_PROCESSES table...
Running adtasktim.sql ..
Connected.
PL/SQL procedure successfully completed.
Commit complete.
Already created fnd_install_processes table
Already created FND_INSTALL_PROCESSES_U1 index.
Connecting to APPS......Connected successfully.
Connecting to APPLSYS......Connected successfully.
Already created AD_DEFERRED_JOBS table
Already created AD_DEFERRED_JOBS_U1 index.
Connecting to APPS......Connected successfully.
Writing dependencies of jobs to run to appldep.txt file...
There are now 61 jobs remaining (current phase=A1002):
0 running, 61 ready to run and 0 waiting.
Reading completed jobs from restart file (if any).
AutoPatch error:
Unable to find job when restarting.
At line number 12 in the main restart file, the job with:
product = ak username = AK
filename = AKDFLOWB.fmx phase = 1002 ign = 0 arguments = formgen /u2/VIS/visappl/apps/apps_st/appl/admin/PROD/out/pchfsucf.txt /u2/VIS/visappl/apps/apps_st/appl/admin/PROD/out/pchferrf.txt
has to run after some jobs that are not listed earlier in the file,
or it is a duplicate of another line,
or the job is invalid in some other way.
AutoPatch error:
adfrjp(): Error running jobs in workers
An error occurred while generating Oracle Forms files.
Continue as if it were successful [No] : No
Connecting to APPLSYS......Connected successfully.
Freeing fixes hash table
Freeing entities hash table
You should check the file
/u2/VIS/visappl/apps/apps_st/appl/admin/PROD/log/adpatch.log
for errors.
the messages above are copy from end of adpatch.log which is 10M size---there are over 17000 files in the document of "log" now.
i search the BAIDU,it seems that i can fix it by adadmin.sh?is that ture?i don't feel it right....
OR
can some guaide me get it through these error?some tips on metal-link will be fine too,i get an id from my friend.
thanks,foliage
Edited by: user6898421 on 2011-12-9 上午10:46hi,hussein,how r u?
I restart the vm-machine and then disable maintain model,the start the DB and APP.
I can choose chinese to login and i did it.
maybe the i need "Translation Synchronization Patches " .The left part is english and the right part is chinese.
i believe that there must had some forms bad,it just not read now.
I get the infomation about my EBS,here there are:
Oracle Applications
Copyright (c) 2004 Oracle Corporation,
Redwood Shores, California.
版权所有。
登录
地点 : http://paleonode1.sh.paleotek.com:8002(SID:PROD)
应用 : 系统管理
责任 : System Administrator
安全组 : 标准
用户名 : SYSADMIN
数据库服务器
RDBMS : 11.1.0.7.0
Oracle Applications : 12.1.1
设备 : paleonode1.sh.paleotek.com
用户 : APPS
Oracle SID : PROD
系统日期 : 11-12-2011 15:15:41
数据库服务器 PID : 11111
会话 SID : 283
SERIAL# : 250
AUDSID : 15358913
数据库 CPU 使用(以秒表示) : 1.54
表单服务器
Oracle Forms 版本 : 10.1.2.3.0
Oracle Application Object Library : 12.0.0
设备 : PALEONODE1.SH.PALEOTEK.COM
表单用户 CPU(秒) : 0.403938
表单系统 CPU(秒) : 1.084835
表单处理标识 : 11086
表单服务器环境变量
AU_TOP : /u2/VIS/visappl/apps/apps_st/appl/au/12.0.0
FDBDMCHK : [未设置]
FDFGCXDBG : [未设置]
FDSQLCHK : [未设置]
FDUDEBUG : [未设置]
FNDNAM : APPS
FND_TOP : /u2/VIS/visappl/apps/apps_st/appl/fnd/12.0.0
FORMS_APPSLIBS : APPCORE FNDSQF APPDAYPK APPFLDR GLCORE HR_GEN HR_SPEC ARXCOVER
FORMS_CATCHTERM : 1
FORMS_DATETIME_LOCAL_TZ : GMT
FORMS_DATETIME_SERVER_TZ : America/Chicago
FORMS_DISABLED_NOT_REQD : 1
FORMS_ERROR_DATETIME_FORMAT : [未设置]
FORMS_ERROR_DATE_FORMAT : [未设置]
FORMS_FORCE_MENU_MNEMONICS : 0
FORMS_LOV_INITIAL : 5000
FORMS_LOV_MINIMUM : 1000
FORMS_LOV_WEIGHT : 16
FORMS_MMAP : [未设置]
FORMS_NONBLOCKING_SLEEP : 100
FORMS_NONNAVIGABLE_NOT_REQD : 0
FORMS_OUTPUT_DATETIME_FORMAT : [未设置]
FORMS_OUTPUT_DATE_FORMAT : [未设置]
FORMS_PATH : /u2/VIS/visappl/apps/apps_st/appl/au/12.0.0/resource:/u2/VIS/visappl/apps/apps_st/appl/au/12.0.0/resource/stub
FORMS_RECORD_GROUP_MAX : [未设置]
FORMS_REDIRECT_DATA_PROPS : 1
FORMS_REINIT_EMPTY_BLOCKS : 1
FORMS_REJECT_GO_DISABLED_ITEM : 0
FORMS_RESOURCE : [未设置]
FORMS_TIMEOUT : 5
FORMS_TRACE_CONFIG_FILE : /u2/VIS/visappl/inst/apps/PROD_paleonode1/ora/10.1.2/forms/server/ftrace.cfg
FORMS_TRACE_DIR : /u2/VIS/visappl/inst/apps/PROD_paleonode1/logs/ora/10.1.2/forms
FORMS_TZFILE : timezlrg.dat
FORMS_UNALTERABLE_NOT_REQD : 1
FORMS_USE_CBO : [未设置]
FORMS_USER_CALENDAR : [未设置]
FORMS_USER_DATE_FORMAT : DD-MON-RRRR
FORMS_USER_DATETIME_FORMAT : DD-MON-RRRR HH24:MI:SS
FORMS_USEREXITS : fndfmxit.so
NLS_DATE_FORMAT : DD-MON-RR
NLS_DATE_LANGUAGE : NUMERIC DATE LANGUAGE
NLS_LANG : SIMPLIFIED CHINESE_AMERICA.AL32UTF8
NLS_NUMERIC_CHARACTERS : .,
ORA_NLS10 : /u2/VIS/visappl/apps/tech_st/10.1.2/nls/data/9idata
ORA_NLS_CHARSET_CONVERSION : [未设置]
ORACLE_CONFIG_HOME : /u2/VIS/visappl/inst/apps/PROD_paleonode1/ora/10.1.3
ORACLE_HOME : /u2/VIS/visappl/apps/tech_st/10.1.2
ORACLE_PATH : [未设置]
TNS_ADMIN : /u2/VIS/visappl/inst/apps/PROD_paleonode1/ora/10.1.2/network/admin
TWO_TASK : PROD
当前表单
表单应用 : 应用对象程序库
表单名 : FNDSCSGN
表单路径 : UNKNOWN
表单版本 : 12.0.14
最后修改的表单 : $Date: 2006/11/03 07:43 $
Scheme Display Profiles
Java Look and Feel : ORACLE
Java Color Scheme : SWAN
Color Scheme Indicator : SWAN
Indicator Colors : Y
表单
APPSTAND : 12.0.6
FNDSCSGN : 12.0.14
表单菜单
FNDMENU : 12.0.2
表单 PL/SQL
APPCORE : 12.0.29.12010000.4
CUSTOM : 12.0.0
FNDSQF : 12.0.3
GHR : 12.0.46.12010000.5
GLOBE : 12.0.76.12010000.6
GMS : 12.0.51.12010000.6
IGILUTIL2 : 12.0.32
IGILUTIL : 12.0.3
OPM : 12.0.7.12010000.2
PQH_GEN : 12.0.7
PSA : 12.0.17
PSAC : 12.0.5
PSB : 12.0.2
VERT1 : 12.0.0
VERT2 : 12.0.0
VERT3 : 12.0.0
VERT4 : 12.0.0
VERT5 : 12.0.0
VERT : 12.0.0
i still believe that my ebs is r12.1.1 and the patch 4440000.DRV make some part of my ebs back to 12.0.0.
should i apply the new patch--6678700.drv to make it update to 12.1.1?
thanks you always answer me,hussein.^ ^.
there is no answer or reply in chinese forum....T T -
Problems with 10.7.X - need some help please
Where to begin???
New mac mini with 10.7.x
Double clicking the top of the window won't collapse window like in previous versions.
Double clicking on a folder that is on the desktop opens behind the hard drive window.
When restarting or logging back in, all my icons are in a different place (scattered) than where they were when logging out or shutting down. This is in reference to my hard drive window. I have everything there on icon view. All other sub folders are list view, no problems with those. How do I get 10.7.x to remember the window view?
I imported all my mail and mailboxes and sorted them where I wanted them from a mac mini running 10.4.11 and at the next restart they were all back where they were before I sorted them. I even threw out mailboxes that I didn't need anymore and they reappeared.
I am so confused. I almost feel like a bought a pc with a MS operating system.
And God forbid I need to reinstall the system, there is no way to do that because there is no dvd, let alone a dvd drive. And no I didn't sign up for icloud.
I know I sound kind of pi$$y, but I am frustrated and don't have a lot of time to devote to getting this straightened out.
I would really appreciate some assistance.dnorth12 wrote:
And God forbid I need to reinstall the system, there is no way to do that because there is no dvd, let alone a dvd drive.
But there is a Recovery HD for just that purpose.
For some other things you may stumble over, see: Changes in Lion from Snow Leopard. -
Just purchased a used G4 and need some help
First, let me say, that I am finally returning to the fold after years of working on a PC (employers insisted) but have just purchased a used G4 running OS 10.3.8 I've registered the G4 and everything, and tried to update the OS. I got a "mounting failed" message. It may be because the previous owner left a password in the automatic update file and didn't tell me what it was. Also, they did not provide me with the original installation discs so I could use administrator access to disable this password! Anyway, I want to update the OS as far as it can go - any idea how I can do this? I've searched around the apple site for a while now, seeing if I could purchase replacement installation discs, but can't find any into. If I just go ahead and purchase the 10.4 upgrade, can I install it without upgrading from 10.3.8?
Sorry if these are basic questions, but my last mac was an Apple IIc be kind.Hello nebpen,
"While the lamp hold out to burn, the vilest sinner may return!"
Welcome back!
As the Texas Mac Man says, you need the install CDs (and Applerescue is a good source). Your DA will run any Apple OS out there at its latest update. I happen to prefer Panther, mostly, I suppose, because it's simpler ... or run them both!
Further, IMHO, the DA is the sweet spot in balancing cost and performance. I'm still feeling my way with upgrades, but every day mine seems to run better. I've just discovered how to adapt an 867mhz QS cpu, so the backup is now running faster than the Main Mac, and I even had to install Tiger (10.4.10) to take advantage of the latest Google Earth. What incredible pictures!
Anyhow, welcome!
Jon -
Something I noticed while downloading things. Need some help please.
So every time I download or patch something I noticed something strange going on. Lets say I am downloading a video right now, the download rate is 100/kbps right? But if I leave my computer idle for a couple of minutes the download rate would drop to 10/kbps. What gives? When my computer is in use the download rate is high but when I leave it idle the download rate slows down. I want to leave my computer on overnight so that I can complete my downloads. Any help?
What does Speed Test show as your up and download speeds ?
http://www.speedtest.net/ -
Used iphone and need some help, please
i got a used iphone and im tryin to set it up, but the screen isnt turning on, i mean there is little light but cant see anything. what do i do ?
bring it back. Sounds like it's broken, doesn't it?
-
Need some help frist time useing dreamweaver
Hey all,
I am totaly new to Dreamweaver and am needing some help. I am
needing to make a feedback form. Would need it to e-mail me the
feedback to something like [email protected] I also need to know
how to make a footer for the copyright and desiged by, on each page
without having to manually entering them. Any help I could get
would be awsome.There are only two ways to process form data -
1. Use mailto:[email protected] as the action of the form
2. Use a server-side scripting method to a) harvest the
form's data, b)
process it in some manner, e.g., enter it into a database, c)
formulate and
send an email to one or more email recipients, and d)
redirect the visitor
to some ending page
Method 1 is quite simple, and is also the least reliable. It
depends both
on your visitor having an email client already installed on
their computer -
this eliminates public computers, or home users without email
clients
installed (more and more it seems) - and on the installed
email client
responding to
the mailto call. It is not possible to use this method *and*
send the
visitor to a
thank you page as well.
Method 2a is the preferred method, since it eliminates the
problems of
method
1, but it means that you have to grapple with
server-scripting somehow (ASP,
CF, PHP, perl, etc.).
Method 2b would be to use some third-party form processing,
like
http://www.bebosoft.com/products/formstogo/.
You would have to decide which of these methods is best for
your needs,
but if it's Method 2a, then start by asking your host what
they provide for
form
processing. If it's 2b, then read their FAQ/instructions
carefully.
For your footer, investigate the use of DW's Templates (use
F1 Help to read
about them), or of server-side includes (again, F1 Help will
give you some
info here, as will Google).
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Xysos_Designs" <[email protected]> wrote in
message
news:[email protected]...
> Hey all,
> I am totaly new to Dreamweaver and am needing some help.
I am needing to
> make
> a feedback form. Would need it to e-mail me the feedback
to something like
> [email protected] I also need to know how to make a
footer for the
> copyright
> and desiged by, on each page without having to manually
entering them. Any
> help
> I could get would be awsome.
> -
I need some help resizing my images on PS6. I am using a mac and have been trying to resize with same resolution and constaining proportions but for some reaseon the smaller resized image appears pizelated. Heres an image of before and after. The first image I use is a JPG 72dpi 1500px x1500px and I want to downsize it to 600x600px same res, but it keeps pixelating, this has never happened before. Any suggestions, thoughts?
thanks!I wouldn't say pixelated; more like blurry.
Like ConnectedCreative said, what steps are you using? Are you using "bicubic sharper" when resizing down? -
finding difficulty in using Acrobat Editor, need some tutorials or online help in editing pdf's
Press F1 within the application to open the Help section.
If you have specific questions ask them in the Acrobat forums (this is the Reader forum). -
The backup disk image “/Volumes/Data/David Witkowski’s Mac Pro.sparsebundle” is already in use. Whenever Time Machine starts to backup to Time Capsuel I get the previous error message Where can I find this disk image?. I need some help to fix this.
Thanks,
David WThere are multiple answers and solutions if you look just to the right under the heading of More Like This.
-
Just brought a ipad2 need some help using it.
Need some help using ipad2
Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
Apple - iPad - Guided Tours
http://www.apple.com/ipad/videos/
Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
You can download this guide to your iPad.
iPad User Guide for iOS 5
http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
Cheers, Tom -
this website make problem for me, he open by it self everytime i try to open another websites
Please i need some help
http://yandex.ru/yandsearch?text=ццц&lr=1004Dude, I don't think there's a user on this forum that would click on that link.
-
Need some help activating my face time on my new phone. Am overseas and not in phone range so trouble shooting is difficult
I maybe completely off base (i don't have t-mobile) but it was my understanding that you would still need a 'data' plan for a) most of the applications to work and b) to receive service books etc and that the wi-fi would only give you access to 'website' and not the email etc.
If the unit is rebooting, then it would be sign of a bad BB, I would recommend reinstalling the OS using the desktop manager but if you just got the unit and are still in the 15-30 day period (not sure how long t-mobile does a return) I would ask for a replacement unit.
Again, not sure on the top part so hopefully someone else may have an answer for you. -
hi i need some help im having problems , the ipod can not be turned , in fact it was working fine but suddenly switched off and did not return to light n because it reconnected and if I had drums . what can i do to turned on .
its an ipod touch 64gbThat symptom is covered here:
iPod touch: Hardware troubleshooting
Maybe you are looking for
-
How to Create AP Invoice from PO using SDK
Hi, I want to create an A/P Invoice thru SDK for which already the Purchase Order has been entered thru the front-end. How to do it? Using SBO objects I am loading the particular PO. But after that how to transfer everything in the PO to AP Invoice.
-
TM failing saying there isnt enough space when there is TB's free after upg
We have a bunch of 2tb drives linked together via fw800 (OSX Software raid) which is maxing out a 9.1TB in total. Time Machine correctly states that 5.3tb will be required to backup. However it wont backup claiming that there isnt enough room on the
-
Firefox won't display ANY videos, but Chrome/IE will.
It's all in the title really. FF won't display any videos. In Youtube, the screen is black, apart from the red "play" button in the middle. When I click play it says "an error has occurred". In any other video sites the video section is blank, white.
-
Hello All, I am having the same login problems everyone else seems to be having with a new twist, when i go to archive and install and hopefully fix this mess, i realize that i now only have 6gigs left on my hd, and i need 11 to install. I am assumin
-
Why is photo stream so slow?
why is photo stream so slow? i'm trying to stream photos from my macbook air to my other devices, only about 50 photos and it's taking quite some time. trying to understand this. also, is it possible to photo stream videos? they are in my iPhoto so i