Questions tagged as 'java'

1
answer

How do I include a field in the PrimeFaces dataExporter that does not exist in the dataTable?

How to include a field in the dataTable of the dataTable (Primefaces) that is not in the dataTable? I am generating an Excel file from a dataTable with dataExporter, but I need to include a column that does not exist in the dataTable. This...
asked by 07.10.2015 / 19:10
2
answers

Jcombobox within a JOptionPane

Good morning, I have a list of some reasons private List<Motivo> motivos; I need to populate a jComboBox with this list and get the selected option. Currently I have done with MessageDialog where I can fill normally but I can not...
asked by 18.07.2016 / 15:03
1
answer

Web page optimization with Java [closed]

What should I look for to optimize performace on the front end, to do css, js etc minimization. keep the head and only change the body? Using Java and Spring MVC, or, with Play and Sparks for example.     
asked by 19.07.2016 / 19:42
1
answer

List returns only the last element

Hey guys, after a lot of work I got several xml tags to play in an Excel report. But when I populate the list with my object and step into the report only the last element is listed. I already made some System.out.println to show the elem...
asked by 06.05.2015 / 16:09
2
answers

Create Xpath manually

I'm testing a website that runs exclusively on Internet Explorer, so I can not use Firebug, does anyone know how I can create an Xpath for an element manually, or do you know of some tool for IE that identifies this Xpath, similar to Firebug (IE...
asked by 14.05.2015 / 19:07
1
answer

How do I assign click effects to an ImageButton? [closed]

For example, I added to my xml layout an ImageButton, I put an image and left it with transparent background, for doing so it lost the characteristics of a button, how do I add click effect?     
asked by 07.06.2015 / 17:54
1
answer

Adding a masking mask to the chart label in JasperReport

I have chart of rows and on the X axis it displays a series of dates. What I want to do is display date in the following pattern: dd/MM/yyyy because it is displayed in the format: yyyy-MM-dd . Submissions?     
asked by 15.07.2015 / 20:56
2
answers

In java, how do you make only one JFrame window close when you click on x, instead of all?

I'm doing a Java program with multiple windows JFrame , and I wanted it to, when I pressed the x of one of the windows, it only closed, instead of all of them.     
asked by 28.06.2015 / 03:07
2
answers

Working with Converted Dates

Greetings to all, I have the following algorithm; import org.joda.time.DateTime; import org.joda.time.Days; public class DataDirenciada { public static void main(String[] args) { DateTime entrada = new DateTime(2015, 1,...
asked by 14.07.2015 / 16:37
1
answer

How to implement a client for a webservice

I'd like to know what to do to implement a client for a webservice in Eclipse as a Dynamic Web Project . I can not generate a client, so I have to start from scratch.     
asked by 16.07.2015 / 02:24