mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Fixed import style in EditorConsole.java
This commit is contained in:
parent
81a562e0ed
commit
15f3d1f8e7
@ -33,6 +33,7 @@ import java.util.List;
|
|||||||
import javax.swing.JScrollPane;
|
import javax.swing.JScrollPane;
|
||||||
import javax.swing.JTextPane;
|
import javax.swing.JTextPane;
|
||||||
import javax.swing.SwingUtilities;
|
import javax.swing.SwingUtilities;
|
||||||
|
import javax.swing.Timer;
|
||||||
import javax.swing.text.AttributeSet;
|
import javax.swing.text.AttributeSet;
|
||||||
import javax.swing.text.BadLocationException;
|
import javax.swing.text.BadLocationException;
|
||||||
import javax.swing.text.DefaultStyledDocument;
|
import javax.swing.text.DefaultStyledDocument;
|
||||||
@ -126,7 +127,7 @@ public class EditorConsole extends JScrollPane {
|
|||||||
|
|
||||||
// periodically post buffered messages to the console
|
// periodically post buffered messages to the console
|
||||||
// should the interval come from the preferences file?
|
// should the interval come from the preferences file?
|
||||||
new javax.swing.Timer(250, new ActionListener() {
|
new Timer(250, new ActionListener() {
|
||||||
public void actionPerformed(ActionEvent evt) {
|
public void actionPerformed(ActionEvent evt) {
|
||||||
SwingUtilities.invokeLater(new Runnable() {
|
SwingUtilities.invokeLater(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user