Update of /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/report
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv17586/src/java/net/sf/tails/swing/frame/report
Modified Files:
NewReportFrame.java
Log Message:
Index: NewReportFrame.java
===================================================================
RCS file: /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/report/NewReportFrame.java,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** NewReportFrame.java 5 Nov 2007 23:18:28 -0000 1.39
--- NewReportFrame.java 3 Dec 2007 18:25:22 -0000 1.40
***************
*** 88,91 ****
--- 88,92 ----
protected EnumIndicator selectedEnum;
+ private JLabel subtitle;
public NewReportFrame(Index index, StockAnalysis stockAnalysis) {
***************
*** 125,128 ****
--- 126,130 ----
reportNameField = new JTextField();
reportNameLabel = new JLabel();
+ subtitle = new JLabel();
saveScriptButton = new TailButton(new ImageIcon(iconBundle.getString("SAVE")));
openScriptButton = new TailButton(new ImageIcon(iconBundle.getString("OPEN")));
***************
*** 156,159 ****
--- 158,163 ----
reportNameField.setMaximumSize(new Dimension(170, 20));
+ subtitle.setText("Ctrl+1: code snippets Ctrl+Space: auto complete");
+
createButtonDefaultPanel.setText("Create");
createButtonDefaultPanel.addActionListener(new ActionListener() {
***************
*** 304,308 ****
openScriptButton))).addGroup(
GroupLayout.Alignment.TRAILING,
! jPanel1Layout.createSequentialGroup().addComponent(customStrategyCancelButton).addPreferredGap(
LayoutStyle.ComponentPlacement.RELATED).addComponent(customStrategyCreateButton)))
.addContainerGap()));
--- 308,312 ----
openScriptButton))).addGroup(
GroupLayout.Alignment.TRAILING,
! jPanel1Layout.createSequentialGroup().addComponent(subtitle).addContainerGap(20,20).addComponent(customStrategyCancelButton).addPreferredGap(
LayoutStyle.ComponentPlacement.RELATED).addComponent(customStrategyCreateButton)))
.addContainerGap()));
***************
*** 315,319 ****
jPanel1Layout.createSequentialGroup().addContainerGap().addComponent(customStrategyPane, GroupLayout.DEFAULT_SIZE, 251,
Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED).addGroup(
! jPanel1Layout.createParallelGroup(GroupLayout.Alignment.BASELINE).addComponent(customStrategyCreateButton)
.addComponent(customStrategyCancelButton)).addGap(18)));
newReportTabbedPane.addTab("Custom Report", customReportPanel);
--- 319,323 ----
jPanel1Layout.createSequentialGroup().addContainerGap().addComponent(customStrategyPane, GroupLayout.DEFAULT_SIZE, 251,
Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED).addGroup(
! jPanel1Layout.createParallelGroup(GroupLayout.Alignment.BASELINE).addComponent(subtitle).addComponent(customStrategyCreateButton)
.addComponent(customStrategyCancelButton)).addGap(18)));
newReportTabbedPane.addTab("Custom Report", customReportPanel);
|