Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ JFreeChart 1.0.x series. Here are some important notes:

- Maven is used to build this edition of JFreeChart;

mvn package
mvn javadoc:javadoc
Then look in the ./target directory.

- JCommon is no longer a dependency (the subset of classes from JCommon that
are still used have been incorporated directly in the source tree);

Expand Down
15 changes: 12 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<!-- <version>2.2.1</version> -->
<executions>
<execution>
<phase>package</phase>
Expand All @@ -32,7 +32,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<!-- <version>2.12.4</version> -->
<configuration>
<!-- this is here to prevent exceptions being thrown with no message -->
<!-- or stack trace, which can happen on oracle JVMs after a while -->
Expand All @@ -42,11 +42,20 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<!-- <version>2.9</version> -->
<configuration>
<overview>src/main/java/overview.html</overview>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- <version>3.1</version> -->
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jfree/chart/ui/FontChooserPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public class FontChooserPanel extends JPanel {

/** The resourceBundle for the localization. */
protected static ResourceBundle localizationResources =
ResourceBundleWrapper.getBundle("org.jfree.ui.LocalizationBundle");
ResourceBundleWrapper.getBundle("org.jfree.chart.editor.LocalizationBundle");

/**
* Standard constructor - builds a FontChooserPanel initialised with the
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jfree/chart/ui/FontDisplayField.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class FontDisplayField extends JTextField {

/** The resourceBundle for the localization. */
protected static final ResourceBundle localizationResources =
ResourceBundleWrapper.getBundle("org.jfree.ui.LocalizationBundle");
ResourceBundleWrapper.getBundle("org.jfree.chart.editor.LocalizationBundle");

/**
* Standard constructor - builds a FontDescriptionField initialised with
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
\:=:
AngleOffset=Angle Offset
Appearance=Appearance
Attributes=Attributes
Auto-adjust_range=Auto-adjust range:
Auto-TickUnit_Selection=Auto-Selection of TickUnit
Background=Background:
Background_Color=Background Color
Background_paint=Background paint:
Bold=Bold
Color=Color:
Color_Bar=Color Bar
Domain_Axis=Domain Axis
Expand All @@ -28,6 +30,7 @@ General1=General
Grid_Color=Grid Color
Insets=Insets:
Invert_Palette=Invert Palette:
Italic=Italic
Label=Label:
Label_Color=Label Color
Label_Insets=Label Insets:
Expand All @@ -36,6 +39,7 @@ Manual_TickUnit_value=TickUnit value
Maximum_range_value=Maximum range value:
Minimum_range_value=Minimum range value:
No_editor_implemented=No editor implemented
No_FontSelected=No Font Selected
Orientation=Orientation:
Other=Other
Outline=Outline:
Expand All @@ -62,6 +66,7 @@ Show_tick_labels=Show tick labels
Show_tick_marks=Show tick marks
Show_Title=Show Title:
Set_palette...=Set palette...
Size=Size
Step_Palette=Step Palette:
Stroke_Selection=Stroke Selection
Text=Text:
Expand Down
10 changes: 10 additions & 0 deletions src/test/java/org/jfree/chart/TestUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,21 @@
import java.util.Collection;
import java.util.Iterator;

import org.junit.Test;

/**
* Some utility methods for use by the testing code.
*/
public class TestUtilities {


/** Dummy method to make older versions of maven happy.
*/
@Test
public void testDataset() {
// All good
}

/**
* Returns <code>true</code> if the collections contains any object that
* is an instance of the specified class, and <code>false</code> otherwise.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
import org.jfree.data.UnknownKeyException;
import org.jfree.data.category.IntervalCategoryDataset;

import org.junit.Test;

import java.io.Serializable;
import java.util.List;

Expand All @@ -67,6 +69,13 @@ public TestIntervalCategoryDataset() {
this.data = new KeyedObjects2D();
}

/** Dummy method to make older versions of maven happy.
*/
@Test
public void testDataset() {
// All good
}

/**
* Returns the number of rows in the table.
*
Expand Down