EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcmsolver.transformations.pcm2lqn]

COVERAGE SUMMARY FOR SOURCE FILE [ResultWindow.java]

nameclass, %method, %block, %line, %
ResultWindow.java0%   (0/1)0%   (0/2)0%   (0/57)0%   (0/15)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ResultWindow0%   (0/1)0%   (0/2)0%   (0/57)0%   (0/15)
ResultWindow (String): void 0%   (0/1)0%   (0/52)0%   (0/13)
open (): void 0%   (0/1)0%   (0/5)0%   (0/2)

1package de.uka.ipd.sdq.pcmsolver.transformations.pcm2lqn;
2 
3import java.awt.Font;
4 
5import javax.swing.JFrame;
6import javax.swing.JScrollPane;
7import javax.swing.JTextArea;
8 
9public class ResultWindow {
10 
11        JFrame frame;
12 
13        public ResultWindow(String text) {
14                JTextArea textArea = new JTextArea(5, 20);
15                textArea.setEditable(false);
16                textArea.setText(text);
17 
18                Font font = new Font("Monospaced", Font.PLAIN, 12);
19                textArea.setFont(font);
20 
21                JScrollPane scrollPane = new JScrollPane(textArea,
22                                JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
23                                JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
24                
25                frame = new JFrame("LQN Output");
26                frame.getContentPane().add(scrollPane);
27                frame.setExtendedState(frame.getExtendedState() | frame.MAXIMIZED_BOTH);
28 
29                
30//                frame.setSize(800, 600);
31//                frame.setLocation(
32//                                (Toolkit.getDefaultToolkit().getScreenSize().width - frame
33//                                                .getSize().width) / 2, (Toolkit.getDefaultToolkit()
34//                                                .getScreenSize().height - frame.getSize().height) / 2);
35        }
36 
37        public void open() {
38                frame.setVisible(true);
39        }
40}

[all classes][de.uka.ipd.sdq.pcmsolver.transformations.pcm2lqn]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov