I\'m sorry for asking this sort of questions, but I really couldn\'t find the answer in Google. So say I have a class with private String myColor and I have a s
private String myColor
If I understand your question correctly... You should create public getters and setters:
public void setMyColor(String color) { this.myColor = color; } public String getMyColor { return this.myColor; }