Questions tagged as 'java'

0
answers

Vraptor (Method with URL connection)

Good afternoon, I'm trying to run a code on Vraptor, which when running my route, I need the system to trigger a connection using a URL to a page and return the body. This is a method of my controller public void exe(){ try{...
asked by 12.08.2016 / 19:50
1
answer

android: layout_height="fill_parent" of ViewPager does not work

I have a ViewPage that does not work android:layout_height="fill_parent" , it does not show anything on the screen, but if I determine a value ex: android:layout_height="500dp" the height determines. .xml <RelativeLay...
asked by 20.08.2016 / 23:17
0
answers

How to match a value of an array with another value in another array in Java?

I know how to get the value of an array position and compare the array values. As per the code below. for (int i = 0; i < listadosWifi.size(); i++) { /* pega o SSID e o BSSID */ providerName = "\n"+(listadosWifi.get(i).SSID)...
asked by 15.09.2016 / 14:17
1
answer

Error Waiting for table level lock MySQL Java application

I have a Java swing application that uses the MySQL database, in its operation after some time spent in operation I noticed that the application crashed in some moments, it is necessary to restart the computer to be able to perform the process a...
asked by 15.09.2016 / 12:55
2
answers

Get number of entries inside JOptionPane

Hello, I'm having trouble getting the number of entries that the user makes and then using them. Code: public static void main(String[] args) { // TODO code application logic here int n, s = 0, p, i, c, m; do { n = Integer...
asked by 16.09.2016 / 02:36
0
answers

Answering a freeswitch call

I'm using uuid_answer , <uuid> , to answer the call but to no avail. Does anyone know another way to answer a call in freeswitch ?     
asked by 18.08.2016 / 16:08
0
answers

Identify user by login

Hello everyone. I am developing a system that works with user registration and I have the following problem: in the system there will be 3 types of users: Administrator, Normal and Temporary. Depending on the type of user, the areas that he w...
asked by 18.08.2016 / 06:15
0
answers

How to fix accent problems in Strings in JTextPane?

I have a Java application, I did it in NetBeans. The problem is when there are strings with accents. When I run NetBeans, it shows everything perfect (the string with accents correctly), but when I create the JAR and execute it, the strings are...
asked by 24.08.2016 / 16:44
1
answer

How do I get multiple JSON Arrays in a JSON Array with Rest Template?

Hello, I'm having to collect information from several JSON's Array inside a JSON Array, which follows below, with Rest Template: { "dataset":{ "id":10051093, "dataset_code":"SN2017", "database_code":"CME", "name":...
asked by 08.08.2016 / 15:36
1
answer

Open external application within the application

I'm developing an application that does Arduino command. So far everything is fine, but in the project the user will have access to the external camera via IP, but I have no idea how I do it. Camera Model: IP Camera P2P IP: NIP-28869...
asked by 10.09.2016 / 23:54