100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CE2o3 Assignment 1 Java code solution $9.81   Add to cart

Other

CE2o3 Assignment 1 Java code solution

 7 views  0 purchase
  • Course
  • Institution

This document is the code solution for the ce203 Application Assignment

Preview 1 out of 5  pages

  • June 7, 2021
  • 5
  • 2019/2020
  • Other
  • Unknown
avatar-seller
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.*;

public class CE203_2019_Ass1 implements ActionListener {

public static JButton addButton;
public static JButton displayButton;
public static JButton removeButton;
public static JButton clearButton;
public static JLabel label, textlabel, RGBlabel;
public static JTextField textInput, R, G, B;
public static Operations operate;

public CE203_2019_Ass1(){
operate = new Operations();
}
public JPanel createTopPanel() {
//adding button on the top
JPanel topPanel = new JPanel();
addButton = new JButton("Add Word");
addButton.addActionListener(this);
topPanel.add(addButton);
displayButton = new JButton("Display Words");
displayButton.addActionListener(this);
topPanel.add(displayButton);
removeButton = new JButton("Remove Word");
removeButton.addActionListener(this);
topPanel.add(removeButton);
clearButton = new JButton("Clear List");
clearButton.addActionListener(this);
topPanel.add(clearButton);
topPanel.setSize(500, 100);
topPanel.setLocation(0, 0);

return topPanel;
}

public static JPanel createMiddlePanel() {
JPanel panel = new JPanel();
label = new JLabel("LABEL");
//textlabel = new JLabel("Text Input");
panel.add(label);

panel.setSize(500, 200);
panel.setLocation(0, 150);
return panel;

}

public static JPanel createBottomPanel() {

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller filipasa99. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.81. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76800 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.81
  • (0)
  Add to cart