Questions tagged as 'java'

1
answer

ERROR WHEN IMPORT PACKAGES

When I try to compile the main class (CraftMania.java) from the cmd it tells me that it can not import the project packages (it does not find them): link I know it has something to do with the classpath but I do not know what to do. I need he...
asked by 21.08.2018 / 22:47
1
answer

How to obtain data from a checkbox?

How you can obtain data by selecting a checkbox, as shown in the image: When entering a salary, I get its value from the field and when I select "AFP" I can multiply the value obtained from salary with 0.10 which is the value of the AFP, i...
asked by 20.08.2018 / 20:39
1
answer

Android studio EditorLayout problems

the views of my interface are not shown in the android editorLayout help, thanks ] 1     
asked by 23.08.2018 / 05:13
0
answers

Ajax does not call Spring Boot driver

Hi, I have trouble calling a controller using ajax, what I want to do is go to another page using ajax. function validar(){ var codigo= $('#codigo').val(); $.ajax({ type : "GET",...
asked by 22.08.2018 / 18:43
0
answers

How to fix the first row in a TableLayout

I am working on Android Studio with TableLayout, I am showing data and I would like the head (name of the columns) to be fixed in such a way that when I do Scroll horizontally everything moves but when I do a vertical Scroll, just move the data,...
asked by 29.08.2018 / 23:43
0
answers

excel sheet printing with poi and netbeans

I have a question I'm doing a project with poi and java everything comes out perfectly but they ask me to print the excel sheet listed as well as modify the print to make it look bigger letters, can this be done inside the code ?     
asked by 23.08.2018 / 21:36
1
answer

layout_columnSpan of GridLayout with code

I have an app with a GridLayout with several rows and columns and I want the columns and rows to be combined with each other (they expand) depending on a certain entry, meaning that this change was made through code: I want the rows to...
asked by 23.08.2018 / 21:35
2
answers

Problem not having an image in Firebase Storage

I have an app where companies can register and have the option to upload an image of their company to show in the profile, the problem is that if they do not upload the image to the Storage, when I perform an action in the Activity I jump the fo...
asked by 23.08.2018 / 20:38
1
answer

Constructor threw exception; nested exception is java.lang.NullPointerException

I am trying to connect to my DB by MySQL pe I get that error of Constructor threw exception; nested exception is java.lang.NullPointerException and do not access any parameter: jdbc.driverClassName = com.mysql.jdbc.D...
asked by 20.08.2018 / 16:09
0
answers

keep data from a recycler view when exiting and reopening the shared preferences app

Hello, how are your colleagues? My question is how do I keep the session and the data of a recycler view within an activity? I have tried with sharedprefrences and it brings me the data that I store, but not the necessary data for the recycler v...
asked by 20.08.2018 / 15:41