Who can tell me why?
I get some Excepiton in my applet here:
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Width (800) and height (0) must be > 0
at java.awt.image.SampleModel.<init>(SampleModel.java:105)
at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:125)
at java.awt.image.Raster.createPackedRaster(Raster.java:656)
at java.awt.image.Raster.createPackedRaster(Raster.java:431)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:909)
at sun.awt.windows.WComponentPeer.createImage(WComponentPeer.java:330)
at java.awt.Component.createImage(Component.java:2283)
at java.awt.Component.createImage(Component.java:2280)
at com.drivejava.pao.BackingStore.createBuffers(BackingStore.java:85)
at com.drivejava.pao.BackingStore.componentResized(BackingStore.java:46)
at java.awt.AWTEventMulticaster.componentResized(AWTEventMulticaster.java:100)
at java.awt.Component.processComponentEvent(Component.java:3600)
at java.awt.Component.processEvent(Component.java:3558)
at java.awt.Container.processEvent(Container.java:1167)
at java.awt.Component.dispatchEventImpl(Component.java:2595)
at java.awt.Container.dispatchEventImpl(Container.java:1216)
at java.awt.Component.dispatchEvent(Component.java:2499)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:336)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:134)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
thanks in advance.
you tried to set your height variable to 0, and it's got to be something greater than 0
Similar Messages
-
I've seen all the posts for fixing the wifi on the 4s, none of them work! So, who can tell me why my iPhone 4S cannot find any wifi when it used to find wifi, and when it does find a wifi network it can never connect? You think apple would have a clue how to fix it! Because turning the wifi on and off doesn't work, resorting network settings doesn't work, even restoring phone to factory default doesn't work...
Did not work. I've selected iMessage to ON and left it. After a few hours I recieved a message "activation unsuccessful. Turn on iMessage to try again". This has been going on for the past 3 days.
-
Who can tell me about the plugin bug
The Plugin
X-Plane 10/Resources/plugins/shrink-wrap.plugin/mac.xpl.
on my iMac 27' refuse to start because my iMac 27' system is blocking it.
Who can tell me why this blocade and
What can I do abot?I need more details about the exception and where it occurs in your program.
Also, the protocol trace with your mail server might help. (See the JavaMail
FAQ.)
BTW, you should probably use the setText method instead of setContent. -
About applet ,jsp ,!!!who can tell me ????
how can i pass data from applet to jsp ??????
i have an applet , and i can have data in this applet
i want to do like this :when i press a button in the applet,it is to show a new browser(jsp) ,and the data got form the applet
will be sent to the jsp ( JspDataTest.jsp ).
applet code like this :(i use it to send data to JspDataTest.jsp)
urlInfo = new URL("http://10.33.9.82:8080/Project/JspDataTest.jsp");
/**show jspDataTest.jsp*/
getAppletContext().showDocument(urlInfo);
/**open a connection*/
HttpURLConnection connection = (HttpURLConnection)
urlInfo.openConnection();
connection.setRequestMethod("POST");
connection.setRequestProperty("Content-type", "application/octet-stream");
connection.setDoOutput(true);
connection.setDoInput(true);
Vector data = new Vector() ;
data.add("1");
data.add("2");
data.add("3") ;
ObjectOutputStream out = new ObjectOutputStream(connection.getOutputStream());
out.writeObject(data) ;
out.flush() ;
out.close();
JspDataTest.jsp ,code like this : (i use it to receive data form applet )
<%
try{
//get data
ObjectInputStream in=new ObjectInputStream(request.getInputStream());
Vector vv = (Vector)in.readObject();
}catch(Exception e){
e.printStackTrace();
%>
but it tell me Error like this :
java.io.EOFException :
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java )
at java.io.ObjectInputStream$BlockDataInput.readShort(ObjectInputStream.java )
who can tell me why ????? and tell me how to resolve it ??
Thanks !!!!!It's not good to send data as serialized data objects to your front end jsp. It'd be better sending data to another servlet/jsp which will process them, probably by saving them in session. After closing the OutputStream, you have to invoke a javascript function in order to make your browser to submit a request to your front end jsp. So you code could be something like:
out.close();
// get the JSObject representing the applet's browser window.
JSObject win = JSObject.getWindow(this);
// Run JavaScript with eval(). Careful with those nested quotes!
win.eval("alert('before submit');jspsubmit();");
Of cource you have to add the jspsumbit() javascript function in the header of your JspDataTest.jsp. It have only to do a submit to itself (or whatever page you like). The jsp which gets this request can get data from the session. -
Who can tell the difference of the abstract interface class?
someone ask me that he had a abstarct interface class, such as :
public abstract interface Book{
I was comfused, who can tell me why use it?http://java.sun.com/docs/books/tutorial/java/interpack/interfaceDef.html
Scroll down to the bottom.
Drake -
I was wondering if anybody can tell me why the Apple IPhone 5 is $600 US/AUD more expensive in Australia than in the US!
thanksThanks for the reply - I still know that this issue is also relevant for so many other apple products which don't involve cellular providers.... I think Australians are tired of paying so much more for things than in the US and other countries. It used to be explained by the poor Australian dollar but that doesnt exactly work when we are over parity with the US dollar and have been for a while now....
-
Who can tell me how to search keywords in java
recently I'm doing a project called "Persistent Search Engine",
when I came to search part implementation, I'm puzzeld with the resource on the web, I found many of the implementation was did with the package " javax.help.search", but I didn't know how to use it, and where can I get it, or just it's already in the java libarary? who can tell me something about it ?
thankyou very much! ---shieldySee here http://java.sun.com/products/javahelp/
-
Who can tell me how to get the CRT for BBPCRM patch 8
hello ,
my solution patch level is SAP_BASIS 700 0011 SAPKB70011 SAP Basis Component
SAP_ABA 700 0011 SAPKA70011 Cross-Application Component
PI_BASIS 2005_1_700 0011 SAPKIPYJ7B PI_BASIS 2005_1_700
ST-PI 2005_1_700 0003 SAPKITLQI3 SAP Solution Tools Plug-In
SAP_BW 700 0012 SAPKW70012 SAP NetWeaver BI 7.0
SAP_AP 700 0008 SAPKNA7008 SAP Application Platform
BBPCRM 500 0007 SAPKU50007 BBPCRM
CPRXRPM 400 0002 SAPK-40002INCPRXRPM SAP xRPM/cProjects/cFolders 4.00 (ABAP)
ST 400 0010 SAPKITL420 SAP Solution Manager Tool
ST-A/PI 01G_BCO700 0000 - Servicetools for other App./Netweaver 04
ST-ICO 150_700 0007 SAPK-15077INSTPL SAP Solution Manager Implementation Cont
ST-SER 700_2005_2 0002 SAPKITLOC2 SAP Solution Manager Service Tools
But now , i find some CRM function can not be used , for example , i could not create a servcie message and monitor , if i create a service message and monitor the message , an abap dump occurs , the dump error is
CALL_METHOD_NOT_IMPLEMENTED
CX_SY_DYN_CALL_ILLEGAL_METH
Error in the ABAP Application Program
The current ABAP program "CL_EX_CRM_APPOINTMENT_BADI====CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
i try to upgrade the BBPCRM patch to 8 . the system tell me that you should need a CRT for the patch . i try to find the CRT, Unfortunate , i could't find it . who can tell me how to find the CRT . thanks !Hi Tony,
Please, refer to note 892412. Here you can find the patch level required depending on the solman used. I can tell u that we have applied this note and currently we create service messages. Check this patch levels first.
Regds,
Jose Sorli -
Who can tell me how to use ni-imaq functions imgSessionSerialFlash,imgSessionSerialWrite and imgSessionSerialRead to set and get my carema attribute?
My camera is duncantech ms3100 and the frame grabber is pci-1428.I use ni-imaq2.6.When I use these functions,it tell me error -1074397163(IMG_ERR_BINT:Bad interface) .I have the same problem on my IPAD 2. One calender that i cant delete or find any settings for... Its just in the calender app under diffrent calenders. how do i delete it?
-
Who can tell me how to use the transction "KKRC"?
who can tell me how to use the transction "KKRC"?
Please explain me all the steps to be required.
Thanks in advance!hi..
http://help.sap.com/bp_bl603/BBLibrary/Documentation/181_BPP_EN_BR.doc
KKBC HOE Transaction code Error
Regards -
Who can tell me if it right I can not write rfc with bdc?
Dear experts,
I want to write a rfc with BDC so that vs.net can use this rfc, but I find it can not be used. who can tell me if it right I can not write rfc with bdc?
Best Regards,
ShinnyHi Shinny,
Can you explain what error are you getting a little briefly. Coz you can write BDC in Function Modules.
Thanks,
Prashanth -
Who can tell me what are the functions of the following subdirectories?
Who can tell me what are the functions of the following subdirectories? How are they classified?
oracle@hostp ~$ cd $ORACLE_HOME
oracle@hostp db_1$ ls
{color:#0000ff}
assistants demo jdbc network oui slax
bin diagnostics jdk nls owm sqlj
cdata has jlib oc4j perl sqlnet.log
cfgtoollogs hostp_db10g jre odbc plsql sqlplus
clone hostp_rcatalog ldap olap precomp srvm
config hs lib OPatch racg sysman
crs install log opmn rdbms uix
css {color:#000000}install.platform{color} md oracore relnotes wwg
ctx inventory mesg oraInst.loc {color:#ff6600}root.sh{color} xdk
dbs javavm mgw {color:#ff6600}ord root.sh.old{color}
{color}
dbs javavm mgw ord root.sh.oldHi,
Here we go:
- assistants: configuration Assistants
- bin: binaries for all products
- ctx: interMedia Text cartridge
- dbs : contain initsid.ora, lksid (initiation files, password files,etc)
- instal:l install related files
- lib: Oracle product libraries
- jlib: Java classes
- md: Spatial cartridge
- mlx Xerox: Stemmer (for interMedia Text cartridge)
- network: Net8
- nlsrtl : NLS run-time loadable data
- ocommon: common files for all products
- odg: data gatherer
- opsm: Parallel Server Manager Components
- oracore: core libraries
- ord: data cartridges
- otrace: Oracle TRACE
- OPatch: Patches to the DB
- plsql : PL/SQL
- precomp: precompilers
- rdbms : server files and libraries required for the database
- slax: SLAX parser
- sqlplus : SQL*Plus
For more Information you can refer to:
- http://www.stanford.edu/dept/itss/docs/oracle/10g/em.101/b12140/3_oui_oracle_homes.htm
- http://www.dba-oracle.com/linux/important_files_directories.htm
Cheers,
Francisco Munoz Alvarez
http://www.oraclenz.com -
i wanna to ask who can tell me when the iphone 5 release at malaysia...??the price how much...??
Put the phone in DFU mode (google it) and restore as new.
When prompted during the restore process, select restore from an iCloud backup, enter your Apple ID credentials and the device will restore. Once complete, everything should be as it was without the passcode.
FYI, syncing photos to PhotoStream on iCloud is NOT a backup. It merely keeps the last 30 days and a set number of photos... anything beyond that rolls off PhotoStream.
You really should be using the device as designed, meaning regularly copying pictures/videos taken with the device off to a computer.
Contacts, if configured, should be synced to iCloud based on your statements above. -
Who can tell me the website which has some oracle client_si
I have read from here there is a website which has some
client_side program of oracle on linux, but i forgot the address,
who can tell me? (something like sqlplus under x, etc)
nullsander (guest) wrote:
: tianhuimin (guest) wrote:
: : I have read from here there is a website which has some
: : client_side program of oracle on linux, but i forgot the
: address,
: : who can tell me? (something like sqlplus under x, etc)
: Hi,
: On linuxberg.com in the X11 | database section you'll find a
: tablebrowser and sessionmonitor for oracle (based on Qt lib).
: I far as i know there no sqlplus for x, although i don't know
: what you mean excactly....
: btw. i've tried to install SQLplus for W95 on W98 -> no go
You have to upgrade your SQL*NET 8 Client to 8.0.4.3 (80403.exe)
The patch is avalable somewhere on the oracle web. If you don't
find it, send me a email and I'll send it
: Do you have any experience with this?
: Regards,
: Sander
null -
Who can tell me the mean of "tm" in J2EE(tm)???
who can tell me the mean of "tm" in J2EE(tm)???
Thank you very much!
Maybe you are looking for
-
IPod nano not appearing in iTunes
I have downloaded iTunes which works fine except there is no "Devices" section in the source panel. When I plug the ipod in it is recognised in the computer control panel but still does not appear in iTunes. It does not connect automatically and ther
-
GUI_DOWNLOAD FUNCTION ISSUE.
hi i use the function GUI_DOWNLOAD download data to PC CLIENT. CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING BIN_FILESIZE = FILENAME = FILENAME FILETYPE = 'DAT' APPEND
-
Hi Experts, In the Component Monitoring, the ADAPTER ENGINE have a RED status, show the message: Details for Ping Status Message: Cannot construct correct URL for runtime check using entries in SLD for component af.pid.<hostname>; correct entries in
-
Error Handling in B2B Composites
Hi B2B Experts, I have a composite in which i do a B2B Inbound Operation. I receive a custom PFF protocol Remittance file from one Business Partner. After i get the file, i will be creating receipts for the invoices i get in the file. My file has one
-
Access FLV metadata from Spark VideoPlayer
Is there any way to access FLV metada in Spark VideoPlayer? There was metadataReceived event in past. But now there is no any event for metadata. Thank you