1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Fantom [35]
3 years ago
11

Can anyone provide a good java program that shows how to implement a button?

Computers and Technology
2 answers:
horsena [70]3 years ago
7 0
No thanks, good luck though! <3
tia_tia [17]3 years ago
5 0

Answer:

Hello, this is Kyle Risso and I wrote a program for school not too long a go that can probably answer your question. This code creates two buttons that cycle through different colors.

Explanation:

The most important parts of the code are the ArrayList which implements the arrays for the different colors, but to answer your question the buttons are created using Action Listener as you'll see in the code. Hope this helps.

Download java
You might be interested in
Which of the following comments are correct? Select all that apply.
AnnZ [28]

Answer:

1/ hello

Explanation:

7 0
3 years ago
Why might you want to save a downloaded file to your computer first instead of running it immediately?
sukhopar [10]

Answer:

Explanation:

Run: Choose Run when you only need the download once. Perhaps it’s a song or video you only plan to listen to or watch once. Another scenario might be an installation program that, when run, installs software on your machine in other, permanent locations. Once installed, you probably don’t need the installer again.

Save: When you want to keep whatever it is you’ve downloaded, choose Save. You can still run it, or whatever else you’d like to do with it, but you’ll need to do that yourself. You’ll also want to decide where, on your computer, to keep the file.

<em>Save and run: Use this option when you want to do both: save the file to a location you control, and then immediately run it. </em>

<em />

8 0
3 years ago
The purpose of an interface is to:___________
Galina-37 [17]

Answer:

Purpose of the interface

Provides communication − One of the uses of the interface is to provide communication. Through interface you can specify how you want the methods and fields of a particular type.Jul

8 0
3 years ago
How to play music out of your apple watch?
Travka [436]
It does not work that way....I thought the same thing. The sound will always come out of your iPhone
6 0
4 years ago
If we assume the modern view of existential import, why is the following syllogism invalid? No computer is made of clay. All com
Papessa [141]

Answer:

<u>because the conclusion is not in agreement with the two premises.</u>

Explanation:

<em>Remember</em>, the term<u> syllogism</u> refers to the form of reasoning that draws its conclusion based on the stated premises. In other words, a conclusion is reached if it satisfies <em>all or part </em>of the premises.

In this case, the statement "No computer is made of clay" and  "All computers are electronic devices" should be inferred to mean, <em><u>No </u></em><em>electronic devices are made of clay" </em>not<em> </em><em>"Some electronic devices are not made of clay," </em>since the two premises neither suggest that electronic devices are made from clay.

5 0
3 years ago
Other questions:
  • What is required for sitting with your seatbelt on while driving?
    7·1 answer
  • Suppose we are comparing the implementations of insertion sort and merge sort on the same machine(You don’t need to know the alg
    13·1 answer
  • Methods that require you to use an object to call them are called ____ methods.1. accessor
    7·1 answer
  • Which of the following is true about driving on "bald" tires?
    5·1 answer
  • The function below takes one parameter: a list of strings (string_list). Complete the function to return a new list containing o
    13·1 answer
  • 5 negative impacts of digital life Explain
    9·1 answer
  • Qr code is more developed than barcode​
    11·1 answer
  • Choose all that apply.
    5·2 answers
  • Which branch of science helps avoid or minimize stress-related injuries at workplace?
    14·1 answer
  • What is the best way to improve an online search?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!