| Computing desk | ||
|---|---|---|
| < July 20 | << Jun | July | Aug >> | July 22 > |
| Welcome to the Wikipedia Computing Reference Desk Archives |
|---|
| The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
I am trying to reduce flicker in a java applet, by using a double buffering method mentioned here.
I have a slightly different set up, of course, so i did the following:
In the main method i have class members
at the bottom of the init() method i do these
on the last line here where i say bufferG = buffer.getGraphics, i get a null pointer exception, why? The example on that website clearly has no issues like this! 172.162.132.72 (talk) 05:58, 21 July 2012 (UTC)
I may have already found a solution to this. I have not modified your wrapper, rather i moved the above definitions to the update() function of the applet. The basic definition does not throw null pointer now, so i am working on migrating my graphics back to the buffer and writing code to refresh the original graphics object. I'll let you know how i come along.
PS: I agree with you. I was made aware of the return value being null and we did concede that the call was being made too early. :)
172.129.34.113 (talk) 12:18, 21 July 2012 (UTC)
It seems that this may be something that requires code sharing. I tried the fix my friend suggested and it "worked" but still flickered. I prefer, if possible, to share my source privately. Is there any way i can grab some sort of contact detail from you, Finlay?
172.129.34.113 (talk) 12:56, 21 July 2012 (UTC)
I want to recycle my old smartphone, but I am concerned someone could recover personal information from it. Please tell me if these steps are adequate:
ike9898 (talk) 12:03, 21 July 2012 (UTC)
I'm setting up a blog, and struggling with the really nice intuitive interface, because I'm no good at these things. I thought I set it up so anyone could comment, even if not logged in. But when I log out and then try to comment on a post, it seems to require a login of some kind, whether Google or Open ID or a number of others. But no guest option. Can you give me a lead? I may be back for more help soon if that's all right. Itsmejudith (talk) 18:42, 21 July 2012 (UTC)
Does the JVM work by input of Java code and output of machine code? Or is there any additional layer there? Do other interpreted languages (Perl, Python, javascript) also work like that? Why would you need an additional layer of abstraction? OsmanRF34 (talk) 19:46, 21 July 2012 (UTC)
In Windows 7 (Enterprise), in the GUI windows explorer one of the folders always shows as "My Documents". In the command shell, that folder (DIR), shows as "Documents". Is there any way to change the GUI so that it shows that folder as "Documents" and not "My Documents"? RudolfRed (talk) 22:27, 21 July 2012 (UTC)
I can not find the option anywhere ;-(
How can I limit the taskbar to show just one button for each open InternetExplorer9 window? (Instead of one for each TAB from IE as it is currently showing)
--89.9.192.43 (talk) 22:50, 21 July 2012 (UTC)
92.233.64.26 (talk) 23:19, 21 July 2012 (UTC)