Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+32 votes

I am working on a pop-up window for the calibration so that the user can input their measured values after they click for their pixel values but I can't get my pop-ups to work. Any advice/insight?

asked in CSC285_Fall2018 by (100 points)

3 Answers

+25 votes
 
Best answer
answered by (100 points)
selected by
+12

Stonedahl showed me this today. It was super helpful to me

+20 votes

Our team has been using the swing class so we can have JOptionPanes and message dialogs. this will allow for the user to input values or select options on JButtons. See more options here

https://docs.oracle.com/javase/7/docs/api/javax/swing/package-summary.html

answered by (100 points)
+19 votes

I don't really know what the problem was, but I think the useful solution would be the Text Input Dialog in April's advice. However, don't forget to parseDouble the input, because it will return a String anyway.

answered by (100 points)
...