Questions tagged as 'netbeans'

2
answers

Why does NetBeans not recognize getApplicationContext ()?

something very strange that happens to me, is that I try to put getApplicationContext () and it tells me that    "can not find symbol" I do the corresponding import and does not give an error import android.content.ContextWrapper; Fo...
asked by 03.02.2018 / 23:00
2
answers

Using String

import java.util.Scanner; public class String { public static void main(String[] args) { Scanner sc = new Scanner (System.in); String cadena; System.out.println("Introcuce un nombre"); cadena = sc.n...
asked by 08.10.2016 / 10:30
4
answers

Doubts about J2EE [closed]

I am learning to work on the J2EE platform, and a series of questions have arisen, I would like a less technical response than in the documentation Oracle offers. As a development environment selection I am using NetBeans , for its man...
asked by 02.11.2016 / 13:44
1
answer

No dependent module org.netbeans.api.templates

I am contributing with a NetBeans module that I found on GitHub, I updated the changes and when trying to run I get the following message: Scanning for modules in C:\Program Files\NetBeans 8.0.2\nb Scanning for modules in C:\Program Files\NetB...
asked by 06.12.2015 / 01:09
4
answers

Problem with NetBeans, it does not let me create or open projects

I have even been using NetBeans (version 8.2) to program in Java because I like this IDE but I do not know why it does not work correctly anymore, I click to create a new file or project and nothing opens and when I try to open a project I lets...
asked by 08.11.2017 / 20:14
2
answers

How do I avoid the line breaks when I enter a number?

When I choose any option, it asks me to enter a number, but that's when that number goes down and does not follow. For example: Introduzca un numero: '1 I want that number to appear there and what happens is: Introduzca un numero: (no lo...
asked by 07.12.2016 / 00:53
1
answer

change asterisks by points in jpasswordfield java

The issue is that I do not want them to come out I want it to come out like that, with points How do I do it? use netbeans     
asked by 28.02.2018 / 03:52
2
answers

Create database and tables from java

I am developing a SaaS and I am in the database part, what I want to do is create a database in postgresql for each client that registers but I do not know how to create them from java since the code that I have is the next: CREATE DATABASE "I...
asked by 20.12.2016 / 16:27
2
answers

SQL query to check free rooms with PreparedStatement in Java

I have this query that I pass it to @raintrooper, in this other query that I did How to check if a room is available? : declare @Vfechaentrada date, @Vfechasalida date declare @reservaciones table ( habitacion int, fechaentrada date, fechasa...
asked by 13.12.2017 / 11:28
1
answer

Increased memory usage of my program in JAVA SE

I have created a simple program in JAVA SE with NETBEANS where I have 3 buttons and every time I press a button I send information to my database, at all times I have the connection open and every time I press the button //Creo la conexión st...
asked by 27.03.2017 / 11:49