Guest User

Untitled

a guest
Jul 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. package com.Andrew.client;
  2.  
  3. import java.awt.*;
  4.  
  5. /**
  6. * Created by IntelliJ IDEA.
  7. * User: Andres
  8. * Date: Nov 28, 2009
  9. * Time: 8:15:32 PM
  10. * To change this template use File | Settings | File Templates.
  11. */
  12. class ListItem {
  13. private Color color;
  14. private String value;
  15.  
  16. public ListItem(Color c, String s) {
  17. color = c;
  18. value = s;
  19. }
  20.  
  21. public Color getColor() {
  22. return color;
  23. }
  24.  
  25. public String getValue() {
  26. return value;
  27. }
  28. }
Add Comment
Please, Sign In to add comment