Trouble with Applet loading
hi, new to java; after a mind-boggling and frustrating exercise of finally getting the 'Hello World' application to execute using DOS command, I am now stuck with the applet version/
The html file written in note pad is saved in the same directory as the HelloWorldApp.java and the HelloWorldApp.class which I had initially used when running from DOS/
from what I understand, I have to include the "HelloWorldApp.class" file within the applet as tag/
after i execute the html file in the browser(Internet Explorer), all I get is a greyish square with no writing inside of it/
please keep in mind i'm new at this and not very technicaly inclined at times, so don't say anything like, "the exe. file tags within the path of the ini. is a variable inside the memory location x0x0x0x0x which has to over-written with a command...."
please help, appreciated :)
from what I understand, I have to include the
"HelloWorldApp.class" file within the applet as tag/
after i execute the html file in the browser(Internet
Explorer), all I get is a greyish square with no
writing inside of it/Look in the taskbar or control panel for Java console. Open it and see the exception messages you are getting.
please keep in mind i'm new at this and not very
technicaly inclined at times, so don't say anything
like, "the exe. file tags within the path of the ini.
is a variable inside the memory location x0x0x0x0x
which has to over-written with a command...."
please help, appreciated :)Read the applet tutorial and verify that you have correctly followed all the steps
http://java.sun.com/docs/books/tutorial/applet/
Similar Messages
-
HT2477 Having trouble with emails loading once in mail
I am having trouble with mail loading after it has been recieved into mail ..... very frustrated
Thanks for your quick reply - yes it is - I have fiddles with some of the settings but yes these are all correct for the appropriate servers....it totally has me stumped as I've never had this issue before
-
Trouble with iTunes loading on my mac running OSX 10.9.2
Lately every time I go to load iTunes, I get a "not Responding" causing me to Force Quit. It seems crazy that this should be a recurring problem. I diligently update everytime something shows up as available. I am getting tired of seeing the "color wheel" spin and spin. Anyone out there with the same/similar problem. But better yet any solutions?
Thanks for your helpLog out or restart the computer and try again. If there's no change, see below.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Important: Some private information, such as your name, may appear in the log. Anonymize before posting. -
Trouble with applet tutorial about servers
I downloaded the sources of this (http://java.sun.com/docs/books/tutorial/deployment/applet/clientExample.html) example and am trying to make them work. However I'm having trouble with the server program.It compiles fine but when I run it I get NullPointerException in QuoteServerThread class on this line:
packet = new DatagramPacket(buf, 256);buf is a byte array and it's set to null.
I don't have any experience with networking in java so if the problem is something really simple you'll know why I didn't find it.
Oh, and the code of the thread is here http://java.sun.com/docs/books/tutorial/deployment/applet/examples/QuoteServerThread.javaReplace
byte[] buf = null;with
byte[] buf = new byte[ 256 ];Other problems may happen if this sample was not tested properly.
The problem is that the DatagramPacket requires you to supply a non-null buffer, as per:
DatagramPacket
public DatagramPacket(byte[] buf, int length)
Constructs a DatagramPacket for receiving packets of length length.
The length argument must be less than or equal to buf.length.
Parameters:
buf - buffer for holding the incoming datagram.
length - the number of bytes to read.
Edited by: baftos on Jul 18, 2008 3:38 PM -
Having trouble with website loading(Believe its Lion Related)
Hello All,
I have a website I goto to view Ford Manuals about my car, the website is www.iihs.net/fsm/?dir=0 . Here is what is strange, I have been using this website for several years to access PDF files. I tried going to this site on my brand new Mac Air and was unable to gain access to the pdf, I get a missing plug in message on the right side of the page. I then went to my Mac Book Pro that I know Ive accessed the page from and it did the same thing. The only thing I am able to pinpoint it on is, I upgraded to Lion and dont think I have tried accessing the page since upgrading a few months ago. I was on the phone with Apple Tech Support for over and hour, he downloaded Adobe reader,Google Chrome,Firefox and he was unable to get the pdf files to open. Knowing that Ive been able to access these pdf pages previously, I told the representative I was going to try and load it on my iPad. BAM!!!!!!! The page loads fine on my iPad, I told the representative and we both then tried with our iPhones, BAM!!! Same thing, pdfs load and display. I am convinced that this has to do with Lion, I have loaded the PDFs before with no problems. Ive never had to download a plug in or change a setting on my computer.
Does anybody have any ideas or able to offer help ?
Thanks in advanceDivX VOD Helper Plug-in
DivX VOD Helper Plug-in — from file “OVSHelper.plugin”.
MIME Type
Description
Extensions
application/x-divxovshelper
DivX OVS Helper Plug-in
app
DivX Web Player
DivX Web Player version 2.1.1.94 — from file “DivXBrowserPlugin.plugin”.
MIME Type
Description
Extensions
video/divx
DivX Video File
divx,div
Google Earth Plug-in
The Google Earth Plugin allows you to view 3D imagery and terrain in your web browser. — from file “Google Earth Web Plug-in.plugin”.
MIME Type
Description
Extensions
application/geplugin
Google Earth browser plugin
iPhotoPhotocast
iPhoto6 — from file “iPhotoPhotocast.plugin”.
MIME Type
Description
Extensions
application/photo
iPhoto 700
Java Applet Plug-in
Displays Java applet content, or a placeholder if Java is not installed. — from file “JavaAppletPlugin.plugin”.
MIME Type
Description
Extensions
application/x-java-applet
Basic Java Applets
javaapplet
application/x-java-applet;jpi-version=1.6.0_24
Java applet
application/x-java-applet;version=1.1
Java applet
application/x-java-applet;version=1.1.1
Java applet
application/x-java-applet;version=1.1.2
Java applet
application/x-java-applet;version=1.1.3
Java applet
application/x-java-applet;version=1.2
Java applet
application/x-java-applet;version=1.2.1
Java applet
application/x-java-applet;version=1.2.2
Java applet
application/x-java-applet;version=1.3
Java applet
application/x-java-applet;version=1.3.1
Java applet
application/x-java-applet;version=1.4
Java applet
application/x-java-applet;version=1.4.2
Java applet
application/x-java-applet;version=1.5
Java applet
application/x-java-applet;version=1.6
Java applet
application/x-java-vm
Java applet
application/x-java-vm-npruntime
Java applet
QuickTime Plug-in 7.7.1
The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site. — from file “QuickTime Plugin.plugin”.
MIME Type
Description
Extensions
application/sdp
SDP stream descriptor
sdp
application/x-mpeg
AMC media
amc
application/x-rtsp
RTSP stream descriptor
rtsp,rts
application/x-sdp
SDP stream descriptor
sdp
audio/3gpp
3GPP media
3gp,3gpp
audio/3gpp2
3GPP2 media
3g2,3gp2
audio/aac
AAC audio
aac,adts
audio/ac3
AC3 audio
ac3
audio/aiff
AIFF audio
aiff,aif,aifc,cdda
audio/amr
AMR audio
amr
audio/basic
uLaw/AU audio
au,snd,ulw
audio/mid
MIDI
mid,midi,smf,kar
audio/midi
MIDI
mid,midi,smf,kar
audio/mp3
MP3 audio
mp3,swa
audio/mp4
MPEG-4 media
mp4
audio/mpeg
MPEG audio
mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a,mp3,swa
audio/mpeg3
MP3 audio
mp3,swa
audio/vnd.qcelp
QUALCOMM PureVoice audio
qcp,qcp
audio/wav
WAVE audio
wav,bwf
audio/x-aac
AAC audio
aac,adts
audio/x-ac3
AC3 audio
ac3
audio/x-aiff
AIFF audio
aiff,aif,aifc,cdda
audio/x-caf
CAF audio
caf
audio/x-gsm
GSM audio
gsm
audio/x-m4a
AAC audio
m4a
audio/x-m4b
AAC audio book
m4b
audio/x-m4p
AAC audio (protected)
m4p
audio/x-midi
MIDI
mid,midi,smf,kar
audio/x-mp3
MP3 audio
mp3,swa
audio/x-mpeg
MPEG audio
mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a,mp3,swa
audio/x-mpeg3
MP3 audio
mp3,swa
audio/x-wav
WAVE audio
wav,bwf
image/jp2
JPEG2000 image
jp2
image/jpeg2000
JPEG2000 image
jp2
image/jpeg2000-image
JPEG2000 image
jp2
image/pict
PICT image
pict,pic,pct
image/png
PNG image
png
image/tiff
TIFF image
tif,tiff
image/x-bmp
BMP image
bmp,dib
image/x-jpeg2000-image
JPEG2000 image
jp2
image/x-macpaint
MacPaint image
pntg,pnt,mac
image/x-pict
PICT image
pict,pic,pct
image/x-png
PNG image
png
image/x-quicktime
QuickTime image
qtif,qti
image/x-sgi
SGI image
sgi,rgb
image/x-targa
TGA image
targa,tga
image/x-tiff
TIFF image
tif,tiff
video/3gpp
3GPP media
3gp,3gpp
video/3gpp2
3GPP2 media
3g2,3gp2
video/avi
Video For Windows (AVI)
avi,vfw
video/flc
AutoDesk Animator (FLC)
flc,fli,cel
video/mp4
MPEG-4 media
mp4
video/mpeg
MPEG media
mpeg,mpg,m1s,m1v,m1a,m75,m15,mp2,mpm,mpv,mpa
video/msvideo
Video For Windows (AVI)
avi,vfw
video/quicktime
QuickTime Movie -
I can't load an applet in my page .
Ocuur an error
java.lang.UnsupportedClassVersionError
message: unsupported major.minor versoin 48.0Also, when I try to view a sample applet on I.explorer
6, a window to download java VM pops up. I click it
and it directs me to a page to update my Microsoft
VM?!It sounds like you have Microsofts VM enabled in your browser. This will not work with Java 1.4, and would explain the Class Version Error.
I am confused. Do i need both VM's to run java?No, the browser will only use the one that it is currently set to use. The MS VM is old and does not support Java 2. You'll need to install or at least activate the Java 1.4 Plugin.
And how do I know that my plug-in is working or not?Go to your Control Panel from the Start Menu and you should see an icon for the plugin. On the 'Browser' tab, make sure the IE checkbox is checked.
If you do not see the icon, it means that you need to install the plugin. Get it at: http://java.sun.com/getjava/ -
Problems with applet loading in web browser
Hi,
I am using IE 6, and the JRE is 1.4.2 the problem I am facing is, in my application applet is not getting loaded.. I treid with JRE 1.5 and even JRE 1.4.1. in both cases its working .. but with JRE 1.4.2.. its giving the problem.. can some one please give the reason why it is happening so. and provide me some solution??
Thanks in advanceIs JRE 1.5 and 1.4.1 installed on the same machine? If so , how are you switching the JRE versions?
Please let me know the whole scenario. Thanks. -
Hello there,
I am trying to load some data to a temp table for normalization but I am getting errors and nothing loads.
My table is as below
CREATE TABLE CA(
OLD_SYSTEM_ID VARCHAR2(25),
OLD_DESCRIPTION VARCHAR2(35),
ORDER_DATE DATE,
SHIP_DATE DATE,
QUANTITY NUMBER);My Control file is like this
LOAD DATA
INFILE Ca.fwf
BADFILE Ca.bad
INTO TABLE CA
old_system_id POSITION (1:19) VARCHAR2,
old_description POSITION (20:27) VARCHAR2,
order_date POSITION (28:35) DATE,
ship_date POSITION (36:43) DATE,
quantity POSITION (44:47)
)And my data is like this:
CA-91003-KTS:2452-10000218619930205199303021
CA-91003-KTS:2452-2000009171993020519930302100
CA-91003-KTS:2452-3000009261993020519930302500
CA-91003-KTS:2452-40000094619930205199303025
CA-91003-KTS:2477-10000218619930319199304141
CA-91003-KTS:2477-2000009171993031919930414100
CA-91003-KTS:2477-3000009261993031919930414500
CA-91003-KTS:2477-40000094619930319199304145
CA-91003-KTS:2497-10000218619930519199306141I get this error:
SQL*Loader: Release 9.2.0.1.0 - Production on Tue Oct 3 10:16:00 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL*Loader-350: Syntax error at line 6.
Expecting valid column specification, "," or ")", found "VARCHAR2".
old_system_id POSITION (1:19) VARCHAR2,Any ideas why? this is happening on 8 different loads although they are all similar, is it to do with VARCHAR2 and commas?
Regards
MikeWhat happens when you try to load without any date mask? Does it get rejected? May be you should request your upstream system to send the date values in similar format?.
If there are going to be only two formats i.e.,DD-MON-YY and DD/MM/YY then you can use decode function. something like below
"decode(instr(:order_date,'-'),0,to_date(:order_date,'DD/MM/YY'),to_date(:order_date,'DD-MON-YY'))"Post the code which you tried. I dont have acces to database at home so the above code snippet is not tested. -
Hi,
Because PSE 11 suddenly stopped editing my images, and after exhausting other avenues, I uninstalled and re-installed the PSE 11 program. The plug-in for ACR is version 7.1. I have tried downloading the most recent, 8.3 but failed. I then tried to download the 7.3 version which covers my new Canon EOS 6D, but again the plug-in version is only coming up with 7.1. I have full functionality in Organizer/Editor for my old camera images but the error message tells me that the current plug-in does not support my new camera.
I have been going around in circles for the past day trying to fix this problem. PSE was working perfectly with my new camera images until the weekend.
Can anyone point me towards the correct procedure for downloading ACR and ensuring that it is the default plug-in to convert raw images?
Many thanks in anticipation,
DavidHi,
Thanks, but I tried this route and the Adobe Application Manger Updates opened but it is spinning its wheels searching for updates for more than an hour. I minimised the screen and peek every once in a while in hope...
I did manage to download updates such as 8.3 and 7.3 but I do not know where they disappeared on my computer. Other advice on the support page of Adobe suggests that the filepath for plugins is to be found under Program Files/common files/Adobe. -
here is my problem. i am trying to make an apllet, specifically AnimateMultiple from the book Instant Java, to work on my computer. i have tried using ie 5.5 and netscape 6.1 with no avail. all i get is 4 pictures without any animation. please help.
without morecode sample, we can't help you very much !!
your animation probably uses a Thread. So are you starting the thread with the start() method.
Do you have any error messages? -
Hi, I was trying to copy a photo from iPhoto to the desktop. I wasn't sure if I should drag it to the desktop and instead double-clicked on the photo, chose "Select All" and tried pasting it to the Desktop. Suddenly it appeared to be trying to copy all the photos to the desktop and froze with the color wheel turning. I then powered off. I've tried starting up holding down "option" and selecting the Mac Hard Drive and also "Option, Apple, P, R", but I get the same thing: The top bar and desktop background are displayed and I can move the mouse but can't click on anything. Sometimes the mouse arrow is just a mouse arrow and sometimes it is the spinning color wheel. Hard drive icon won't appear. Any ideas? Thanks, Tim
To avoid using the windowing system, which may be dysfunctional, I would boot into safe mode, open up a Terminal.app from the utilties and do the following:
1. Enter the following command to see how much drive space you have left:
df -k
This will list all the mounted partitions. Some of them will be system partitions but you want to pay attention to the one that you "knew" as your own hard drive. On the right side it will be a column that says "Capicity". If this says something more than 90% you've probably discovered your problem.
2. If that is the problem (i.e. you've run out of disk space) you could enter the following sequence of commands to start deleting some of the files you copied to your desktop:
cd Desktop
ls -l|more
ls -l|more (that's all "el's" with a vertical bar to pipe it to the more command) will allow you to scroll through the list of files by hitting the space bar. The left hand column will have a format like drwxr-xr-x or -rw-r--r--. If it starts with "d" it's a directory (folder) so you probably shouldn't delete it, if it doesn't it's likely file. The next 2 columns will show the Unix user ID and group, the next is the file size, followed by the date, then the name of the file. I would think you would want to look for HUGE files like movies.
To delete the files, enter the following command
rm filename
For example, if you found a 1GB video named "BigMovie.mp4" then you would remove it with:
rm BigMovie.mp4
Keep in mind I have no idea if you copied out of iPhoto or extracted out of iPhoto (because I'm not sure specifically what you did). Extracting would mean it would take it out of iPhoto and put it on your Desktop. I doubt you did that or you wouldn't be running out of space.
If you are out of space you may need to sit there and keep doing this (removing files) until you free up enough space to get the thing working at least somewhat normally. Another thing that may help is this command:
sudo rm /var/vm/sleepimage
The sleepimage file is the EXACT size of the memory in your system. It's a snapshot taken by the system of RAM contents when the unit goes to sleep. That should free up a few GB instantly, unless it was deleted by the system (which is possible) at which point it will report that there's "No such file or directory."
Keep in mind I'm assuming you've run out of drive space. That doesn't mean that's the problem. If possible, another option might be to try and boot it from another drive and clean up your system as needed.
For other problems, the site below has a fair number of various how to articles:
http://scsc-online.com
The other poster also posted some stuff from Mac World that may be useful.
Hope this helps. -
I am having trouble with cityville loading
cityville will not load to be able to play. but farmville will. why is this happening. I have sent a crash report each time
I went on disqus site to view comments there and Bingo same question same problem--looks as if DISQUS is an addon
Warning: Unknown property 'transition'. Declaration dropped.
Source File: http://blog.disqus.com/post/912763604/help-us-test-our-latest-beta-wordpress-plugin#disqus_thread
Line: 129
Error: uncaught exception: [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "http://mediacdn.disqus.com/1071/build/system/disqus.js? Line: 1"]
Warning: Error in parsing value for 'height'. Declaration dropped.
Source File: http://mediacdn.disqus.com/1071/styles/facebox.css
Line: 98 -
after downloading latest version of LION I have had trouble with my email boxes on my mac.
Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
*Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
*http://kb.mozillazine.org/Website_colors_are_wrong
*http://kb.mozillazine.org/Websites_look_wrong
If images are missing then check that you aren't blocking images from some domains.
*Check the permissions for the domain in the current tab in "Tools > Page Info > Permissions"
*Check that images are enabled: Tools > Options > Content: [X] Load images automatically
*Check the exceptions in "Tools > Options > Content: Load Images > Exceptions"
*Check the "Tools > Page Info > Media" tab for blocked images (scroll through all the images with the cursor Down key).
If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
Make sure that you do not block third-party images, the permissions.default.images pref should be 1.
*http://kb.mozillazine.org/Images_or_animations_do_not_load
There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images. -
Troubles with xmp files not loading...
I'm having troubles with xmp files not loading with images but are present in the image folders. does anyone know why this is happening and if there is a way to fix this. Also when trying to load the xmp individually they are grayed out and unable to load. I have tried this on different machines (Macs) and still no luck. Any help would be greatly appreciated in this issue.
> The information contained in the XMP file is stored in the DNG file so there is no need for a separate file.
Aww, yuck!! That's a real drag...
When editing lots of files (yesterday's shoot produced 8GB) I back everything up to off-line storage and then, after doing all my edits and crops in ACR, I only have to copy over the small XMP files which takes no time at all.
So if I re-edit the DNG with ACR I have to re-copy ALL the files again to the off-line storage.
I used to sometimes even save 2 versions of the xmp files when I needed 2 different crops of the same images, such as doing a wide screen 'cinema' crop for a corporate client's Intranet presentation of their event, as well as more standard crops to be used for their newsletters.
Guess I won't be using DNG any more..
Thanks for the help Kees :-)
Russell -
DW MX trouble with loading PDF files
I'm using Dreamweaver MX on an XP Pro machine and have
trouble loading pdf documents to my web pages. It cooperates
intermittently. I'm using a virtual pdf printer to convert word
documents to pdf, then saving them to my website folder, selecting
the linking text on my page in DW, using the link box to select my
pdf document, then saving the page and putting files in both the
local and remote views.
This method has worked for me before, and now it's not. Does
anyone know of a reason for this? The documents are saved
correctly, as I can get them to open as pdf outside of dreamweaver
and my webpage...when I click on the link I created online I get
"page not found."
Thanks for any help!I am having the same trouble with Dreamweaver MX 2004 on
Mac-OSX since I switched from MacOs9. I still have no solution .
When I want to export a .pdf file I get a message saying <ftp
error>.
I never had problems on Mac Os 9 and it started when using
the first version of Mac Os X. I am presently using mac Os 10.4.10
and I am still unable to transfer .pdf files, no matter whether I
use acrobat or the Mac system to produce the.pdf file.
When I try the page on my computer the link to the.pdf file
functions allright, but not on the server as the file cannot be
transfered to it by the software.
Does someone know how to solve this ?
Q]
Originally posted by:
milflib
I'm using Dreamweaver MX on an XP Pro machine and have
trouble loading pdf documents to my web pages. It cooperates
intermittently. I'm using a virtual pdf printer to convert word
documents to pdf, then saving them to my website folder, selecting
the linking text on my page in DW, using the link box to select my
pdf document, then saving the page and putting files in both the
local and remote views.
This method has worked for me before, and now it's not. Does
anyone know of a reason for this? The documents are saved
correctly, as I can get them to open as pdf outside of dreamweaver
and my webpage...when I click on the link I created online I get
"page not found."
Thanks for any help!
Maybe you are looking for
-
IPhone 4s won't sync to iTunes
Ok, so I just got a new MacBook Pro and as I was trying to sync my phone to iTunes I realized nothing would pop up. I can get into my pictures but on iTunes it doesn't show my iPhone is plugged in. I feel really stupid, but I don't know what to do!
-
Firefox 3.6.x is very slow on my win 7 32bit
I am using firefox from version 2. but this new version is so slow in windows 7. it seems that it loads web pages but it isn't able to display them. also after a long time when I reload the web page it shows it immediately.
-
Search Inbox for picture attachments only - without knowing name
Is there a way to identify which messages have a pic attachment from looking at the list in my Inbox? I'm doing a year-end sweep to pick which pictures to import to iPhoto. Thanks, Tom
-
Safari, Layers, and Flash (k)
This has been a bug for a long time. When you put a SWF on a page and have an HTML layer go over it in Safari(mac), the flash appears ABOVE the layer that is on top of it. Only in Safari, not Firefox. Is there a workaround? -Kirk
-
Reg: How to add Quotation No. in Notification Details.
Hi Experts, I created a Quotation using BAPI, now I want to assign that Quotation to Notification No.(IW52). That field is in Display mode, So I cant use BDC. I used "BAPI 'BAPI_ALM_NOTIF_DATA_MODIFY" & 'BAPI_ALM_NOTIF_DATA_ADD' to update the Quotat