Questions tagged as 'netbeans'

1
answer

Is it possible to make a case switch by entering a value of type char?

public static void main(String[] args) { World hoja = new World(); Turtle tortu = new Turtle(hoja); Scanner lector = new Scanner(System.in); String opcion = ""; char opc; do{...
asked by 04.04.2018 / 07:55
1
answer

I can not solve a problem with an if

I'm doing a game in which you have to calculate the time in seconds that is requested by keyboard, and when that time exceeds the end of the game. But when it goes through that if , it does not calculate time or it's infinite or it just le...
asked by 24.01.2018 / 20:40
1
answer

optimize reading and inserting records from a .txt to sql in Java

good morning companions I have a code that is responsible for processing a .txt file and inserting it into a SQL database; all this in java using netbeans my code is as follows: String line = null; int exito=0; int numeroBatch=0; int...
asked by 23.01.2018 / 17:29
1
answer

How to resize an image in a JPanel?

Good morning friends, is my first question on this website, I would like you to help me a little with this code ... This is the code I am using, it returns the image with the initial dimensions of the jpanel; what I want is that by maximizing...
asked by 11.11.2017 / 18:10
1
answer

Web services c # + java

I am trying to use a web service created in c # from visual java. I'm trying to use them, but I get the following error:    incompatible when trying to convert from int to string type private void jButton1ActionPerformed(java.awt.event.Act...
asked by 29.11.2017 / 05:26
1
answer

does package does not exist?

Hi, I have this problem importing some things, I'm trying to use hibernate, but I see these errors. and these are the libraries that I'm using, I need to add libraries or where I can get them. Looking at other similar questions I saw th...
asked by 26.11.2017 / 03:47
1
answer

How do I debug PHP file in netbeans

I have been trying to configure the xdebug of the php.ini but it turns out that in that file nothing comes from xdebug, I see tutorial and in all it puts that word and in my configuration file I can not find it. How can I solve that? Thanks    ...
asked by 05.10.2017 / 00:40
1
answer

Problem when uninstalling Netbeans 8.2 in Windows 10

Well I'm trying to uninstall netbeans 8.2 because I was not running the IDE anymore so I can do a clean installation. But at the moment of running the uninstall wizard it gives me a message about the component "nb-base /8.2.0.0.201610071157" whi...
asked by 26.12.2017 / 10:17
1
answer

each letter is in lower case and uppercase successively

String frase = "Que todo fluja y que nada influya"; int largo = 0; largo = frase.length(); for (int i = 1; i <= largo; i++) { if (i % largo == 0) { System.out.print(i.ToUpperCase()); } else { System.out.print(i.ToLowerCase()); }...
asked by 15.09.2017 / 01:38
1
answer

Problem NaN error or infinity error

Hi, I have a problem with a textfield when I try to show the result of a calculation. I tried converting it to String and everything but it says NaN error or infinity error. I better show you some images to help me. the first image shows the jfr...
asked by 27.09.2017 / 21:33