Just a gray square

I am developing a sketch pad applet and have tested it several times from the "run project" option in JBuilder. Everything looks fine there. Now when I try to use the applet through an html page the aplet appears as a gray box, nothing more. The Internet Explorer says that the class has started so there are no exceptions thrown. What is the major problem? My main class implements several other classes and have many instances of my own classes inside it. All classes are copied to the directory where the main class is put.

When I look at the java console in Internet Explorer I
see whats the problem. Its all about getting access to files on the
server. I get a java.net.SocketPermission.
In my code I call getImage(url) to get an image from my server.
I set the image file properties with chmod 777 but it doesn't
seem to be enough when I use an absolute path to the server.
And Im not able to use a relative path as an url in my code.
How can I get permission to my files on the server from
the applet classes.

Similar Messages

  • Problem with Preview and PSD files - random gray square

    Hi guys, hope you can help...
    I've got a problem with Preview and PSD files.
    If I open in Preview both an original jpg straight from my reflex and the photoshop version of the same picture, the psd file presents a gray square (of what it seems unrendered image) in a random area of the photo (sometimes in the center.). The square is quite big...
    If I zoom in or zoom out it disappears...if I scroll to another photo and then back to the psd, the square it's there again...sometimes in a different position.
    I've tried the same psd on my older iMac with leopard...and got no problem at all.
    I suspect it got something to do with my Ati...
    (this is the second iMac 27...the first went back for gray banding on the lcd screen and flickering and yellow tinge........)
    Thanks for your help.
    DAve.

    maybe I'm onto something...
    I've just found out that opening Preview in 32bit mode (instead of default 64bit) works flawlessly with any psd files. If I switch back to 64bit mode, Preview is much faster but the gray square comes back...
    It seems like the i7 is much faster than the Ati....
    Any more realistic ideas?

  • Gray square box

    I realize this is a bit off topic, but i was wondering if anyone you have had this issue. I was working in FCP the other day and I guess I was trying to do just too much at once and my g5 froze and the only way to power it down was to pull the plug. Holding in the power button didn't work. Now when I boot up, the computer shows the apple logo for about 1/2 second then a gray square box. The gray square stays on the screen until I reach my desktop. Computer boots to the desktop fine and i am able to use all apps. Does anyone know what this gray box is and if I should be concerned? i have posted an example here: www.suerothberg.com/IMG_3419.JPG
    much thanks.

    Onyx is basically the same as running fsck in a nice little app.
    Do you have your project files on your system disc? (I do) that's what I would worry about backing up -- desktop setting are easy to redo -- it's the stuff that would take hours/days/weeks to re-do that you want to back up.
    Home folder would backup everything (desktop, documents, music, settings etc) but could be fairly large.

  • Intra-Discussions URLs = intermittently awry? ("little gray squares")

    Hi, Friends!
    This may be a very naïve question — or it may have been answered 10x over. I've had no success finding a solution after searching herein, so I'm asking for help...
    Intermittently, "intra-Discussions links" — "text URLs" I've written as links to other posts — just don't work. Other times, the same formatting works fine. I haven't been able to predict, and QA/QC gets tiresome.
    Can someone help me understand? Is it simply a vestige of transition, or server hiccups, or my lack of savvy, or... ?       I'm still learning html, so perhaps the use of both/either XYXYXYX&#XYXYXYX and XYXYXYX#XYXYXYX in post identifiers — seemingly interchangeably — is what has me confused...?
    I'm having trouble describing this succinctly. Please bear with me...
    Trying to explain:
      (1) Method One. I prefer this approach for linking to a post that I think is apropos:
    I access the URL for a given post (often not the original post in the thread). One way to do this — kindly authored by ali brown — involves editing a "Reply" link to the post you want to reference. I usually use a simple search, requiring that bit of time, but avoiding any errors that might arise from editing. Either way, the resulting format looks like this:
          <a href="http://discussions.apple.com/message.jspa?messageID=1902768#1902768"> Bluetooth
            Troubleshooting Checklist</a>"       or   " 1902768&#1902768<font color="000000" "
    Externally, this link works fine — and it usually does internally, too. (It works now, too — <i>after</i> I edited it until my eyes crossed.)
    <font color="000066">But sometimes, that method goes wacky. I'll have trouble posting an edited post, or discover that the link is dysfunctional while I'm checking through a post for accuracy. Going back to the Editor, I'll discover that — in these cases — the second post ID (in the above case, the 1902768 after the #) has been replaced by two solid gray squares. No amount of retrying, retyping, pasting-in to be sure of accuracy, etc. fixes the problem. The only alternative I've come up with is to manually delete the squares — ending up with a link to the original post of the thread.
    But that doesn't accomplish what was intended, because then a reader has to scan the entire thread to locate the specific post. When that happens, I substitute...
      (1) Method Two. When I "have to live with" this snafu, I'll go back to a format modeled after the "old" Discussions. For this example, this would be:
          <a href="http://discussions.apple.com/message.jspa?messageID=1902768"> [ "Bluetooth
            Troubleshooting Checklist," Dean Pahl, Mar 11, 2006 10:33 pm ]</a>  
    Any ideas?
    Thanks!
    Dean
    Edit: Egad! The problem happened again as I was editing and correcting this post! (Even though it'd been working fairly well lately...) In fact, it resulted in cutting off 1/2 of the post untll I went back and edited — a few times, as it turned out...

    Thanks grandly, Niel!
    So, to confirm my understanding — simply editing out the ampersand (if it appears in the string) will resolve the difficulty?
    If I may, a few follow-up questions...
    (a) I'd thought this more "random"... tried testing by entering a URL into Safari's address box both including the "&#" and then deleting the "&." Both worked. Perhaps something in the Discussions' software intermittently conflicted with this — or perhaps consistently, and my observatioins were imperfect? I'm pretty familiar with the use of html "character entities" — is that equivalent terminology to what you've called "declaring a Unicode glyph?"
    (b) An example for clarity —> Let's say I jump to the Using Apple Discussions »» Feedback About Discussions main page, and search for < Niel   "Re: Intra-Discussions URLs = intermittently awry? ("little gray squares")" >. Then, following the link back to your post above, I can copy its URL and paste it into an html link within another message. Unfortunately, what's returned ends with "jspa?messageID=1950955&#1950955" — i.e., the character string that may be misinterpreted and cause the misbehavior.
    I'm going to test this out now, using both formats...
    Edited to add:   Interesting... Both formats worked fine to link back to your post — from within this message and from the same link in a TextEdit file. However, when I returned to the Discussions' Editor, the entire string following the first "1950955" morphed into two gray squares. I suppose these are squares just like what happens with an improper key "mapping" — returning to the mis-identification of an html character entity.   It may be that what I'd perceived as "random" was related to whether I used the Editor. So it seems I've proved your assertion in full, and found a correlation about how.
    Was the "?" part of the string added because it was derived from a search?
    My curiosity essentially stems from wanting to simplify posting and  learn more about how & why. Perhaps you could recommend a reference that might help? Before posting originally, I checked a few tutorials such as W3 Schools' — but couldn't find what you've so cogently explained...
    Thanks again!
    Dean

  • Print illustrations on white background;  eliminate gray square/rectangle behind images

    working on desktop publishing project that will be printed in black white only. Have photoshop images that will be used as illustrations. when I put these images into InDesign and print them, a gray square/rectangle appears behind the image. I cannot eliminate the gray background. it is essential to the project that the images print directly on paper without the background gray. have tried several youtube video lessons but none has been completely successful yet.

    I don't quite understand..........I'm using iwork pages, I click on shapes (square), I fill square with pink, I click on media (clips are stored there), picture of butterfly is than place within the pink square. However I would like it so that the picture of the butterfly layout only with the pink background. I don't want the white background. Am I missing something, or I'm just not being clear? Thanks for any further assistants.

  • Quick Scroll Gray Square Gone

    Just like the title says, the gray square is gone when I try to quick scroll (it still scrolls quickly). I just get to see the rough outlines.

    Try restoring your ipod.
    kEat0n

  • Can not view photos on Windows Live Skydrive - Just see gray boxes

    After uploading photos I am unable to view them. All I see are gray squares. Have addressed this with Windows Live Skydrive Help and they have suggested optimizing Firefox. How, I am not sure. I do not have this problem with IE, but I want to use Firefox.

    So how does one Optimize Firefox?
    We need help with this problem....

  • Can't see or send photos! I just see a white image, and when I send a photo, it just sends white squares

    Since last update, when I open my photos, they change to white. I can see them on the grid, but if I try to open them, they change to white. If I try to send a photo, it just sends white squares.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                              

  • When I click on pic, gray square comes up with an exclamation point

    My friend got on my computer and uploaded pics from my camera. I don't know what she did, but the pic I want is in the library as a thumbnail, so it looks like its there. But when i click it to edit it or make it larger, instead of the pics coming up, a gray square comes up with an exclamation point inside a dotted like sqare. What's going on?

    Ava
    Welcome to the Apple Discussions.
    The ! or ? turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents. The most common cause of this is User Activity in the iPhoto Library Folder. Have you altered, moved or renamed anything in the iPhoto Library Folder?
    If you haven't, then try rebuilding the database. Hold down the apple and option keys and launch iPhoto. Use the resulting dialogue to rebuild.
    Regards
    TD

  • Dv gray squares blank screen Kona LH final cut pro iTunes

    KONA/AJA conflict with FCP
    If anyone outputs their system's sound through a KONA LH card and AJA KL breakout box, it causes gray squares and then the video output goes fully blank when outputing via FireWire / DV to a deck.
    I noticed that this problem only occurs when I run iTunes at the same time as FCP. If I change the system sound to the internal speakers (and not the KONA/AJA card), the problem disappears.
    I know this is a third party product, but if there are any suggestions to prevent this, it would be appreciated (other than not doing what I am doing--of course . . .
    --Stephen
    Dual 2.7 G5   Mac OS X (10.4.3)   Kona LH, SATA array, DSR-11

    for the don't do what you are doing response
    x

  • My user account doesnt show up when turned on, just a gray screen on my Mac mini.

    My user account doesnt show up when turned on, just a gray screen on my Mac mini.  Please help.  I have lots of unsaved data on it. 

    Gello, see if this works...
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk.

  • Icons for apps are not being displayed when I open the App store, just getting gray color boxes

    Icons for apps are not being displayed when I open the App store, just getting gray color boxes

    Did you update your operating system?  If so, did it solve the problem?  I have not updated my OS because so many people complained that the newer Os's had problems.

  • TS1702 The app works but won't show the icon on the screen-its just a blank square with the app title.

    Any ideas on how to fix this problem? Some of the app icons are just a blank square with the name of the app. They still work. I've tried to resync but get same result.

    What about completing removing these apps from the iPod Touch and redownloading them from the App Store?
    B-rock

  • When I downloaded new photos, they showed up as grayed out areas, without any photo there, just the gray spaces shown where a photo should be.

    I downloaded a bunch of photos, but instead of them showing in each space, they were all grayed out, NO photos were shown, just blank gray spaces,where each photo should be, this has just started to happen the last month or so.

    Click this little triangle and choose Reset Tool from the popout menu:

  • Gray squares around mouse pointer

    We have a macbook pro 15".  Occasionally the computer stops responding and there are gray squares around the mouse pointer as we move the cursor.  I called tech support and they said it was out of warrantee.   Any help here is appreciated..  I tried resetting the macbook (taking out the battery etc.) still have the problem.
    thanks
    M-

    Arghh - Universal Access, Zoom, Box follows mouse pointer!
    Don't know why I never spotted it earlier - maybe because it's not something I've ever used or needed to switch on.
    Weird it was on after the update though!

Maybe you are looking for

  • Help with Server Structure and File Identification / Test vs Remote vs Local

    I inherited a website at a new job.  I have 0 experience with building websites, let alone DW and have only been through the beginning tutorial.  I feel I am ready to make my first edits to the website.  We have two servers, test and remote.  I have

  • Sort by artists name

    maybe one of us can help me. I using Itunes 7.6 and wanna, that in the name of artist: first Figures second Letters, starting "A" how can do this, prefer step-by-step

  • Video entro to dvd menu

    I love dvdsp and am a noob. i was wanting to creat an entro to a menu that where there is no blip of time between the intro video and the menu what is the best way to do that?   Mac OS X (10.4.5)  

  • Smartforms in different language conflict

    hi i created a form in original language English, now i have to translate it in French tha thing is when i run the program there is  a difference in the window display in English and French, in English two lines were displayed in the first page, whil

  • Script : How to add a progress bar to XMP Writing script ?

    Hi ! I have this script that works flawlessly but when i execute it on big video files ( > 1GB) bridge doesn't repaint and it looks like it's stuck. I would like to have a progress bar showing % remaining on the task and the name of the file being tr