FontChooser/ 0000755 0001750 0001750 00000000000 11467162464 012066 5 ustar tony tony FontChooser/dist/ 0000755 0001750 0001750 00000000000 11467162464 013031 5 ustar tony tony FontChooser/dist/README.TXT 0000644 0001750 0001750 00000002651 11174137770 014370 0 ustar tony tony ========================
BUILD OUTPUT DESCRIPTION
========================
When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).
To run the project from the command line, go to the dist folder and
type the following:
java -jar "FontChooser.jar"
To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.
Notes:
* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* Only JAR files are copied to the lib folder.
If the classpath contains other types of files or folders, none of the
classpath elements are copied to the lib folder. In such a case,
you need to copy the classpath elements to the lib folder manually after the build.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.
FontChooser/src/ 0000755 0001750 0001750 00000000000 11163003132 012630 5 ustar tony tony FontChooser/src/com/ 0000755 0001750 0001750 00000000000 11163003132 013406 5 ustar tony tony FontChooser/src/com/connectina/ 0000755 0001750 0001750 00000000000 11163003132 015527 5 ustar tony tony FontChooser/src/com/connectina/swing/ 0000755 0001750 0001750 00000000000 11163003132 016656 5 ustar tony tony FontChooser/src/com/connectina/swing/fontchooser/ 0000755 0001750 0001750 00000000000 11163003132 021207 5 ustar tony tony FontChooser/src/com/connectina/swing/fontchooser/FontChooserDialog.java 0000644 0001750 0001750 00000012415 11163004006 025427 0 ustar tony tony /*
* A font chooser JavaBean component.
* Copyright (C) 2009 Dr Christos Bohoris
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 3 as published by the Free Software Foundation;
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* swing@connectina.com
*/
package com.connectina.swing.fontchooser;
import java.awt.HeadlessException;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.ResourceBundle;
import javax.swing.JDialog;
import javax.swing.JFrame;
/**
* A dialog containing a JFontChooser
as well as OK and
* Cancel buttons.
*
* @author Christos Bohoris
*/
class FontChooserDialog extends javax.swing.JDialog {
private static final long serialVersionUID = -953666562985797384L;
private ResourceBundle bundle = ResourceBundle.getBundle("com/connectina/swing/fontchooser/resources/i18n/FontChooserDialog");
private JFontChooser chooserPane;
FontChooserDialog(JFrame owner, boolean modal,
JFontChooser chooserPane, ActionListener selectionListener)
throws HeadlessException {
super(owner, modal);
initDialog(chooserPane, selectionListener);
}
FontChooserDialog(JDialog owner, boolean modal,
JFontChooser chooserPane, ActionListener selectionListener)
throws HeadlessException {
super(owner, modal);
initDialog(chooserPane, selectionListener);
}
private void initDialog(JFontChooser chooserPane, ActionListener selectionListener) {
this.chooserPane = chooserPane;
initComponents();
okButton.addActionListener(selectionListener);
okButton.addActionListener(new OKActionListener());
cancelButton.addActionListener(new CancelActionListener());
addWindowListener(new FontChooserDialogAdapter());
getRootPane().setDefaultButton(okButton);
okButton.requestFocusInWindow();
}
private class FontChooserDialogAdapter extends WindowAdapter {
@Override
public void windowClosing(WindowEvent event) {
dispose();
}
}
private class OKActionListener implements ActionListener {
public void actionPerformed(ActionEvent e) {
dispose();
}
}
private class CancelActionListener implements ActionListener {
public void actionPerformed(ActionEvent e) {
dispose();
}
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// JFontChooser
JavaBean.
*
* @author Christos Bohoris
* @see JFontChooser
*/
public class JFontChooserBeanInfo extends SimpleBeanInfo {
/* 16x16 color icon. */
private final Image iconColor16 = loadImage("resources/image/FontChooser16Color.png");
/* 32x32 color icon. */
private final Image iconColor32 = loadImage("resources/image/FontChooser32Color.png");
/* 16x16 mono icon. */
private final Image iconMono16 = loadImage("resources/image/FontChooser16Mono.png");
/* 32x32 mono icon. */
private final Image iconMono32 = loadImage("resources/image/FontChooser32Mono.png");
/* The bean descriptor. */
private JFontChooserBeanDescriptor descriptor = new JFontChooserBeanDescriptor();
/**
* Get the bean descriptor.
*
* @return the bean descriptor
*/
@Override
public BeanDescriptor getBeanDescriptor() {
return descriptor;
}
/**
* Get the appropriate icon.
*
* @param iconKind the icon kind
* @return the image
*/
@Override
public Image getIcon(int iconKind) {
switch (iconKind) {
case ICON_COLOR_16x16:
return iconColor16;
case ICON_COLOR_32x32:
return iconColor32;
case ICON_MONO_16x16:
return iconMono16;
case ICON_MONO_32x32:
return iconMono32;
}
return null;
}
} FontChooser/src/com/connectina/swing/fontchooser/JFontChooserBeanDescriptor.java 0000644 0001750 0001750 00000002456 11142413322 027254 0 ustar tony tony /*
* A font chooser JavaBean component.
* Copyright (C) 2009 Dr Christos Bohoris
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 3 as published by the Free Software Foundation;
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* swing@connectina.com
*/
package com.connectina.swing.fontchooser;
import java.beans.BeanDescriptor;
/**
* The bean descriptor for the JFontChooser
JavaBean.
*
* @author Christos Bohoris
* @see JFontChooser
*/
public class JFontChooserBeanDescriptor extends BeanDescriptor {
public JFontChooserBeanDescriptor() {
super(JFontChooser.class);
setShortDescription("com.connectina.fontchooser.JFontChooser
A font selection pane.");
setDisplayName("Font Chooser");
setPreferred(true);
}
}
FontChooser/src/com/connectina/swing/fontchooser/JFontChooser.form 0000644 0001750 0001750 00000032650 11174136643 024465 0 ustar tony tony
Font
.
*
* @author Christos Bohoris
* @see java.awt.Font
*/
public class JFontChooser extends JPanel {
private static final long serialVersionUID = 5157499702004637097L;
private final static ResourceBundle bundle = ResourceBundle.getBundle("com/connectina/swing/fontchooser/resources/i18n/JFontChooser");
private FontSelectionModel selectionModel;
/**
* The selection model property name.
*/
public static final String SELECTION_MODEL_PROPERTY = "selectionModel";
/**
* Creates a FontChooser pane with an initial default Font
* (Sans Serif, Plain, 12).
*/
public JFontChooser() {
this(new Font(Font.SANS_SERIF, Font.PLAIN, 12));
}
/**
* Creates a FontChooser pane with the specified initial Font.
*
* @param initialFont the initial Font set in the chooser
*/
public JFontChooser(Font initialFont) {
this(new DefaultFontSelectionModel(initialFont));
}
/**
* Creates a FontChooser pane with the specified
* FontSelectionModel
.
*
* @param model the FontSelectionModel
to be used
*/
public JFontChooser(FontSelectionModel model) {
this.selectionModel = model;
initComponents();
initPanel();
}
/**
* Gets the current Font value from the FontChooser.
* By default, this delegates to the model.
*
* @return the current Font value of the FontChooser
*/
public Font getSelectedFont() {
return selectionModel.getSelectedFont();
}
/**
* Sets the current Font of the FontChooser to the specified Font.
* The FontSelectionModel
will fire a ChangeEvent
* @param Font the Font to be set in the Font chooser
* @see JComponent#addPropertyChangeListener
*/
public void setSelectedFont(Font Font) {
selectionModel.setSelectedFont(Font);
}
/**
* Returns the data model that handles Font selections.
*
* @return a FontSelectionModel
object
*/
public FontSelectionModel getSelectionModel() {
return selectionModel;
}
/**
* Sets the model containing the selected Font.
*
* @param newModel the new FontSelectionModel
object
*/
public void setSelectionModel(FontSelectionModel newModel) {
FontSelectionModel oldModel = selectionModel;
selectionModel = newModel;
firePropertyChange(JFontChooser.SELECTION_MODEL_PROPERTY, oldModel, newModel);
}
/**
* Shows a modal FontChooser dialog and blocks until the
* dialog is hidden. If the user presses the "OK" button, then
* this method hides/disposes the dialog and returns the selected Font.
* If the user presses the "Cancel" button or closes the dialog without
* pressing "OK", then this method hides/disposes the dialog and returns
* null
.
*
* @param parent the parent JFrame
for the dialog
* @param initialFont the initial Font set when the FontChooser is shown
* @return the selected Font or null
if the user opted out
* @exception HeadlessException if GraphicsEnvironment.isHeadless()
* returns true.
* @see java.awt.GraphicsEnvironment#isHeadless
*/
public static Font showDialog(Window parent, Font initialFont) throws HeadlessException {
final JFontChooser pane = new JFontChooser(initialFont != null ? initialFont : new Font(Font.SANS_SERIF, Font.PLAIN, 12));
FontSelectionActionListener selectionListener = new FontSelectionActionListener(pane);
JDialog dialog = createDialog(parent, true, pane, selectionListener);
dialog.setLocationRelativeTo(parent);
dialog.setVisible(true);
return selectionListener.getFont();
}
/**
* Shows a modal FontChooser dialog and blocks until the
* dialog is hidden. If the user presses the "OK" button, then
* this method hides/disposes the dialog and returns the selected Font.
* If the user presses the "Cancel" button or closes the dialog without
* pressing "OK", then this method hides/disposes the dialog and returns
* null
.
*
* @param parent the parent JFrame
for the dialog
* @param fontChooser the FontChooser to be use in this dialog
* @param initialFont the initial Font set when the FontChooser is shown
* @return the selected Font or null
if the user opted out
* @exception HeadlessException if GraphicsEnvironment.isHeadless()
* returns true.
* @see java.awt.GraphicsEnvironment#isHeadless
*/
public static Font showDialog(Window parent, JFontChooser fontChooser, Font initialFont) throws HeadlessException {
fontChooser.setSelectedFont(initialFont != null ? initialFont : new Font(Font.SANS_SERIF, Font.PLAIN, 12));
FontSelectionActionListener selectionListener = new FontSelectionActionListener(fontChooser);
JDialog dialog = createDialog(parent, true, fontChooser, selectionListener);
dialog.setLocationRelativeTo(parent);
dialog.setVisible(true);
return selectionListener.getFont();
}
/**
* Creates and returns a new dialog containing the specified
* FontChooser
pane along with "OK" and "Cancel"
* buttons. If the "OK" or "Cancel" buttons are pressed, the dialog is
* automatically hidden (but not disposed).
*
* @param parent the parent component for the dialog
* @param modal a boolean. When true, the remainder of the program
* is inactive until the dialog is closed.
* @param chooserPane the Font-chooser to be placed inside the dialog
* @param okListener the ActionListener invoked when "OK" is pressed
* @return a new dialog containing the FontChooser pane
* @exception HeadlessException if GraphicsEnvironment.isHeadless()
* returns true.
* @see java.awt.GraphicsEnvironment#isHeadless
*/
public static JDialog createDialog(Window parent, boolean modal,
JFontChooser chooserPane, ActionListener okListener) throws HeadlessException {
if (parent instanceof JDialog) {
return new FontChooserDialog((JDialog) parent, modal, chooserPane,
okListener);
} else if (parent instanceof JFrame) {
return new FontChooserDialog((JFrame) parent, modal, chooserPane,
okListener);
} else {
throw new IllegalArgumentException("JFrame or JDialog parent is required.");
}
}
/**
* Adds a ChangeListener
to the model.
*
* @param l the ChangeListener
to be added
*/
public void addChangeListener(ChangeListener l) {
selectionModel.addChangeListener(l);
}
/**
* Removes a ChangeListener
from the model.
* @param l the ChangeListener
to be removed
*/
public void removeChangeListener(ChangeListener l) {
selectionModel.removeChangeListener(l);
}
private void initPanel() {
// Set the font family names
DefaultListModel listModel = new DefaultListModel();
for (String fontName : selectionModel.getAvailableFontNames()) {
listModel.addElement(fontName);
}
familyList.setModel(listModel);
familyList.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
familyList.setSelectedValue(selectionModel.getSelectedFont().getName(), true);
familyList.addListSelectionListener(new FamilyListSelectionListener());
// Set the font styles
listModel = new DefaultListModel();
listModel.addElement(getFontStyleName(Font.PLAIN));
listModel.addElement(getFontStyleName(Font.BOLD));
listModel.addElement(getFontStyleName(Font.ITALIC));
listModel.addElement(getFontStyleName(Font.BOLD + Font.ITALIC));
styleList.setModel(listModel);
styleList.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
styleList.setSelectedIndex(selectionModel.getSelectedFont().getStyle());
styleList.addListSelectionListener(new StyleListSelectionListener());
// Set the font sizes
listModel = new DefaultListModel();
int size = 6;
int step = 1;
int ceil = 14;
do {
listModel.addElement(size);
if (size == ceil) {
ceil += ceil;
step += step;
}
size = size + step;
} while (size <= 128);
sizeList.setModel(listModel);
sizeList.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
if (listModel.contains(selectionModel.getSelectedFont().getSize())) {
sizeList.setSelectedValue(selectionModel.getSelectedFont().getSize(), true);
}
sizeList.addListSelectionListener(new SizeListSelectionListener());
sizeSpinner.addChangeListener(new SizeSpinnerListener());
sizeSpinner.setValue(selectionModel.getSelectedFont().getSize());
previewAreaLabel.setFont(selectionModel.getSelectedFont());
previewAreaLabel.setText(bundle.getString("font.preview.text"));
}
private String getFontStyleName(int index) {
String result = null;
switch (index) {
case 0:
result = bundle.getString("style.plain");
break;
case 1:
result = bundle.getString("style.bold");
break;
case 2:
result = bundle.getString("style.italic");
break;
case 3:
result = bundle.getString("style.bolditalic");
break;
default:
result = bundle.getString("style.plain");
}
return result;
}
private class FamilyListSelectionListener implements ListSelectionListener {
public void valueChanged(ListSelectionEvent e) {
if (!e.getValueIsAdjusting()) {
selectionModel.setSelectedFont(new Font(familyList.getSelectedValue().toString(), styleList.getSelectedIndex(), Integer.valueOf(sizeSpinner.getValue().toString())));
previewAreaLabel.setFont(selectionModel.getSelectedFont());
}
}
}
private class StyleListSelectionListener implements ListSelectionListener {
public void valueChanged(ListSelectionEvent e) {
if (!e.getValueIsAdjusting()) {
selectionModel.setSelectedFont(selectionModel.getSelectedFont().deriveFont(styleList.getSelectedIndex()));
previewAreaLabel.setFont(selectionModel.getSelectedFont());
}
}
}
private class SizeListSelectionListener implements ListSelectionListener {
public void valueChanged(ListSelectionEvent e) {
if (!e.getValueIsAdjusting()) {
int index = ((DefaultListModel) sizeList.getModel()).indexOf(sizeList.getSelectedValue());
if (index > -1) {
sizeSpinner.setValue((Integer) sizeList.getSelectedValue());
}
selectionModel.setSelectedFont(selectionModel.getSelectedFont().deriveFont(Float.valueOf(sizeSpinner.getValue().toString())));
previewAreaLabel.setFont(selectionModel.getSelectedFont());
}
}
}
private class SizeSpinnerListener implements ChangeListener {
public void stateChanged(ChangeEvent e) {
int value = (Integer) sizeSpinner.getValue();
int index = ((DefaultListModel) sizeList.getModel()).indexOf(value);
if (index > -1) {
sizeList.setSelectedValue(value, true);
} else {
sizeList.clearSelection();
}
}
}
private static class FontSelectionActionListener implements ActionListener, Serializable {
private static final long serialVersionUID = 8141913945783951693L;
private JFontChooser chooser;
private Font font;
public FontSelectionActionListener(JFontChooser c) {
chooser = c;
}
public void actionPerformed(ActionEvent e) {
font = chooser.getSelectedFont();
}
public Font getFont() {
return font;
}
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// FontSelectionModel
.
*
* @author Christos Bohoris
* @see java.awt.Font
*/
public class DefaultFontSelectionModel implements FontSelectionModel {
/**
* Only one ChangeEvent
is needed per model instance
* since the event's only (read-only) state is the source property.
* The source of events generated here is always "this".
*/
protected transient ChangeEvent changeEvent = null;
/**
* A list of registered event listeners.
*/
protected EventListenerList listenerList = new EventListenerList();
private Font selectedFont;
private ListDefaultFontSelectionModel
with the
* current font set to new Font(Font.SANS_SERIF, Font.PLAIN, 12)
*
. This is the default constructor.
*/
public DefaultFontSelectionModel() {
this(new Font(Font.SANS_SERIF, Font.PLAIN, 12));
}
/**
* Creates a DefaultFontSelectionModel
with the
* current font set to font
, which should be
* non-null
. Note that setting the font to
* null
is undefined and may have unpredictable
* results.
*
* @param font the new Font
*/
public DefaultFontSelectionModel(Font font) {
selectedFont = font;
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
Collections.addAll(availableFontNames, ge.getAvailableFontFamilyNames());
}
/**
* Returns the selected Font
which should be
* non-null
.
*
* @return the selected Font
*/
public Font getSelectedFont() {
return selectedFont;
}
/**
* Sets the selected font to font
.
* Note that setting the font to null
* is undefined and may have unpredictable results.
* This method fires a state changed event if it sets the
* current font to a new non-null
font;
* if the new font is the same as the current font,
* no event is fired.
*
* @param font the new Font
*/
public void setSelectedFont(Font font) {
if (font != null && !selectedFont.equals(font)) {
selectedFont = font;
fireStateChanged();
}
}
/**
* Gets the available font names.
* Returns a list containing the names of all font families in this
* GraphicsEnvironment
localized for the default locale,
* as returned by Locale.getDefault()
.
*
* @return a list of String containing font family names localized for the
* default locale, or a suitable alternative name if no name exists
* for this locale
*/
public ListChangeListener
to the model.
*
* @param l the ChangeListener
to be added
*/
public void addChangeListener(ChangeListener l) {
listenerList.add(ChangeListener.class, l);
}
/**
* Removes a ChangeListener
from the model.
* @param l the ChangeListener
to be removed
*/
public void removeChangeListener(ChangeListener l) {
listenerList.remove(ChangeListener.class, l);
}
/**
* Returns an array of all the ChangeListener
s added
* to this DefaultFontSelectionModel
with
* addChangeListener
.
*
* @return all of the ChangeListener
s added, or an empty
* array if no listeners have been added
*/
public ChangeListener[] getChangeListeners() {
return (ChangeListener[]) listenerList.getListeners(
ChangeListener.class);
}
/**
* Runs each ChangeListener
's
* stateChanged
method.
*/
protected void fireStateChanged() {
Object[] listeners = listenerList.getListenerList();
for (int i = listeners.length - 2; i >= 0; i -= 2) {
if (listeners[i] == ChangeListener.class) {
if (changeEvent == null) {
changeEvent = new ChangeEvent(this);
}
((ChangeListener) listeners[i + 1]).stateChanged(changeEvent);
}
}
}
}
FontChooser/src/com/connectina/swing/fontchooser/FontSelectionModel.java 0000644 0001750 0001750 00000005200 11142413306 025611 0 ustar tony tony /*
* A font chooser JavaBean component.
* Copyright (C) 2009 Dr Christos Bohoris
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 3 as published by the Free Software Foundation;
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* swing@connectina.com
*/
package com.connectina.swing.fontchooser;
import java.awt.Font;
import java.util.List;
import javax.swing.event.ChangeListener;
/**
* A model that supports selecting a Font
.
*
* @author Christos Bohoris
* @see java.awt.Font
*/
public interface FontSelectionModel {
/**
* Returns the selected Font
which should be
* non-null
.
*
* @return the selected Font
* @see #setSelectedFont
*/
Font getSelectedFont();
/**
* Sets the selected font to font
.
* Note that setting the font to null
* is undefined and may have unpredictable results.
* This method fires a state changed event if it sets the
* current font to a new non-null
font.
*
* @param font the new Font
* @see #getSelectedFont
* @see #addChangeListener
*/
void setSelectedFont(Font font);
/**
* Gets the available font names.
* Returns a list containing the names of all font families in this
* GraphicsEnvironment
localized for the default locale,
* as returned by Locale.getDefault()
.
*
* @return a list of String containing font family names localized for the
* default locale, or a suitable alternative name if no name exists
* for this locale
*/
Listlistener
as a listener to changes in the model.
*
* @param listener the ChangeListener
to be added
*/
void addChangeListener(ChangeListener listener);
/**
* Removes listener
as a listener to changes in the model.
*
* @param listener the ChangeListener
to be removed
*/
void removeChangeListener(ChangeListener listener);
}
FontChooser/src/com/connectina/swing/fontchooser/package-info.java 0000644 0001750 0001750 00000001540 11142413340 024401 0 ustar tony tony /**
* Provides a Swing font chooser JavaBean component. * * Copyright (C) 2009 Dr Christos Bohoris * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 3 as published by the Free Software Foundation; * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * swing@connectina.com*/ package com.connectina.swing.fontchooser; FontChooser/src/com/connectina/swing/fontchooser/resources/ 0000755 0001750 0001750 00000000000 11163003132 023221 5 ustar tony tony FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/ 0000755 0001750 0001750 00000000000 11163003132 024000 5 ustar tony tony FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/JFontChooser_de.properties 0000644 0001750 0001750 00000000451 11141672744 031152 0 ustar tony tony # German style.plain=Normal style.bold=Fett style.italic=Kursiv font.family=Familie font.style=Stil font.size=Gr\u00F6\u00DFe font.preview=Vorschau font.family.mnemonic=F font.style.mnemonic=S font.size.mnemonic=G font.preview.mnemonic=V font.preview.text=Aa Bb Yy Zz style.bolditalic=Fett Kursiv FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/FontChooserDialog_es.properties 0000644 0001750 0001750 00000000173 11141672100 032162 0 ustar tony tony # Spanish action.ok=Aceptar action.cancel=Cancelar action.ok.mnemonic=T action.cancel.mnemonic=C window.title=Tipo de letra FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/FontChooserDialog_fr.properties 0000644 0001750 0001750 00000000155 11141666602 032174 0 ustar tony tony # French action.ok=OK action.cancel=Annuler action.ok.mnemonic=O action.cancel.mnemonic=L window.title=Police FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/FontChooserDialog_de.properties 0000644 0001750 0001750 00000000163 11141671350 032150 0 ustar tony tony # German action.ok=OK action.cancel=Abbrechen action.ok.mnemonic=O action.cancel.mnemonic=A window.title=Schriftart FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/FontChooserDialog.properties 0000644 0001750 0001750 00000000153 11140537512 031477 0 ustar tony tony # English action.ok=OK action.cancel=Cancel action.ok.mnemonic=O action.cancel.mnemonic=C window.title=Font FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/FontChooserDialog_el.properties 0000644 0001750 0001750 00000000412 11140537512 032155 0 ustar tony tony # Greek action.ok=\u0395\u03BD\u03C4\u03AC\u03BE\u03B5\u03B9 action.cancel=\u0391\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7 action.ok.mnemonic=\u0395 action.cancel.mnemonic=\u0391 window.title=\u0393\u03C1\u03B1\u03BC\u03BC\u03B1\u03C4\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/FontChooserDialog_ru.properties 0000644 0001750 0001750 00000000250 11445525014 032205 0 ustar tony tony # English action.ok=OK action.cancel=\u041e\u0442\u043c\u0435\u043d\u0430 action.ok.mnemonic=O action.cancel.mnemonic=\u0422 window.title=\u0428\u0440\u0438\u0444\u0442 FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/JFontChooser_el.properties 0000644 0001750 0001750 00000001214 11141672736 031161 0 ustar tony tony # Greek style.plain=\u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AC style.bold=\u0388\u03BD\u03C4\u03BF\u03BD\u03B1 style.italic=\u03A0\u03BB\u03AC\u03B3\u03B9\u03B1 font.family=\u039F\u03B9\u03BA\u03BF\u03B3\u03AD\u03BD\u03B5\u03B9\u03B1 font.style=\u03A3\u03C4\u03CD\u03BB font.size=\u039C\u03AD\u03B3\u03B5\u03B8\u03BF\u03C2 font.preview=\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03C3\u03BA\u03CC\u03C0\u03B7\u03C3\u03B7 font.family.mnemonic=\u039F font.style.mnemonic=\u03A3 font.size.mnemonic=\u039C font.preview.mnemonic=\u03A0 font.preview.text=Aa Bb Yy Zz style.bolditalic=\u0388\u03BD\u03C4\u03BF\u03BD\u03B1 \u03A0\u03BB\u03AC\u03B3\u03B9\u03B1 FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/JFontChooser_es.properties 0000644 0001750 0001750 00000000476 11141672756 031203 0 ustar tony tony # Spanish style.plain=Regular style.bold=Negrita style.italic=Italica font.family=Familia font.style=Estilo font.size=Tama\u00F1o font.preview=Previsualizaci\u00F3n font.family.mnemonic=F font.style.mnemonic=E font.size.mnemonic=T font.preview.mnemonic=P font.preview.text=Aa Bb Yy Zz style.bolditalic=Negrita Italica FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/JFontChooser_fr.properties 0000644 0001750 0001750 00000000450 11141672716 031167 0 ustar tony tony # French style.plain=Normal style.bold=Gras style.italic=Italique font.family=Famille font.style=Style font.size=Taille font.preview=Aper\u00E7u font.family.mnemonic=F font.style.mnemonic=S font.size.mnemonic=T font.preview.mnemonic=P font.preview.text=Aa Bb Yy Zz style.bolditalic=Gras Italique FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/JFontChooser_ru.properties 0000644 0001750 0001750 00000001362 11445525014 031204 0 ustar tony tony # English style.plain=\u041e\u0431\u044b\u0447\u043d\u044b\u0439 style.bold=\u041f\u043e\u043b\u0443\u0436\u0438\u0440\u043d\u044b\u0439 style.italic=\u041a\u0443\u0440\u0441\u0438\u0432 font.family=\u0413\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 font.style=\u041d\u0430\u0447\u0435\u0440\u0442\u0430\u043d\u0438\u0435 font.size=\u0420\u0430\u0437\u043c\u0435\u0440 font.preview=\u041f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 font.family.mnemonic=\u0413 font.style.mnemonic=\u0421 font.size.mnemonic=\u0420 font.preview.mnemonic=\u041f font.preview.text=\u0410\u0430 \u0411\u0431 \u0423\u0443 \u042f\u044f style.bolditalic=\u041f\u043e\u043b\u0443\u0436\u0438\u0440\u043d\u044b\u0439 \u043a\u0443\u0440\u0441\u0438\u0432 FontChooser/src/com/connectina/swing/fontchooser/resources/i18n/JFontChooser.properties 0000644 0001750 0001750 00000000437 11141672754 030507 0 ustar tony tony # English style.plain=Regular style.bold=Bold style.italic=Italic font.family=Family font.style=Style font.size=Size font.preview=Preview font.family.mnemonic=F font.style.mnemonic=S font.size.mnemonic=Z font.preview.mnemonic=P font.preview.text=Aa Bb Yy Zz style.bolditalic=Bold Italic FontChooser/src/com/connectina/swing/fontchooser/resources/image/ 0000755 0001750 0001750 00000000000 11163003132 024303 5 ustar tony tony FontChooser/src/com/connectina/swing/fontchooser/resources/image/FontChooser32Color.png 0000644 0001750 0001750 00000000602 11142134112 030404 0 ustar tony tony ‰PNG IHDR D¤ŠÆ ¥PLTEzˆ–y‡•óóóx†”òòóx…“ññòalw¬Èåw…’ñññuƒ‘ðððu‚ïïïs€ŽîîîqŒììíp}Šëëìo|‰êêëm{ˆééély†èèèjw„çççiv‚ææçgtååæeq~ääåcp|bnzããä`lxââã_kw]iuááâ\ht[frYepààáWcoWbnUalT`kT_jèèéS^iª¦ 4ÑR ˜IDATxÚÝ“Ë Ã0CIVI)кÿ %öP£ð±s詾<È"(C Á!Ùí;ĸŽaN¥‡WL¼~Êp÷Ê!aK –CÕ#{YR)HõƒJ´óœã‚ÿ×È ÞÇyuú‡¼œ{ ª7áf©j‰ƒÔ‹Ñë1b ¢Yuù5ŸÃU_Ñ=on¼(uBnäQ IEND®B`‚ FontChooser/src/com/connectina/swing/fontchooser/resources/image/FontChooser16Mono.png 0000644 0001750 0001750 00000000136 11142134112 030242 0 ustar tony tony ‰PNG IHDR 7ˆÂÌ %IDAThÞc```¨ÿÇàp‹! ¹ A&†ø_ d ¹@ðÿ? ‡°ÀÜžáQ IEND®B`‚ FontChooser/src/com/connectina/swing/fontchooser/resources/image/FontChooser16Color.png 0000644 0001750 0001750 00000000373 11142134112 030413 0 ustar tony tony ‰PNG IHDR (-S WPLTEzˆ–x†”óóóv„’ññò¨Æätïïðeq}qŒííín{‰êêëkx…ççèhuææædq}ääåamyããã^jvááâ[frààáXdpVamT_jª¦ !¯Ž _IDATxÚ]Q À0CqcŸìþ'Ü:×VZɇy%"Ë (Þ…›mSÄ´îéï”+ †¨ª4¤¦(À`¸–·=ñ$p´ß3n¤À…™ü,ݬm KýüªÃòÜoß IEND®B`‚ FontChooser/src/com/connectina/swing/fontchooser/resources/image/FontChooser32Mono.png 0000644 0001750 0001750 00000000157 11142134112 030243 0 ustar tony tony ‰PNG IHDR [GY 6IDAThÞc` úÿÿÿ180lbˆÿw÷ˆ ³v‘K€‚ÊÀÄÿÿÿ/b°b°60ø }íVÙë™… IEND®B`‚ FontChooser/src/com/connectina/swing/fontchooser/FontChooserDialog.form 0000644 0001750 0001750 00000014351 11141622270 025457 0 ustar tony tony FontChooser/lgpl-3.0.txt 0000644 0001750 0001750 00000016727 11142413426 014063 0 ustar tony tony GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc.