package etf.si.projekat.data_vision;

import java.awt.BorderLayout;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTabbedPane;

public class MainFrame extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8473311815777249707L;
	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					MainFrame frame = new MainFrame();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public MainFrame() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
	}

}

@@ -64,18 +64,83 @@
 ayout;%0D%0A
+import java.util.logging.Logger;%0D%0Aimport java.util.logging.Level;
 %0D%0A
-
 import j
@@ -333,16 +333,100 @@
 Frame %7B%0D
+%0A%09private static final Logger logger = Logger.getLogger(MainFrame.class.getName());%0D
 %0A%0D%0A%09/**%0D
@@ -810,27 +810,56 @@
 %09%09%09%09
-%09e.printStackTrace(
+%0D%0A%0D%0A%09%09%09%09%09logger.log( Level.SEVERE, %22context%22, e 
 );%0D%0A

Update MainFrame.java