Questions
Design the following GUI by using swing components: Can you think of changing the Hi positions...

Design the following GUI by using swing components:

Can you think of changing the Hi positions in an horizontal line every two seconds? Write a program that will allow you to change the sentence position horizontally for every 2 seconds. That is, after another 2 seconds, the Hi position should be changed to the following:

This is JAVA please.

the program is the word HI that automatically scrolls accros the screen until the end and then comes back on the left the next line down. and keeps scrolling like that..

Hi

this question I will cancel because I dont need it now Thanks for your response. I will be posting the actual question in about 20 minutes

In: Computer Science

Marc and Michelle are married and earned salaries this year of $64,000 and $12,000, respectively. In...

Marc and Michelle are married and earned salaries this year of $64,000 and $12,000, respectively. In addition to their salaries, they received interest of $350 from municipal bonds and $500 from corporate bonds. Marc contributed $2,500 to an individual retirement account, and Marc paid alimony to a prior spouse in the amount of $1,500 (under a divorce decree effective June 1, 2005). Marc and Michelle have a 10-year-old son, Matthew, who lived with them throughout the entire year. Thus, Marc and Michelle are allowed to claim a $2,000 child tax credit for Matthew. Marc and Michelle paid $6,000 of expenditures that qualify as itemized deductions and they had a total of $3,500 in federal income taxes withheld from their paychecks during the year.

a. What is Marc and Michelle’s gross income?

b. What is Marc and Michelle’s adjusted gross income?

c. What is the total amount of Marc and Michelle’s deductions from AGI?

d. What is Marc and Michelle’s taxable income?

e. What is Marc and Michelle’s taxes payable or refund due for the year?

In: Accounting

What is ethical in one country may be unethical       or illegal in other countries – and vice...

What is ethical in one country may be unethical       or illegal in other countries – and vice versa. Nevertheless, ethical imperialism (absolute belief that “there is only one set of Ethics, and we have it!”) is alive and well.  You may be able to identify some values that seem to be almost universally accepted.  However, such is not the case with all values.  As a result, does a global company need to “pick sides” in ethical controversies and thus be an “ethical imperialist?” (10 marks; max 1000 words).

In: Operations Management

What are lesion vs. activation studies and what is the relationship of these two to the...

What are lesion vs. activation studies and what is the relationship of these two to the two principles of achieving localization?

Two tools for getting non-invasive pictures of lesions (CT and MRI) and the very basics of how they work Lesion studies – what are the advantages and disadvantages?

TMS – what does it do and what is it used for?

In: Psychology

What strategies do project managers use to assess, monitor, and communicate project risks to stakeholders? Please...

What strategies do project managers use to assess, monitor, and communicate project risks to stakeholders? Please provide references for backup.

In: Operations Management

1) How does the Bordeaux wine distribution system work? Who benefits and how? 2) How is...

1) How does the Bordeaux wine distribution system work? Who benefits and how?

2) How is price set? Trace the process from the sale of the first tranche to the sale of a bottle in a wine store for $1,200. Why is the process so complicated?

In: Operations Management

Q2: (10 marks) Starting at the equilibrium point called “A” of Demand for money curve (DM)...

Q2:

Starting at the equilibrium point called “A” of Demand for money curve (DM) and Supply of money (MS1). Now suppose Bank of Canada increases money supply to MS2, and the value of money and price level adjust to bring supply and demand for money into a new equilibrium point called “B”. EXPLAIN CAREFULLY THE ADJUSTMENT PROCESS OR WHY THE ECONOMY MOVES FROM point “A” to point “B”?     


In: Economics

Explain pathos Explain ethos Why should a speaker understand Maslow’s hierarchy of needs? Define the difference...

  1. Explain pathos
  2. Explain ethos
  3. Why should a speaker understand Maslow’s hierarchy of needs?
  4. Define the difference between a claim, evidence and warrant.
  5. If working in a group you are called upon to be the leader, what style would best suit you and why?
  6. What is the largest positive lesson you have learned from this course textbook?

In: Nursing

You are tasked with improving the relations between law enforcement and the communities they serve. Describe...

You are tasked with improving the relations between law enforcement and the communities they serve. Describe in detail steps you would take to make these improvements. Consider the perspectives of the community and law enforcement.

In: Psychology

******Please don't use handwriting and i need unique answer ... Thank you Q3: Consider the following...

******Please don't use handwriting and i need unique answer ... Thank you

Q3:

Consider the following relation:

Student-Dept = (Student-ID, Course, SportActivity, Dept-Name, Building)

Having following multivalued dependencies:

            F ={ Student-ID ®® Course

                   Student-ID ®® SportsActivity               

      Dept-Name ®® Building }

Explain in your own words why the Student-Dept relation is not in 4NF. Then, convert the Student-Dept relation in 4NF. Also, provide the justification for each step you perform during normalization (4NF). Note: The SportActivity here means any sport a student is participating in. For example, a student with ID = 123 can participate in soccer and badminton.

Q4:

In your own word, explain why do designers use Denormalization? What is the limitation of using Denormalization? Name and explain a better alternative approach than Denormalization.

In: Computer Science

******Please don't use handwriting and i need unique answer ... Thank you Q3: Consider the following...

