Questions tagged as 'netbeans'

1
answer

What does "Apply rename on Comments" mean when you rename a class in Java?

I am modifying the name of a class, it throws a "Can not Find Symbol" when I execute the project, if someone will explain if there is any difference between having the selected checkBox and not having it when modifying the name of the class and...
asked by 09.11.2016 / 16:52
1
answer

Is there an equivalent to cin.clear () and cin.ignore () in Java?

I have a method that helps me to validate variables int , but when I pass them from C ++ to Java the ignore and clear methods do not work for me. Is there any equivalent to those functions in Java ? int ValidaInt(){...
asked by 14.05.2017 / 02:23
1
answer

problem with Jframe netbeans POO events

I am working with events in Java Swing and it happens that in a JFrame I have uploads of three images. What I need is to know how I do so that when I press an image when I run the program it moves vertically and I can stop it with another click...
asked by 10.04.2017 / 20:56
1
answer

NETBEANS DEPRESSING ERROR: Unrecognized or ambiguous flag word: \ "? \"

I have NetBeans IDE 8.2 installed next to the Cygwin package in Windows 8.1. I have already tried to reinstall the program but it is not solved. I program in C. When I start the program everything works correctly, the programs compile and...
asked by 21.11.2016 / 21:41
1
answer

Access a method of a subclass from an arraylist?

I'm doing a pretty simple program to learn some things from java and I have the following super class: public abstract class Persona { //Atributos protected String nombre; protected String apellido; protected int edad; /...
asked by 01.02.2018 / 18:46
1
answer

Clip Class when playing a .wav does not play sound

When playing a .wav file, sounds are not played, but in netbeans if: This is my code: public Clip clip; public void ponerMusica(String musica) { try { clip = AudioSystem.getClip(); clip.open(AudioSystem.getAudioInputStr...
asked by 26.11.2018 / 19:39
1
answer

How to show zeros to the left of a binary number in java?

I am trying to convert a hexadecimal number into binary and count the positions where the 1 are, but at the time of doing so, it does not show the 0 on the left side, so the position is affected. For example, I have the hexadecimal number 28...
asked by 26.07.2017 / 05:39
3
answers

Very detailed purification

I have a practice in which I clean the program for better understanding. In my other (this) OS I installed Netbeans 8.2. When debugging you are NOT supposed to debug everything in depth, but when you get to this part: System.out.println(...
asked by 16.12.2016 / 04:29
1
answer

JButton with round edges

My question at this time is whether there is any method or class predefined in java to be able to create a button with round edges.     
asked by 22.04.2017 / 03:24
2
answers

How can I save the numbers of a notebook in an array in java and then order those numbers [duplicated]

package vista; import core.core; /** * * @author geovanny9596 */ public class vista { public static void main(String[] args) { //leer un TXT core c = new core(); String s1 = c.leerTxt("C:\Users\geovanny9596\Do...
asked by 24.09.2018 / 05:06