Main.java:13: error: class SecondVM is public, should be declared in a file named SecondVM.java
public class SecondVM {
^
Main.java:7: error: package org.eclipse.swt does not exist
import org.eclipse.swt.*;
^
Main.java:8: error: package org.eclipse.swt.graphics does not exist
import org.eclipse.swt.graphics.Point;
^
Main.java:9: error: package org.eclipse.swt.layout does not exist
import org.eclipse.swt.layout.FillLayout;
^
Main.java:10: error: package org.eclipse.swt.widgets does not exist
import org.eclipse.swt.widgets.*;
^
Main.java:48: error: cannot find symbol
Display display = Display.getDefault();
^
symbol: class Display
location: class SecondVM
Main.java:48: error: cannot find symbol
Display display = Display.getDefault();
^
symbol: variable Display
location: class SecondVM
Main.java:49: error: cannot find symbol
Shell shell = new Shell(display);
^
symbol: class Shell
location: class SecondVM
Main.java:49: error: cannot find symbol
Shell shell = new Shell(display);
^
symbol: class Shell
location: class SecondVM
Main.java:51: error: cannot find symbol
shell.setLayout(new FillLayout());
^
symbol: class FillLayout
location: class SecondVM
Main.java:53: error: cannot find symbol
Text text = new Text(shell, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL );
^
symbol: class Text
location: class SecondVM
Main.java:53: error: cannot find symbol
Text text = new Text(shell, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL );
^
symbol: class Text
location: class SecondVM
Main.java:53: error: cannot find symbol
Text text = new Text(shell, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL );
^
symbol: variable SWT
location: class SecondVM
Main.java:53: error: cannot find symbol
Text text = new Text(shell, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL );
^
symbol: variable SWT
location: class SecondVM
Main.java:53: error: cannot find symbol
Text text = new Text(shell, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL );
^
symbol: variable SWT
location: class SecondVM
Main.java:60: error: cannot find symbol
shell.setSize(new Point(300,200));
^
symbol: class Point
location: class SecondVM
16 errors