******Please don't use handwriting and i need unique answer ... Thank you

Q3:

Consider the following relation:

Student-Dept = (Student-ID, Course, SportActivity, Dept-Name, Building)

Having following multivalued dependencies:

            F ={ Student-ID ®® Course

                   Student-ID ®® SportsActivity               

      Dept-Name ®® Building }

Explain in your own words why the Student-Dept relation is not in 4NF. Then, convert the Student-Dept relation in 4NF. Also, provide the justification for each step you perform during normalization (4NF). Note: The SportActivity here means any sport a student is participating in. For example, a student with ID = 123 can participate in soccer and badminton.

Q4:

In your own word, explain why do designers use Denormalization? What is the limitation of using Denormalization? Name and explain a better alternative approach than Denormalization.

In: Computer Science

Write this in java please. I use Eclipse Write the following two functions. main doesnt need...

Write this in java please. I use Eclipse

Write the following two functions. main doesnt need to be filled up.

Function 1:

Write a function called howMany that takes two arguments: an array of integers called arr, and an integer called iTarget. The function should return an integer result. Inside the function write a loop to go through the array and count the number of elements in the array that have the same value as iTarget. At the end it should return the count as the function return value.

Function 2:

Write a function called endsIn that takes two arguments: a String and a character. The function should return true if the string ends in that character or else return false. (Only if the ending character of the string is the character passed in as an argument.)

You sell the book “JAVA for Fools”. Write a program that has you enter a years worth of monthly sales (in terms of money). Create an array of string objects initialized to the month strings. The program should use a loop to prompt you by month from this created array of months and storing the input data (sales numbers for each month) in an array of double. Then the program should find the sum of the array contents and report the total sales for the year.

The Kingdom of Mars, where the unit of currency is the Rock, has the following income tax code:

First 3,000 Rocks: 0% tax

Next 5,000 Rocks: 5% tax

Next 10,000 Rocks: 10% tax

Rocks after 18,000: 15% tax

For example, someone earning 30,000 Rocks would owe (3,000 × 0.00 + 5,000 × 0.05 + 10,000 × 0.10 + 12,000 × 0.15, or) 3,050 Rocks. Write a JAVA program that inputs incomes and calculates the tax owed in the Kingdom of Mars in Rocks.

In: Computer Science

What are the fundamental aspects of the Electrolux Manufacturing System (EMS), and how are they related...

What are the fundamental aspects of the Electrolux Manufacturing System (EMS), and how are they related to the decision areas of an operations strategy?

What is the most important action introduced by the EMS as far as the management systems are concerned? Why?

In: Operations Management

1. Write comments on each line of the uploaded Java file. 2. Add two more controls...

1. Write comments on each line of the uploaded Java file.

2. Add two more controls to the Java file. These controls are listed below.

JTextField

JRadioButton

3. Excecute your program and upload the following.

1. Image showing you have added the controls

2. Your updated Java files showing your comments and your added code for above two controls.

---------------------------------------------------------------------------------------------------------------------------------

package swing;
import javax.swing.*;
public class SwingInheritance extends JFrame
{
   private static final long serialVersionUID = 1L;
   SwingInheritance()
   {
       JTextField userName = new JTextField();
       //userName.setBounds(x, y, width, height);
       userName.setBounds(80,100,100, 40);
       userName.setText("Hello");
       JLabel lblText = new JLabel();
       lblText.setBounds(80,150,300, 40);
       lblText.setText("You Entered: " + userName.getText());
       JButton button=new JButton("click"); //create button
       button.setBounds(80,200,100, 40);
       JButton close = new JButton("Close");
       close.setBounds(80,250,100, 40);
       close.addActionListener(e ->
       {
           dispose();
       });
       //add to JFrame
       add(button);
       add(close);
       add(userName);
       add(lblText);
       //set frame properties
       setSize(400,500);
       setLayout(null);
       setVisible(true);
   } public static void main(String[] args)
   {
       new SwingInheritance();
   }
}
  

In: Computer Science

1. Take the Starbucks balance sheet (2018) and calculate the % of each account to the...

1. Take the Starbucks balance sheet (2018) and calculate the % of each account to the total of that section of the balance sheet (cash as a % of total assets, ST investments as a % of total assets......., then A/P as a % total of total liabilities, etc) Do this for all categories under assets, liability and equity. Perform the calculations on 2018 only.

2. What is the accounting equation for Starbucks as of 2017 and 2018?

3. What is the value (market cap) of Starbucks at Sep. 30, 2018?

For ALL of the following DO NOT GIVE ME JUST DEFINITIONS. It must be explained in the context of and using specifically the Starbucks financial results/statements, .

4. What are inventories? (minimum 100 words)

4a. What is the difference between Long-term and short-term investments? (minimum 100 words)

4b.What is the difference between accounts payable and accrued liabilities? (minumum 100 words)

4c. What is deferred revenues? Why is it a liability? (minimum 100 words)

4d. What is the difference between common and preferred stock (this is not on the Starbucks balance sheet thus reference to the book) - minimum 100 words.

4e. What is additional paid-in-capital? (minimum 100 words).

4f. What is retained earnings. (minimum 100 words)

In: Accounting