• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

accessdenied (java.lang.RuntimePermission accessClassInPackage.sun.swing)

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
getting this exception in java console when using

public static Object readObject(URL url)
throws IOException, ClassNotFoundException
{
ObjectInputStream objectinputstream = new ObjectInputStream(getConnection(url).getInputStream());
return objectinputstream.readObject();
}

All the suggessions are invited, Reply
ASAP
Thanks
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is cross-posting now a subject in school?

http://forums.sun.com/thread.jspa?threadID=5424238&tstart=0


> All the suggessions are invited, Reply ASAP

it would be censored
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Michael.

Praveen,
Please read http://faq.javaranch.com/java/BeForthrightWhenCrossPostingToOtherSites and http://faq.javaranch.com/java/EaseUp
 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this thread as it has nothing to do with Swing. It would be better suited on the Beginner forum
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this part of an applet? If so, read HowCanAnAppletReadFilesOnTheLocalFileSystem.
 
Parveen Kumar Jamdagni
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Still not getting rid from this.
any more suggestions
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it an applet? What, exactly, have you tried? TellTheDetails
 
Parveen Kumar Jamdagni
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
url is
http://Knowledge:8081/pkj/servlet/epmj.workflow.objectiveServlet?opcode=init&procno=13
I am getting some values when typed this on the url. some values are in unreadable format.

I am making a JApplet
in which I am adding userDefined JButton on the JPanel and this JPanel is previously added to the JComponent content.
Everything is going fine but the problem is arised when I am seeing it again the no Jbutton is visible and I am getting this error.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic