Questions tagged as 'java'

1
answer

Display elements of Jcombox to a Jtable

Best regards I have a jcombobox mat_codigo, mat_des, mat_preciovta I need to pass the values to a table as the description in column (1) and the price vta in the coulman (3) as it is in the image My code is the following:  public void Show...
asked by 23.12.2017 / 02:05
1
answer

how to put audio to a java program?

I have the following code to put audio to an application that I am developing, the problem is that it sends me the following error    Exception in thread "main" java.lang.NoClassDefFoundError:   org / apache / commons / logging / LogFactory a...
asked by 23.12.2017 / 00:54
1
answer

Test fongo error in com.fasterxml.jackson.databind.JsonMappingException

I'm trying to perform a test through phon but I get the error:    com.fasterxml.jackson.databind.JsonMappingException: Can not   deserialize instance of com.formacion.pem.userProyect.User out of   START_ARRAY token at [Source:   [{"id": 1, "c...
asked by 27.12.2017 / 15:34
2
answers

Custom CheckBox in a TableView

I want to customize a control CheckBox within a cell of TableView for which I use a file css external%. It does not just work. The code is as follows: import javafx.application.Application; import javafx.beans.property.SimpleBoo...
asked by 27.12.2017 / 16:26
0
answers

TextView Android dynamic width

I have the following VIEW, <LinearLayout android:id="@+id/activity_activation_step1" android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" android:background="@color/g...
asked by 27.12.2017 / 13:45
0
answers

error in getItemId () when creating a menu in the ActionBar

I have encountered a problem when creating a menu in the ActionBar, to see if you can help me. To create the menu I am following these tutorials: link and link I created the first part of the tutorial with menu_main.xml <?xml v...
asked by 20.12.2017 / 22:37
1
answer

Spring Boot + Jetty + TLS1.2 (HTTPS)

Good morning everyone, I have an application running on site with Spring Boot and Jetty. The problem comes when I try to add TLS1.2 to my project to support HTTPS. I work perfectly with http but now I want the services to be published in http...
asked by 21.12.2017 / 08:43
0
answers

Launch WAR on Tomcat 7 does not launch

I'm trying to launch a war via tomcat 7 and install the tomcat and all right, the problem is that when I start the server sends me the following message:    At least one JAR was scanned for TLDs yet not TLDs. Enable    debug logging for this...
asked by 20.12.2017 / 21:05
1
answer

Bring data from an SQLite to a TextView (TableRow Content)

Good! I have a database created from EditText, and that data I want to take to text views that are contained in TableRow, if you can help me complete it, it would help me a lot, thank you! Database: private String sql = "create table evento...
asked by 20.12.2017 / 01:34
1
answer

Pass Listview elements to a TextView

Good, in my code I have an adapter that contains elements of my database, which I want to insert in textviews of another activity (with ids), the problem is that NullPointException throws me, the original idea was to directly pass the data from...
asked by 20.12.2017 / 11:09