|
|
@ -39,6 +39,7 @@ public final class AngelFontVisualPanel1 extends JPanel { |
|
|
|
|
|
|
|
|
|
|
|
jScrollPane1 = new javax.swing.JScrollPane(); |
|
|
|
jScrollPane1 = new javax.swing.JScrollPane(); |
|
|
|
jList1 = new javax.swing.JList(); |
|
|
|
jList1 = new javax.swing.JList(); |
|
|
|
|
|
|
|
jPanel1 = new javax.swing.JPanel(); |
|
|
|
jLabel1 = new javax.swing.JLabel(); |
|
|
|
jLabel1 = new javax.swing.JLabel(); |
|
|
|
|
|
|
|
|
|
|
|
jList1.setModel(new javax.swing.AbstractListModel() { |
|
|
|
jList1.setModel(new javax.swing.AbstractListModel() { |
|
|
@ -53,8 +54,23 @@ public final class AngelFontVisualPanel1 extends JPanel { |
|
|
|
}); |
|
|
|
}); |
|
|
|
jScrollPane1.setViewportView(jList1); |
|
|
|
jScrollPane1.setViewportView(jList1); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jPanel1.setBackground(new java.awt.Color(0, 0, 0)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jLabel1.setBackground(new java.awt.Color(0, 0, 0)); |
|
|
|
|
|
|
|
jLabel1.setForeground(new java.awt.Color(255, 255, 255)); |
|
|
|
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(AngelFontVisualPanel1.class, "AngelFontVisualPanel1.jLabel1.text")); // NOI18N
|
|
|
|
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(AngelFontVisualPanel1.class, "AngelFontVisualPanel1.jLabel1.text")); // NOI18N
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); |
|
|
|
|
|
|
|
jPanel1.setLayout(jPanel1Layout); |
|
|
|
|
|
|
|
jPanel1Layout.setHorizontalGroup( |
|
|
|
|
|
|
|
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
|
|
|
|
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 236, Short.MAX_VALUE) |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
jPanel1Layout.setVerticalGroup( |
|
|
|
|
|
|
|
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
|
|
|
|
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE) |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); |
|
|
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); |
|
|
|
this.setLayout(layout); |
|
|
|
this.setLayout(layout); |
|
|
|
layout.setHorizontalGroup( |
|
|
|
layout.setHorizontalGroup( |
|
|
@ -62,22 +78,23 @@ public final class AngelFontVisualPanel1 extends JPanel { |
|
|
|
.addGroup(layout.createSequentialGroup() |
|
|
|
.addGroup(layout.createSequentialGroup() |
|
|
|
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE) |
|
|
|
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE) |
|
|
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|
|
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|
|
|
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 236, Short.MAX_VALUE)) |
|
|
|
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
|
|
|
); |
|
|
|
); |
|
|
|
layout.setVerticalGroup( |
|
|
|
layout.setVerticalGroup( |
|
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE) |
|
|
|
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE) |
|
|
|
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE) |
|
|
|
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|
|
|
); |
|
|
|
); |
|
|
|
}// </editor-fold>//GEN-END:initComponents
|
|
|
|
}// </editor-fold>//GEN-END:initComponents
|
|
|
|
|
|
|
|
|
|
|
|
private void updateFont(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_updateFont
|
|
|
|
private void updateFont(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_updateFont
|
|
|
|
jLabel1.setIcon(new ImageIcon(FontCreator.buildFont((String) jList1.getSelectedValue()))); |
|
|
|
jLabel1.setIcon(new ImageIcon(FontCreator.buildFont((String) jList1.getSelectedValue(), 256))); |
|
|
|
selectedFont = (String) jList1.getSelectedValue(); |
|
|
|
selectedFont = (String) jList1.getSelectedValue(); |
|
|
|
}//GEN-LAST:event_updateFont
|
|
|
|
}//GEN-LAST:event_updateFont
|
|
|
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
|
|
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
|
|
|
private javax.swing.JLabel jLabel1; |
|
|
|
private javax.swing.JLabel jLabel1; |
|
|
|
private javax.swing.JList jList1; |
|
|
|
private javax.swing.JList jList1; |
|
|
|
|
|
|
|
private javax.swing.JPanel jPanel1; |
|
|
|
private javax.swing.JScrollPane jScrollPane1; |
|
|
|
private javax.swing.JScrollPane jScrollPane1; |
|
|
|
// End of variables declaration//GEN-END:variables
|
|
|
|
// End of variables declaration//GEN-END:variables
|
|
|
|
} |
|
|
|
} |
|
|
|