Skip to main content

All Questions

Tagged with
1 vote
0 answers
67 views

Javafx button not enable

I have a simple javafx program interface that contains a table for entering student data. There are 3 buttons for adding, updating, and deleting, but I made the buttons disable. There is an activate ...
Dani Alber's user avatar
0 votes
0 answers
30 views

Android Java PTT Button on CAT42 H+

I would like to assign the PTT button in a Java app on a Caterpillar CAT 42 H+. Does anyone know of an event/listener that makes this possible. I have not found any solution for the CAT42 H+. I found ...
Alexander Alekow's user avatar
-2 votes
1 answer
29 views

Apply general settings on multiple image buttons Android Studio

enter image description here I wanna make multiple buttons organized in a horizontal linear layout, but every buttons have common fields such as android:layout_marginStart="10dp", android:...
Abdelkarim Moumni's user avatar
0 votes
1 answer
30 views

Why are the borders not showing on the buttons?

I am building an app in Android Studio and I am trying to put a border around my buttons. Specifically here is a button I am trying to add it to: <Button android:id="@+id/...
DCorn's user avatar
  • 17
0 votes
1 answer
85 views

How to use JOptionPane?

I'm learning Java and in one of my exercise I have to do a logging frame which displays warning after push cancel button, before typing id or password. import javax.swing.JOptionPane; public class ...
Emil Piękoś's user avatar
0 votes
1 answer
43 views

How to connect Button in activity main...java, android studio

I created Live Streaming application by using ZegoCloud. Everything is working but now I want to replace buttons, in video example was Name,id, and then you click go live and Live stream starting. How ...
Bella Sp's user avatar
1 vote
1 answer
68 views

javafx pane white artifact when rendering text and rounded rect [duplicate]

Javafx creating white artifacts appear at the site of the rounding rect I want to create this rect with rounded corners, but for some reason when I try to add a button white artifacts appear when ...
Андрей's user avatar
-4 votes
2 answers
191 views

How can I display an exit button that closes a JavaFX program?

I've been trying to add a button to this one program in java that says "Quit" and then closes the program. The program that was given makes and shows an image of a rocket, so I can't use an ...
Sayori's user avatar
  • 3
0 votes
0 answers
75 views

HTMLUnit button.click() doesn't return a new HtmlPage object

I am and HTMLUnit newbie and am trying to scrape this website for DATACENTER. I am able to get to the first page and scrape the necessary information. Within the page there is an array of buttons ...
thedigginman's user avatar
0 votes
1 answer
60 views

JavaFX Scenebuilder Buttons aren't being involked correctly

JavaFX buttons aren't being passed on from my Scenebuilder program, and it's causing my code to think they're null. To be more exact: "Cannot invoke "javafx.scene.control.Button.setOnAction(...
moemoe's user avatar
  • 1
3 votes
1 answer
67 views

White space under buttons in JavafX

Is there any way to remove this white space that appears under a Button when it is not in focus? This button has had its appearance changed with the use of JavaFX CSS however unfocused Buttons seem to ...
Danny600946's user avatar
0 votes
0 answers
46 views

My buttons keep getting hidden unless I click on them

My buttons keep disappearing every time my code creates a new screen. I believe it might be due to the buffered image that I am creating, but I am not sure. So far, I have tried removing that section ...
Aadi Choudhary's user avatar
0 votes
1 answer
88 views

How to add buy book button to every row in a table and print the book in area?

The code that I have bellow prints the book from the row that I press buyButton. But I want to change that. Every time I press the buyButton I need the book to apear in the "Your cart:" Area ...
ruscanca's user avatar
0 votes
0 answers
56 views

How can I change the button pressing animation in Java Swing?

I am making a Java Swing program, and created a special class for creating a customized button with rounded corners and a drop shadow. However, when I click it, it just uses its default animation, ...
mgcv's user avatar
  • 53
0 votes
0 answers
106 views

control physical scan button in PDA

Is it possible to configure the physical scan button of a Android PDA Handheld Terminal and set as a default behavior when every time I scan a QR code after processing the information scanned with ...
jav's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
228