Skip to content

Commit

Permalink
Add description to histograms.
Browse files Browse the repository at this point in the history
  • Loading branch information
EverNife committed Aug 6, 2020
1 parent 9010549 commit 460d805
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private ChartPanel createChartPanel() {

// chart
JFreeChart chart = ChartFactory.createHistogram(
"Histograma",
"Histograma de Brilho",
"Valor",
"Escala",
dataset,
Expand Down Expand Up @@ -148,7 +148,7 @@ public boolean isVisible(){

private JLabel jLabel;
public void display() {
frame = new JFrame("Histograma");
frame = new JFrame("Histograma de Brilho");
componentList.add(frame.add(createChartPanel()));
frame.add(createControlPanel(), BorderLayout.SOUTH);
frame.add(jLabel = new JLabel(new ImageIcon(image)), BorderLayout.WEST);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private ChartPanel createChartPanel() {

// chart
JFreeChart chart = ChartFactory.createHistogram(
"Histograma",
"Histograma de Cores",
"Valor",
"Escala",
dataset,
Expand Down Expand Up @@ -120,7 +120,7 @@ public void actionPerformed(ActionEvent e) {
}

public void display() {
JFrame f = new JFrame("Histograma");
JFrame f = new JFrame("Histograma de Cores");
f.add(createChartPanel());
f.add(createControlPanel(), BorderLayout.SOUTH);
f.add(new JLabel(new ImageIcon(image)), BorderLayout.WEST);
Expand Down

0 comments on commit 460d805

Please sign in to comment.