git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@866 d9718cc8-9f43-0410-858b-315f434eb58c
22 lines
625 B
Java
22 lines
625 B
Java
// This file is part of MicropolisJ.
|
|
// Copyright (C) 2013 Jason Long
|
|
// Portions Copyright (C) 1989-2007 Electronic Arts Inc.
|
|
//
|
|
// MicropolisJ is free software; you can redistribute it and/or modify
|
|
// it under the terms of the GNU GPLv3, with additional terms.
|
|
// See the README file, included in this distribution, for details.
|
|
|
|
package micropolisj.util;
|
|
|
|
import java.awt.*;
|
|
import javax.swing.*;
|
|
import javax.swing.table.*;
|
|
|
|
public class TranslatedStringsTable extends JTable
|
|
{
|
|
public TranslatedStringsTable(TableModel tm)
|
|
{
|
|
super(tm);
|
|
setDefaultEditor(String.class, new DefaultCellEditor(new JTextField()));
|
|
}
|
|
}
|