Questions tagged as 'java'

4
answers

Select and drag component Swing

I made an application that draws rectangles, points, lines, etc. I wanted that when the user clicks the mouse over a drawn polygon, you select the polygon and drag it to wherever you want on the screen, How to achieve that goal?     
asked by 29.01.2014 / 13:23
1
answer

Pass updated information from subreport to parent report

I am making a report that contains all service providers, and has the following hierarchy: City - > Specialty - > Provider. In ireport stayed the main report containing a city subreport, within the city subreport has a subreport of spec...
asked by 11.02.2014 / 12:45
2
answers

Access child node in Firebase

I have 2 users. User twelve and user thirteen. Each user created a project, as you can see in the image. How do I get user Twelve to only access the projects he has created, and thirteen only the projects he created? In the images you c...
asked by 03.01.2019 / 22:10
0
answers

Dynamic Fragment [closed]

I have the following problem when the screen is changed to 3 tabs and then back to 2 tabs these two tabs go blank without content could someone help me? The code is not displaying any errors, when I return to the main activity the logcat history...
asked by 02.01.2019 / 01:49
1
answer

How do I handle the JOptionPane.showMessageDialog () options?

How do I handle user choices in JOptionPane.showMessageDialog() ? For example, when the user chooses ok the program continues normally, if he chooses cancel the program executes another line of code.     
asked by 07.05.2014 / 16:59
1
answer

How to open link contained in Javadoc by Eclipse?

How can I open a file in Eclipse from a link contained in a Javadoc excerpt? In case this file would be an XML.     
asked by 05.05.2014 / 23:29
1
answer

Problem importing new libraries to Java

I'm trying to create an application that can interact with a MIDI device, so I'm using the JMusic library, but after putting the .jar file in my Workspace and adding it to the project, the packages from that library do not seem to exist , if I h...
asked by 23.05.2014 / 03:10
2
answers

Rookie error with OnClickListener

I'm starting now in development for android. I'm trying to implement an onclicklistener on a button and it does not work at all, I've already followed step by step the video lessons from here, from youtube, and always from the error when compili...
asked by 24.05.2014 / 03:26
0
answers

Doubt Apache POI

How many drop-down lists does apache poi / excel 2016 support? I ask this, because I am working with a code that dynamically generates a spreadsheet with several dynamic lists, depending on the amount of data that is selected to be exported,...
asked by 13.12.2018 / 18:19
1
answer

Receiving object by parameter

I'm using Spring MVC and I use some mappings to receive an object for example and access that specific object in controller . For example: @GetMapping("/pessoa/{idPessoa}") public ModelAndView editaPessoa(@PathVariable("idPesso...
asked by 13.12.2018 / 20:06