@@ -155,13 +151,7 @@ public class XChartPanel extends JPanel {
...
@@ -155,13 +151,7 @@ public class XChartPanel extends JPanel {
@Override
@Override
publicbooleanaccept(Filef){
publicbooleanaccept(Filef){
if(f.isDirectory()){
returntrue;
returnfalse;
}
Strings=f.getName();
returns.endsWith(".jpg")||s.endsWith(".JPG");
}
}
@Override
@Override
...
@@ -177,13 +167,7 @@ public class XChartPanel extends JPanel {
...
@@ -177,13 +167,7 @@ public class XChartPanel extends JPanel {
@Override
@Override
publicbooleanaccept(Filef){
publicbooleanaccept(Filef){
if(f.isDirectory()){
returntrue;
returnfalse;
}
Strings=f.getName();
returns.endsWith(".bmp")||s.endsWith(".BMP");
}
}
@Override
@Override
...
@@ -199,13 +183,7 @@ public class XChartPanel extends JPanel {
...
@@ -199,13 +183,7 @@ public class XChartPanel extends JPanel {
@Override
@Override
publicbooleanaccept(Filef){
publicbooleanaccept(Filef){
if(f.isDirectory()){
returntrue;
returnfalse;
}
Strings=f.getName();
returns.endsWith(".gif")||s.endsWith(".GIF");
}
}
@Override
@Override
...
@@ -221,13 +199,7 @@ public class XChartPanel extends JPanel {
...
@@ -221,13 +199,7 @@ public class XChartPanel extends JPanel {
@Override
@Override
publicbooleanaccept(Filef){
publicbooleanaccept(Filef){
if(f.isDirectory()){
returntrue;
returnfalse;
}
Strings=f.getName();
returns.endsWith(".png")||s.endsWith(".PNG");
}
}
@Override
@Override
...
@@ -303,8 +275,8 @@ public class XChartPanel extends JPanel {
...
@@ -303,8 +275,8 @@ public class XChartPanel extends JPanel {
}
}
/**
/**
* update a series by only updating the Y-Axis data. The X-Axis data will be automatically generated as a list of increasing Integers starting from 1 and ending at the size of the new Y-Axis data
* update a series by only updating the Y-Axis data. The X-Axis data will be automatically generated as a list of increasing Integers starting from
* list.
* 1 and ending at the size of the new Y-Axis data list.