Skip to content

Commit 82097a1

Browse files
committed
Communication Tools: Change default view to External Node Msgs Recv
For communication tools, the default view should only show messages that actually hit the network.
1 parent 808859d commit 82097a1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/projections/Tools/CommunicationOverTime/CommTimeWindow.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ private void createLayout() {
173173
gbc.fill = GridBagConstraints.BOTH;
174174
mainPanel.setLayout(gbl);
175175

176-
sentMsgs = new JRadioButton("Msgs Sent", true);
176+
sentMsgs = new JRadioButton("Msgs Sent");
177177
sentMsgs.addActionListener(this);
178178
sentMsgs.setToolTipText("Number of messages sent anywhere, including to same PE");
179179
sentBytes = new JRadioButton("Bytes Sent");
@@ -191,7 +191,7 @@ private void createLayout() {
191191
receivedExternalBytes = new JRadioButton("External Bytes Recv");
192192
receivedExternalBytes.addActionListener(this);
193193
receivedExternalBytes.setToolTipText("Number of bytes received from a different PE");
194-
receivedExternalNodeMsgs = new JRadioButton("External Node Msgs Recv");
194+
receivedExternalNodeMsgs = new JRadioButton("External Node Msgs Recv", true);
195195
receivedExternalNodeMsgs.addActionListener(this);
196196
receivedExternalNodeMsgs.setToolTipText("Number of messages received from a different process");
197197
receivedExternalNodeBytes = new JRadioButton("External Node Bytes Recv");

src/projections/Tools/CommunicationPerPE/CommWindow.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ public Object doInBackground() {
437437
public void done() {
438438
milliseconds.setSelected(true);
439439
handleBtn(milliseconds);
440-
sentMsgs.setSelected(true);
441-
handleBtn(sentMsgs);
440+
receivedExternalNodeMsgs.setSelected(true);
441+
handleBtn(receivedExternalNodeMsgs);
442442
thisWindow.setVisible(true);
443443
thisWindow.repaint();
444444
}

0 commit comments

Comments
 (0)