Questions tagged as 'java'

1
answer

fireTableDataChanged in AbstractTreeTableModel Swingx package

I am in doubt about how to do a reload on the objects of a JXTreeTable using a Model > AbstractTreeTableModel . AbstractTableModel of JTable normal has fireTableDataChanged , but how do I do this in...
asked by 14.09.2015 / 21:34
0
answers

Tomcat: What is the criteria for the "Thread" column to appear on the Probe Connectors page?

Hello, I would like to know what should be done so that the "Thread" column appears in the "Connectors" screen of the probe, this column usually appears in my Tomcat 6.0 + Probe 2.3.3 installation, but when using the same settings on another mach...
asked by 28.07.2015 / 21:25
1
answer

Eclipse Settings

At the time of installing the SDK by eclipse how do I add the library third party add-ons and Android repository I'm using the latest version of eclipse called eclipse mars!     
asked by 25.07.2015 / 02:12
0
answers

How to traffic real-time data with JAVA?

What is necessary to develop a Chat system, where two people receive the messages in real time, and how to establish a connection between the users' computers? The front-end is already developed, but the back-end where the connection should b...
asked by 27.07.2015 / 23:44
0
answers

Rectangle2D is not updating according to the X and Y of the mouse

Hello, I'm a beginner in Java, and I'm having problems with my code. My goal with it is that you can draw by just dragging the mouse. The measurements are disproportionate and I'm using a rectangle as a pen, but that's not the case because it's...
asked by 01.08.2015 / 22:26
0
answers

Could not find Factory: javax.faces.application.ApplicationFactory

This error message only appears when I close and eclipse, after opening eclipse again it generates this error in my project when I go up the page in TomCat, but before all this my project works normally without generating any error. Every tim...
asked by 02.08.2015 / 13:39
0
answers

How do I list images on an XHTML page

Greeting for all, This is the first time I'm implementing a list of images in an XHTML page, my project is a newsprint, and using the upload approach, recording the path of the image in the database and the images on the desktop, is running p...
asked by 02.08.2015 / 15:03
1
answer

Select dynamic query button submit and input

How to do a dynamic select in JSTL by a JSP? For example, I fill CNPJ in a input id="cnpj" and when I click the submit button it takes this value from input , plays SQL in the QUERY as a parameter and executes on the same page, retu...
asked by 25.08.2015 / 21:07
0
answers

Scalability with Java [closed]

I now hear a lot about how some languages are highly scalable. But what would a scalable system be in Java ? That is, a high-performance system capable of withstanding millions of simultaneous accesses. It's possible? Or it would be more f...
asked by 25.08.2015 / 20:31
1
answer

How to get screen density on Android via code?

I'm developing an application where images and layouts adapt to the logical density of the device. Is it possible to get screen dpi of the device through Java?     
asked by 25.08.2015 / 14:15