use of delta.games.lotro.gui.stats.levelling.CharacterLevelChartController in project lotro-companion by dmorcellet.
the class MainTestLevellingStats method main.
/**
* Basic main method for test.
* @param args Not used.
*/
public static void main(String[] args) {
LotroTestUtils utils = new LotroTestUtils();
List<CharacterFile> toons = utils.getAllFiles();
MultipleToonsLevellingStats stats = new MultipleToonsLevellingStats();
// CharacterFile toon=utils.getMainToon();
for (CharacterFile toon : toons) {
stats.addToon(toon);
}
JFrame f = new JFrame();
CharacterLevelChartController controller = new CharacterLevelChartController(stats);
JPanel panel = controller.getPanel();
f.getContentPane().add(panel);
f.pack();
f.setVisible(true);
f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
}
Aggregations