use of delta.games.lotro.gui.character.stats.details.DetailedCharacterStatsPanelController in project lotro-companion by dmorcellet.
the class MainTestDetailedCharacterStatsPanelController method doIt.
private void doIt() {
CharacterData meva = loadCharacter("meva");
CharacterData giswald = loadCharacter("giswald");
BasicStatsSet stats = giswald.getStats();
BasicStatsSet reference = meva.getStats();
DetailedCharacterStatsPanelController panelCtrl = new DetailedCharacterStatsPanelController(null);
JPanel panel = panelCtrl.getPanel();
panelCtrl.setStats(reference, stats);
JFrame frame = new JFrame();
frame.add(panel);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.pack();
frame.setVisible(true);
}
Aggregations