Questions tagged as 'java'

1
answer

Problem listing data in JSP

I can not do the Data Listing. You are giving the "Error processing request", Servlet Path: /pages/dados.jsp Path Info: null Query String: null ... I do not know what it is. Grateful for any help. Note: I'm starting with the back end, my beach i...
asked by 19.05.2018 / 23:17
2
answers

How to pass an array of java object to AsyncTask? My problem is that when I use this looping in AsyncTask pq only comes first user [0]

ControlaBanco bd = new ControlaBanco(contexto); int indice = 0; indice = bd.contaUsuarios(); Usuario[ ] tabela = bd.organizaTabela(); String tabelaOrganizada = ""; if ( indice > 0 ) { for (in...
asked by 17.05.2018 / 03:47
1
answer

How to create a standard typing format on an Android Studio form?

Type: abc @ def Must have an (@) in the middle of the seven characters entered.     
asked by 27.01.2017 / 03:22
1
answer

JAX-RS Rename the Set

I created a project using JAX-RS to make a web service REST and it works, I can access the result in a resource and everything else but it looks like this: { "carroes": { "carro": [ { "@id": "1", "modelo": "Gol",...
asked by 04.01.2017 / 18:17
1
answer

Add scroll in window [closed]

I created a window that was Width 360 x Height 800. Only 800 tall can not be seen on the monitor. How do I add a scroll in the window?     
asked by 29.09.2016 / 19:56
1
answer

Exception when removing the last element from the ArrayList

My Problem: I have an ArrayList of an object that represents the number of rows in my JTable, of the model class. Well, all other methods are working, perfectly, the problem is remove () I have no idea why Exception is giving up the last elem...
asked by 01.10.2016 / 17:28
1
answer

JTable AutoSorter in columns

I'm a few years old with a problem that I still can not solve completely today. When I add a TableRowSorter to a JTable automatically the columns can be ordered by clicking and thus I have a problem getting the correct index, yes a...
asked by 09.11.2017 / 12:52
1
answer

Is it possible to create a Widget with several configuration screens?

I have a Widget that only has one configuration screen but I want to add one more how can I do this? I know the first screen that appears is an Activity I try to open with Intent normal but it does not work. I made this Intent : publ...
asked by 16.10.2017 / 14:57
1
answer

My app does not return the JSON data

I am making an app and in a part of it the user can update the login data, it is only he enter the screen that the data is loaded and filled, automatically. The problem is that this is not really happening! The data is not coming! I already did...
asked by 10.10.2017 / 19:34
1
answer

File location txt Android ndk / C ++

I made a c ++ code to create a file: Ialreadygavepermissioninthemanifesttoreadandwrite: My question is: Where does it save this file on my cell phone ???     
asked by 15.10.2017 / 18:31