Skip to main content

Posts

Showing posts with the label netbeans

Failed to allocate memory: 8

From today, when I tried to run an app in NetBeans on a 2.3.3 Android platform, it shows me that: Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. and the Emulator doesn't want to start. This is for the first time when I see it, and google has no asnwers for this, I tried even with 2 versions of NetBeans 6.9.1 and 7.0.1, still the same error. Source: Tips4all

JCharset not being recognized in browser

I am working on a simple email client using a Java applet. I am getting the exception "java.io.UnsupportedEncodingException: utf-7" when I open certain emails. I have added JCharset, and that fixes the issue when I run the applet in NetBeans' applet viewer, but when I run it in a browser I get the same exception. I have added the necessary file "java.nio.charset.spi.CharsetProvider" to META-INF/services, which is in my src directory. What else do I need to do to get it to recognize it when I run it in the browser?

Netbeans only has partial jQuery autocompletion

I just downloaded netbeans 7.1 (PHP) to develop javascript. Autocompletion is working across the javascript files in the project, and jQuery is supported - somewhat. If I type "$.is" I get the following options: Note the missing "isArray", "isNumeric", etc, etc... The javascript settings in Netbeans: Question: "What am I missing?"

Netbeans only has partial jQuery autocompletion

I just downloaded netbeans 7.1 (PHP) to develop javascript. Autocompletion is working across the javascript files in the project, and jQuery is supported - somewhat. If I type "$.is" I get the following options: Note the missing "isArray", "isNumeric", etc, etc... The javascript settings in Netbeans: Question: "What am I missing?"

I can call a no longer existing JS function but I can"t call new JS functions from my view

I have a problem regarding to a JavaScript function. I used to have a JS function located in a .js file which is also located in my project's NetBeans directory. I used to invoke that function from a view but later on I decided to change that function and add some new features to that function and call that new function from my view but it worked as in its past version and later on I changed that function's name which officialy means a function with the previous name was totally destroyed and this time I invoke my JS function from its new name and nothing worked. The funny thing is that, I again called that function with its previous name (again, it doesn't exists actually), it works as its past version although I have totally changed that function's name and officially a function with that name no longer exists in my file. What do you fellows think I should do? Yours ideas and helps are greatly appreciated...