i am writing a code for a temperature class.Please what and how can i use to design the graphical user interface in java inorder for the user to be able to check temperature status and control the temperature?

public class LivingRoom {

     
    double  LRTemperature; 
    
    public LivingRoom()
    {
  
    }
 
public void setLRTemp(double t)
{

LRTemperature = t;

}


     public double checkTemperature()
  {
      return LRTemperature;
  }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.