本文整理匯總了Java中jam.util.IconUtils類的典型用法代碼示例。如果您正苦於以下問題:Java IconUtils類的具體用法?Java IconUtils怎麽用?Java IconUtils使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
IconUtils類屬於jam.util包,在下文中一共展示了IconUtils類的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: TracePanel
import jam.util.IconUtils; //導入依賴的package包/類
/**
* Creates new form TracePanel
*/
public TracePanel(JFrame parent) {
//JFrame parent1 = parent;
Icon traceIcon = new ImageIcon(IconUtils.getImage(TracePanel.class, "images/trace-small-icon.gif"));
Icon frequencyIcon = new ImageIcon(IconUtils.getImage(TracePanel.class, "images/frequency-small-icon.gif"));
Icon densityIcon = new ImageIcon(IconUtils.getImage(TracePanel.class, "images/density-small-icon.gif"));
Icon summaryIcon = new ImageIcon(IconUtils.getImage(TracePanel.class, "images/summary-small-icon.png"));
Icon correlationIcon = new ImageIcon(IconUtils.getImage(TracePanel.class, "images/correlation-small-icon.gif"));
summaryPanel = new SummaryStatisticsPanel(parent);
densityPanel = new DensityPanel(parent);
jointDensityPanel = new JointDensityPanel(parent);
tracePanel = new RawTracePanel(parent);
tabbedPane.addTab("Estimates", summaryIcon, summaryPanel);
tabbedPane.addTab("Marginal Prob Distribution", densityIcon, densityPanel);
tabbedPane.addTab("Joint-Marginal", correlationIcon, jointDensityPanel);
tabbedPane.addTab("Trace", traceIcon, tracePanel);
setLayout(new BorderLayout());
add(tabbedPane, BorderLayout.CENTER);
}