Posts by Denis Benjamim • 104 points
18 posts
-
0
votes1
answer43
viewsA: Add the result of a variable to another variable
Hello good night before anything else, in case you don’t know iReport is out of use, the staff has been using Jasper Reports for development, which is based on the eclipse much like iReport. That…
-
1
votes1
answer105
viewsA: Sub reports are on top of each other
Ola Voce needs to mark the position of the subreport below as flow, so that it can float freely without being over the first subreport
-
0
votes2
answers276
viewsA: Reports with Jasper Ports
It does not have to be with Beans, Jasper accepts several forms of connection, including via SQL directly in the report or by dynamic parameters if you need a Dynamic query
-
0
votes1
answer162
viewsA: Error passing Jasperreports subreport path
My dear fellow inside the parameter SUBREPORT_DIR set the following value : this.getClass().getClassLoader().getResource("").getFile() It will recover from the classLoader the root directory of your…
-
0
votes1
answer304
viewsA: Place columns only in the Detail field in Jasperstudio
Friend Voce must put the components only in the first column without moving to the columns that have red lines, in your image your components are exceeding the line. Remembering that the method for…
jasperanswered Denis Benjamim 104 -
1
votes1
answer140
viewsA: How to print only one sale with your products using jasperReport?
My dear, how are you informing the data to the report ? Javabeans ? Direct search in the Database ? how the data is being informed. Add this information if via SQL post the code with the query.…
-
1
votes1
answer513
viewsA: Access the current file path in . jrxml (Jasper Report)
i use the relative path that refers to my classpath within a parameter as can be seen below in my parameter $P{SUBREPORT_DIR} is a string type parameter that takes as default the following value:…
-
0
votes1
answer174
viewsA: How to place a letter on the right side of the page, showing the first letter of the last record?
Hello Voce can mark in the component the Evaluation time(Evaluation time) the component should display the data according to a selected time the default value is now(Now) but if you change…
-
1
votes1
answer137
viewsA: Read Arraylist that is serialized
Hello Voce has to assign to an object of the same type it was before serialize conforms to the bottom and use the method readObject(). I strongly recommend using Try-Resources to close your…
-
0
votes0
answers101
viewsQ: How to filter Column in Jtable with Calendar type data
I’m trying to filter dates using the Tablerowfilter, but it is not working properly even selecting in the filter the exact column and for example typing 24/11/2017 the filter after typing the first…
-
0
votes2
answers665
viewsA: Print image (relative path) Jasper Report
Hello friend I do as follows for Desktop Applications in Jar getClass().getClassLoader().getResourceAsStream("br/com/blogspot/denisbenjamim/iReport/Imagens/logotp.png")…
-
0
votes1
answer335
viewsA: Jtable Autosorter in columns
I got after a lot of research a way to disable the autosorter that happened when clicking on the columns of JTable just over-write the method isSortable of TableRowSorter to return false for all…
-
-1
votes1
answer335
viewsQ: Jtable Autosorter in columns
Personal I am a few years with a difficulty that even today I could not solve completely. By adding a TableRowSorter to a JTable automatically the columns can be ordered by clicking and with that I…
-
1
votes1
answer164
viewsA: Doubt Converter and CDI
I was able to solve my problem as follows knowing that I am using version 2.2.8-02 of jsf, I thought the solution in the convert using @Named would work but it didn’t work out so well, so I followed…
-
1
votes1
answer164
viewsQ: Doubt Converter and CDI
I’m a few hours testing and trying to understand why this code here isn’t working and I’m getting one NullPointerExcepetion . Someone can sense something wrong ? import…
-
0
votes1
answer146
viewsA: How to view data from a serialized Java file?
Hello Friend if Voce serialized the object and persisted it in a file or in a database in a array of bytes, the correct that in order for it to be visualized it needs to be deserialized. Below I…
-
0
votes1
answer271
viewsA: How can I show a value in a jTextField when selecting a Jcheckbox at runtime?
Just add an event to your checkbox, an actionPerformed is ideal, see the example below. JFrame frame = new JFrame("teste"); JPanel painel = new JPanel(new GridLayout(1, 2)); JTextField field = new…
-
1
votes2
answers351
viewsA: Joptionpane in the foreground
Hello correcting a little information of the colleague: JOptionPane.showMessageDialog(null, //Qualquer Componente nao so Frame "Usuário ou senha incorreto!", //mensagem para o usuario "Inane error",…