Skip to content
Advertisement

Tag: netbeans

How do you transfer a variable that is within a private method ActionPerformed to another method in Java?

I created a graphical interface in a small program in Java. When you create the fields in the graphical interface, you have automatically created the actionPerformed(java.awt.event.ActionEvent evt) methods, which are automatically private methods. I created a JTextField to receive what the user types. Then I created a string variable, such as: String inputfieldinstring = inputtext.gettext().Tostring(); Then I turned into an

Exception in thread “AWT-EventQueue-0” java.lang.RuntimeException: Uncompilable code – package org.netbeans.lib.awtextra does not exist [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 1 year ago. Improve this question

input arabic characters with scanner in maven project

i work on netbeans 8.2 and i create a java maven project, i want just take an input with arabic characters and display it and that don’t work properly : NOTES: i have already change netbeans configuration (/etc/netbeans.conf) to accept UTF-8 encoding but i have this probleme just with MAVEN projects. Answer Try to run code in other environment. May

How to Insert Data To Array

I want to save a “AromaNorm” into NormalisasiT1 array, but i had a error : AWT-EventQueue-0 java.lang.NullPointerException Can you help me? Here the Code Answer you should initialize the array the array is null so it throws NPE.

Advertisement