Click here to Skip to main content
15,889,335 members
Home / Discussions / Java
   

Java

 
QuestionFill And Post Method to Web page Pin
darkimmortalbora11-Mar-10 9:34
darkimmortalbora11-Mar-10 9:34 
QuestionSide scroller Pin
alexwilliams211-Mar-10 8:55
alexwilliams211-Mar-10 8:55 
Questionclear screen in java?? [modified] Pin
AmbiguousName11-Mar-10 8:05
AmbiguousName11-Mar-10 8:05 
AnswerRe: clear screen in java?? Pin
Richard MacCutchan13-Mar-10 0:23
mveRichard MacCutchan13-Mar-10 0:23 
GeneralRe: clear screen in java?? Pin
AmbiguousName13-Mar-10 1:29
AmbiguousName13-Mar-10 1:29 
GeneralRe: clear screen in java?? Pin
Richard MacCutchan13-Mar-10 10:02
mveRichard MacCutchan13-Mar-10 10:02 
QuestionProb in MultiTextures Pin
002comp11-Mar-10 0:05
002comp11-Mar-10 0:05 
QuestionAllow applet access to printer - once and for all Pin
Klazen10-Mar-10 11:19
Klazen10-Mar-10 11:19 
Hey all,

I'm having trouble getting an applet to use the printer. Every time, it pops a message stating "The applet has requested access to the printer. Do you want to allow this action?" I check yes to an option underneath stating to always allow access, however, it seems that there is a lack of communication going on here, because the same message pops up next time. I've read that this can be fixed by adding this line to the java policy security file (java.policy):

permission java.lang.RuntimePermission "queuePrintJob";

But that solution doesn't work well for me, because I can't have everyone that uses my applet change their security files to avoid the annoying popup. The applet is signed, however, it's print method is being called directly from javascript and so I think there may be a bit of security tightening going on there causing the problem. Is there a checkbox or a setting somewhere I can have my users set, or is there something I can do on my end?
AnswerRe: Allow applet access to printer - once and for all Pin
Richard MacCutchan11-Mar-10 1:46
mveRichard MacCutchan11-Mar-10 1:46 
GeneralRe: Allow applet access to printer - once and for all Pin
Klazen12-Mar-10 13:29
Klazen12-Mar-10 13:29 
GeneralRe: Allow applet access to printer - once and for all Pin
Richard MacCutchan12-Mar-10 21:53
mveRichard MacCutchan12-Mar-10 21:53 
QuestionRe: Allow applet access to printer - once and for all Pin
RB Chowdary23-Feb-11 19:51
RB Chowdary23-Feb-11 19:51 
AnswerRe: Allow applet access to printer - once and for all Pin
Andrew Thommo23-Feb-11 23:24
Andrew Thommo23-Feb-11 23:24 
GeneralRe: Allow applet access to printer - once and for all Pin
Marc Schabb4-Jan-12 7:14
Marc Schabb4-Jan-12 7:14 
Questionprevent multiple instances of same server over the network Pin
A-MEN10-Mar-10 6:40
A-MEN10-Mar-10 6:40 
AnswerCross-post Pin
Kristian Sixhøj10-Mar-10 7:01
Kristian Sixhøj10-Mar-10 7:01 
Questionprintf() help?? Pin
AmbiguousName9-Mar-10 7:49
AmbiguousName9-Mar-10 7:49 
AnswerRe: printf() help?? Pin
Richard MacCutchan9-Mar-10 9:02
mveRichard MacCutchan9-Mar-10 9:02 
AnswerRe: printf() help?? Pin
fuzzix12-Mar-10 7:31
fuzzix12-Mar-10 7:31 
GeneralRe: printf() help?? [modified] Pin
AmbiguousName12-Mar-10 20:20
AmbiguousName12-Mar-10 20:20 
GeneralRe: printf() help?? Pin
Richard MacCutchan12-Mar-10 22:18
mveRichard MacCutchan12-Mar-10 22:18 
GeneralRe: printf() help?? Pin
AmbiguousName12-Mar-10 22:35
AmbiguousName12-Mar-10 22:35 
GeneralRe: printf() help?? Pin
Richard MacCutchan13-Mar-10 0:10
mveRichard MacCutchan13-Mar-10 0:10 
QuestionHow do i catch the exception when it throws OutOfMemory Exception? Pin
Ram Bonala9-Mar-10 0:23
Ram Bonala9-Mar-10 0:23 
AnswerRe: How do i catch the exception when it throws OutOfMemory Exception? Pin
KarstenK9-Mar-10 1:11
mveKarstenK9-Mar-10 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.