14 questions
Sorry for asking you so many questions.Currently, when a pair is not established, a message is displayed to enable JButton by pressing JButton to hide the card, but the following code is added to JBut...
We are currently developing on-site using a swing-based library.Press the search button (SearchBox), select an item, and return to the caller screen to set the selection value.(I'm sorry that it's har...
I'd like to set the label on the panel by coordinate designation in java swing, but I don't know.I would appreciate it if you could let me know the code as well.import java.awt.event.MouseAdapter;impo...
I'd like to do a screen transition by clicking on label 1 in the code below, click on panel 1 to panel 2, click on label 2 in panel 2, click on label 3 in panel 3, click on label 3 in panel 3, and use...
I'm making a simple game using swing, but I'm having trouble with the drawing process...I think I wrote the process of continuing to repaint components using parallel processing, but no matter how man...
Counting starts at the beginning of the game, stops after 10 seconds, and game over screen cannot be displayed.package luna.sexydesign;import javax.swing.*;import java.awt.*;import java.awt.event.*;cl...
If I add Botton5 to the code below, how do I add a history of what buttons I have pressed when I press Botton5?import javax.swing.*;import java.awt.event.*;import java.awt.BorderLayout;public class Sw...
I'm using JFrame to create a 2D game in Java, but when I start it, sometimes there is a mysterious gap between the right end and the bottom as shown in the picture.Tinkering with Layout didn't really ...
JTextField text=newJTextField(Initial Value; I got the string in the text field with getText and found that I got the Initial Value.However, if you remove the 値initial value 」 string in the text field...
When you press the arrow on your keyboard, you are creating a program where the displayed frame moves 10 times in that direction.The input of the keyboard is detected, but the frame does not move.How ...
- 1 - | » |
© 2024 OneMinuteCode. All rights reserved.