Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(onTime.isSelected()){
- String time1= onTimeTextfiled.getText();
- LocalTime localTime = LocalTime.parse(time1, DateTimeFormatter.ofPattern("HH:mm:ss"));
- LocalTime loc = LocalTime.now();
- if(localTime.compareTo(loc)==0){
- frame2.setSize(600,800);
- frame2.setVisible(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement