|
|
@ -18,21 +18,12 @@ import com.fr.design.gui.imenutable.UIMenuNameableCreator; |
|
|
|
import com.fr.design.gui.itextfield.UITextField; |
|
|
|
import com.fr.design.gui.itextfield.UITextField; |
|
|
|
import com.fr.design.mainframe.chart.gui.ChartTypePane.ComboBoxPane; |
|
|
|
import com.fr.design.mainframe.chart.gui.ChartTypePane.ComboBoxPane; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.Inter; |
|
|
|
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.BoxLayout; |
|
|
|
import java.awt.*; |
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
|
|
import javax.swing.SwingUtilities; |
|
|
|
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
|
|
|
import java.awt.FlowLayout; |
|
|
|
|
|
|
|
import java.awt.Graphics; |
|
|
|
|
|
|
|
import java.awt.GridLayout; |
|
|
|
|
|
|
|
import java.awt.Image; |
|
|
|
|
|
|
|
import java.awt.Rectangle; |
|
|
|
|
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionListener; |
|
|
|
import java.awt.event.ActionListener; |
|
|
|
import java.awt.event.FocusEvent; |
|
|
|
import java.awt.event.FocusEvent; |
|
|
@ -140,7 +131,6 @@ public class ChartTypeButtonPane extends BasicBeanPane<ChartCollection> implemen |
|
|
|
try { |
|
|
|
try { |
|
|
|
Chart newChart = (Chart) chart.clone(); |
|
|
|
Chart newChart = (Chart) chart.clone(); |
|
|
|
editingCollection.addNamedChart(name, newChart); |
|
|
|
editingCollection.addNamedChart(name, newChart); |
|
|
|
editingCollection.addFunctionRecord(newChart); |
|
|
|
|
|
|
|
} catch (CloneNotSupportedException e1) { |
|
|
|
} catch (CloneNotSupportedException e1) { |
|
|
|
FineLoggerFactory.getLogger().error("Error in Clone"); |
|
|
|
FineLoggerFactory.getLogger().error("Error in Clone"); |
|
|
|
} |
|
|
|
} |
|
|
|