Questions tagged as 'jframe'

1
answer

How to remove the borders of a JFrame?

I'd like to remove the borders of a JFrame . I used setUndecorated(true) , however it completely removes and I would like to just leave the title bar of JFrame .     
asked by 29.07.2015 / 23:01
1
answer

How to generate JLabel or JTextField on mouse click?

I would like to know if there is a way to generate a JLabel or JTextField in the position where you click, in JPanel or JFrame . Is it possible?     
asked by 19.02.2014 / 17:51
2
answers

How do I run a video within JFrame?

I want to open a screen and it contains a type of player to run the video that is attached to the project!     
asked by 01.12.2014 / 03:38
1
answer

Enter Password to continue

Note: I do not speak Portuguese. This text was translated before it was posted and the translation was reviewed by other users. I'm using Netbeans 8.0.1. For days I've been looking for a solution to this. I've already tried JDialog...
asked by 30.11.2014 / 03:02
1
answer

How can I create a 20-number Banners look on the Jframe

It is a game where your bet will be competing for Sena, Quina and Quadra, so each bet can only have 6 numbers, I need the user to select 6 numbers out of these 20 and then I pick up the 6 selected ones and place his bet . But I just need this B...
asked by 03.12.2014 / 16:11
0
answers

Problem with focus setting of Ubuntu windows when using Java [closed]

I was doing a program where a circle is drawn on the screen and it moves around the screen, using the JFrame classes to create the window, a thread to control the circle that I enter on the screen. > The problem however is when I...
asked by 03.07.2014 / 14:00
1
answer

How to centralize the title of a JFrame?

I have a jFrame component and want to centralize the title of it, would it be possible?     
asked by 29.10.2016 / 23:15
1
answer

By icon in JFrame

Would it be possible for icons in the executable application via code?     
asked by 02.06.2017 / 22:47
1
answer

Jframe Paint Method Does Not Display Drawings on Screen

I have overloaded the paint method of Jframe and am using the Graphics2D class to try to draw the drawings, but nothing is being drawn on the screen, I could see with the debugger that the method runs constantly but the drawings do not...
asked by 18.05.2014 / 19:17
1
answer

Update a Jtable within a Jframe through another Jframe

I have a JFrame , where inside it has a JTable and a JButton (Change) that calls another JFrame. In this other JFrame, a change of data is performed according to the row selected in the table and saved in the DB when clicking...
asked by 24.07.2017 / 17:21