Nishio Tweet Managerのgit
Revision | a3fe8f4ccb1a9cbf802b64181b04eac800ad39ce (tree) |
---|---|
Time | 2011-09-02 04:58:04 |
Author | U-nishio-PC8\nishio <spark_xp@user...> |
Commiter | U-nishio-PC8\nishio |
詳細表示ボタンを押したときに、発言したユーザのイメージと発言も消えてしまう問題を解決
@@ -570,24 +570,27 @@ | ||
570 | 570 | <Layout> |
571 | 571 | <DimensionLayout dim="0"> |
572 | 572 | <Group type="103" groupAlignment="0" attributes="0"> |
573 | - <Component id="jPanel2" alignment="0" max="32767" attributes="0"/> | |
574 | - <Component id="jPanel3" alignment="0" max="32767" attributes="0"/> | |
575 | - <Component id="jToolBar1" alignment="0" pref="721" max="32767" attributes="0"/> | |
576 | 573 | <Component id="jPanel1" alignment="0" max="32767" attributes="0"/> |
577 | - <Component id="jTabbedPane1" alignment="0" pref="721" max="32767" attributes="0"/> | |
574 | + <Component id="jPanel4" alignment="1" max="32767" attributes="0"/> | |
575 | + <Component id="jTabbedPane1" alignment="0" pref="720" max="32767" attributes="0"/> | |
576 | + <Component id="jToolBar1" alignment="0" pref="720" max="32767" attributes="0"/> | |
577 | + <Component id="jPanel3" alignment="0" max="32767" attributes="0"/> | |
578 | + <Component id="jPanel2" alignment="0" max="32767" attributes="0"/> | |
578 | 579 | </Group> |
579 | 580 | </DimensionLayout> |
580 | 581 | <DimensionLayout dim="1"> |
581 | 582 | <Group type="103" groupAlignment="0" attributes="0"> |
582 | 583 | <Group type="102" alignment="1" attributes="0"> |
583 | - <Component id="jTabbedPane1" pref="321" max="32767" attributes="0"/> | |
584 | - <EmptySpace max="-2" attributes="0"/> | |
585 | - <Component id="jPanel1" min="-2" max="-2" attributes="0"/> | |
586 | - <EmptySpace max="-2" attributes="0"/> | |
584 | + <Component id="jTabbedPane1" pref="434" max="32767" attributes="0"/> | |
585 | + <EmptySpace min="-2" pref="1" max="-2" attributes="0"/> | |
586 | + <Component id="jPanel4" min="-2" max="-2" attributes="0"/> | |
587 | + <EmptySpace min="-2" pref="2" max="-2" attributes="0"/> | |
588 | + <Component id="jPanel1" min="-2" pref="101" max="-2" attributes="0"/> | |
589 | + <EmptySpace min="-2" max="-2" attributes="0"/> | |
587 | 590 | <Component id="jToolBar1" min="-2" pref="25" max="-2" attributes="0"/> |
588 | - <EmptySpace max="-2" attributes="0"/> | |
589 | - <Component id="jPanel3" min="-2" pref="58" max="-2" attributes="0"/> | |
590 | - <EmptySpace max="-2" attributes="0"/> | |
591 | + <EmptySpace min="-2" pref="1" max="-2" attributes="0"/> | |
592 | + <Component id="jPanel3" min="-2" pref="53" max="-2" attributes="0"/> | |
593 | + <EmptySpace min="-2" pref="1" max="-2" attributes="0"/> | |
591 | 594 | <Component id="jPanel2" min="-2" max="-2" attributes="1"/> |
592 | 595 | </Group> |
593 | 596 | </Group> |
@@ -617,18 +620,18 @@ | ||
617 | 620 | <DimensionLayout dim="0"> |
618 | 621 | <Group type="103" groupAlignment="0" attributes="0"> |
619 | 622 | <Group type="102" alignment="0" attributes="0"> |
620 | - <Component id="userImageLabel" min="-2" pref="48" max="-2" attributes="0"/> | |
621 | - <EmptySpace min="-2" pref="3" max="-2" attributes="0"/> | |
622 | - <Component id="jScrollPane5" pref="666" max="32767" attributes="0"/> | |
623 | - </Group> | |
624 | - <Group type="102" alignment="0" attributes="0"> | |
625 | - <EmptySpace min="-2" max="-2" attributes="0"/> | |
626 | 623 | <Group type="103" groupAlignment="0" attributes="0"> |
624 | + <Group type="102" attributes="0"> | |
625 | + <Component id="jScrollPane7" min="-2" pref="220" max="-2" attributes="1"/> | |
626 | + <EmptySpace max="-2" attributes="0"/> | |
627 | + <Component id="jScrollPane8" min="-2" pref="189" max="-2" attributes="0"/> | |
628 | + </Group> | |
627 | 629 | <Group type="102" alignment="0" attributes="0"> |
630 | + <EmptySpace max="-2" attributes="0"/> | |
628 | 631 | <Group type="103" groupAlignment="0" max="-2" attributes="0"> |
629 | 632 | <Component id="jLabel5" max="32767" attributes="1"/> |
630 | 633 | <Component id="jLabel4" max="32767" attributes="1"/> |
631 | - <Component id="jLabel3" alignment="0" max="32767" attributes="1"/> | |
634 | + <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="1"/> | |
632 | 635 | </Group> |
633 | 636 | <EmptySpace type="separate" max="-2" attributes="0"/> |
634 | 637 | <Group type="103" groupAlignment="0" attributes="0"> |
@@ -646,32 +649,24 @@ | ||
646 | 649 | <Group type="103" groupAlignment="0" max="-2" attributes="0"> |
647 | 650 | <Component id="updateLabel" alignment="0" max="32767" attributes="1"/> |
648 | 651 | <Component id="followerLabel" alignment="0" pref="68" max="32767" attributes="1"/> |
649 | - <Component id="followingLabel" alignment="0" max="32767" attributes="1"/> | |
652 | + <Component id="followingLabel" alignment="0" min="-2" max="-2" attributes="1"/> | |
650 | 653 | </Group> |
651 | 654 | </Group> |
652 | - <Group type="102" alignment="0" attributes="0"> | |
653 | - <Component id="jScrollPane7" min="-2" pref="220" max="-2" attributes="1"/> | |
654 | - <EmptySpace max="-2" attributes="0"/> | |
655 | - <Component id="jScrollPane8" min="-2" pref="189" max="-2" attributes="0"/> | |
656 | - </Group> | |
657 | 655 | </Group> |
658 | - <EmptySpace min="-2" max="-2" attributes="0"/> | |
659 | - <Component id="jScrollPane6" pref="282" max="32767" attributes="0"/> | |
656 | + <EmptySpace max="-2" attributes="0"/> | |
657 | + <Component id="jScrollPane6" pref="293" max="32767" attributes="0"/> | |
660 | 658 | </Group> |
661 | 659 | </Group> |
662 | 660 | </DimensionLayout> |
663 | 661 | <DimensionLayout dim="1"> |
664 | 662 | <Group type="103" groupAlignment="0" attributes="0"> |
665 | - <Group type="102" max="-2" attributes="0"> | |
666 | - <Group type="103" groupAlignment="0" attributes="0"> | |
667 | - <Component id="userImageLabel" min="-2" pref="48" max="-2" attributes="0"/> | |
668 | - <Component id="jScrollPane5" alignment="0" min="-2" pref="70" max="-2" attributes="0"/> | |
669 | - </Group> | |
670 | - <EmptySpace max="-2" attributes="0"/> | |
671 | - <Group type="103" groupAlignment="0" attributes="0"> | |
672 | - <Group type="102" attributes="0"> | |
663 | + <Group type="102" alignment="0" attributes="0"> | |
664 | + <Group type="103" groupAlignment="1" max="-2" attributes="0"> | |
665 | + <Component id="jScrollPane6" alignment="1" max="32767" attributes="1"/> | |
666 | + <Group type="102" alignment="0" attributes="0"> | |
667 | + <EmptySpace max="-2" attributes="0"/> | |
673 | 668 | <Group type="103" groupAlignment="1" attributes="0"> |
674 | - <Group type="102" attributes="0"> | |
669 | + <Group type="102" alignment="1" attributes="0"> | |
675 | 670 | <Group type="103" groupAlignment="3" attributes="0"> |
676 | 671 | <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> |
677 | 672 | <Component id="userNameLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
@@ -687,7 +682,7 @@ | ||
687 | 682 | <Component id="locationLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
688 | 683 | </Group> |
689 | 684 | </Group> |
690 | - <Group type="102" attributes="0"> | |
685 | + <Group type="102" alignment="1" attributes="0"> | |
691 | 686 | <Group type="103" groupAlignment="3" attributes="0"> |
692 | 687 | <Component id="jLabel9" alignment="3" min="-2" max="-2" attributes="0"/> |
693 | 688 | <Component id="followingLabel" alignment="3" min="-2" max="-2" attributes="0"/> |
@@ -704,51 +699,19 @@ | ||
704 | 699 | </Group> |
705 | 700 | </Group> |
706 | 701 | </Group> |
707 | - <EmptySpace max="-2" attributes="0"/> | |
702 | + <EmptySpace min="-2" pref="9" max="-2" attributes="0"/> | |
708 | 703 | <Group type="103" groupAlignment="0" attributes="0"> |
709 | 704 | <Component id="jScrollPane8" min="-2" pref="25" max="-2" attributes="0"/> |
710 | 705 | <Component id="jScrollPane7" alignment="0" min="-2" pref="25" max="-2" attributes="0"/> |
711 | 706 | </Group> |
712 | 707 | </Group> |
713 | - <Component id="jScrollPane6" min="-2" pref="85" max="-2" attributes="0"/> | |
714 | 708 | </Group> |
715 | - <EmptySpace max="32767" attributes="0"/> | |
709 | + <EmptySpace pref="2" max="32767" attributes="0"/> | |
716 | 710 | </Group> |
717 | 711 | </Group> |
718 | 712 | </DimensionLayout> |
719 | 713 | </Layout> |
720 | 714 | <SubComponents> |
721 | - <Component class="javax.swing.JLabel" name="userImageLabel"> | |
722 | - <Properties> | |
723 | - <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> | |
724 | - <Color blue="0" green="0" id="black" palette="1" red="0" type="palette"/> | |
725 | - </Property> | |
726 | - <Property name="opaque" type="boolean" value="true"/> | |
727 | - </Properties> | |
728 | - </Component> | |
729 | - <Container class="javax.swing.JScrollPane" name="jScrollPane5"> | |
730 | - <Properties> | |
731 | - <Property name="horizontalScrollBar" type="javax.swing.JScrollBar" editor="org.netbeans.modules.form.ComponentChooserEditor"> | |
732 | - <ComponentRef name="null"/> | |
733 | - </Property> | |
734 | - </Properties> | |
735 | - | |
736 | - <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> | |
737 | - <SubComponents> | |
738 | - <Component class="javax.swing.JEditorPane" name="tweetMessageBox"> | |
739 | - <Properties> | |
740 | - <Property name="contentType" type="java.lang.String" value="text/html"/> | |
741 | - <Property name="editable" type="boolean" value="false"/> | |
742 | - </Properties> | |
743 | - <Events> | |
744 | - <EventHandler event="componentResized" listener="java.awt.event.ComponentListener" parameters="java.awt.event.ComponentEvent" handler="tweetMessageBoxComponentResized"/> | |
745 | - </Events> | |
746 | - <AuxValues> | |
747 | - <AuxValue name="JavaCodeGenerator_ListenersCodePost" type="java.lang.String" value="tweetMessageBox.addHyperlinkListener(hashTagHyperlinkListener);"/> | |
748 | - </AuxValues> | |
749 | - </Component> | |
750 | - </SubComponents> | |
751 | - </Container> | |
752 | 715 | <Component class="javax.swing.JLabel" name="jLabel3"> |
753 | 716 | <Properties> |
754 | 717 | <Property name="text" type="java.lang.String" value="ユーザ名"/> |
@@ -898,7 +861,7 @@ | ||
898 | 861 | <DimensionLayout dim="0"> |
899 | 862 | <Group type="103" groupAlignment="0" attributes="0"> |
900 | 863 | <Group type="102" alignment="0" attributes="0"> |
901 | - <Component id="statusBar" pref="554" max="32767" attributes="0"/> | |
864 | + <Component id="statusBar" pref="553" max="32767" attributes="0"/> | |
902 | 865 | <EmptySpace max="-2" attributes="0"/> |
903 | 866 | <Component id="streamingLabel" min="-2" pref="156" max="-2" attributes="0"/> |
904 | 867 | </Group> |
@@ -1065,7 +1028,7 @@ | ||
1065 | 1028 | <DimensionLayout dim="0"> |
1066 | 1029 | <Group type="103" groupAlignment="0" attributes="0"> |
1067 | 1030 | <Group type="102" alignment="1" attributes="0"> |
1068 | - <Component id="jScrollPane9" pref="529" max="32767" attributes="0"/> | |
1031 | + <Component id="jScrollPane9" pref="528" max="32767" attributes="0"/> | |
1069 | 1032 | <EmptySpace max="-2" attributes="0"/> |
1070 | 1033 | <Group type="103" groupAlignment="0" attributes="0"> |
1071 | 1034 | <Component id="jLabel15" min="-2" max="-2" attributes="0"/> |
@@ -1088,10 +1051,10 @@ | ||
1088 | 1051 | <Component id="tweetLengthLabel" min="-2" max="-2" attributes="0"/> |
1089 | 1052 | </Group> |
1090 | 1053 | </Group> |
1091 | - <EmptySpace min="-2" pref="48" max="-2" attributes="0"/> | |
1054 | + <EmptySpace min="-2" pref="38" max="-2" attributes="0"/> | |
1092 | 1055 | </Group> |
1093 | 1056 | <Group type="102" alignment="0" attributes="0"> |
1094 | - <Component id="jScrollPane9" min="-2" pref="53" max="-2" attributes="0"/> | |
1057 | + <Component id="jScrollPane9" min="-2" pref="48" max="-2" attributes="0"/> | |
1095 | 1058 | <EmptySpace max="32767" attributes="0"/> |
1096 | 1059 | </Group> |
1097 | 1060 | </Group> |
@@ -1146,5 +1109,58 @@ | ||
1146 | 1109 | </Component> |
1147 | 1110 | </SubComponents> |
1148 | 1111 | </Container> |
1112 | + <Container class="javax.swing.JPanel" name="jPanel4"> | |
1113 | + | |
1114 | + <Layout> | |
1115 | + <DimensionLayout dim="0"> | |
1116 | + <Group type="103" groupAlignment="0" attributes="0"> | |
1117 | + <Group type="102" alignment="0" attributes="0"> | |
1118 | + <Component id="userImageLabel" min="-2" pref="48" max="-2" attributes="0"/> | |
1119 | + <EmptySpace min="-2" max="-2" attributes="0"/> | |
1120 | + <Component id="jScrollPane5" pref="667" max="32767" attributes="0"/> | |
1121 | + </Group> | |
1122 | + </Group> | |
1123 | + </DimensionLayout> | |
1124 | + <DimensionLayout dim="1"> | |
1125 | + <Group type="103" groupAlignment="0" attributes="0"> | |
1126 | + <Component id="jScrollPane5" alignment="0" pref="58" max="32767" attributes="1"/> | |
1127 | + <Component id="userImageLabel" alignment="0" min="-2" pref="48" max="-2" attributes="1"/> | |
1128 | + </Group> | |
1129 | + </DimensionLayout> | |
1130 | + </Layout> | |
1131 | + <SubComponents> | |
1132 | + <Component class="javax.swing.JLabel" name="userImageLabel"> | |
1133 | + <Properties> | |
1134 | + <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> | |
1135 | + <Color blue="0" green="0" id="black" palette="1" red="0" type="palette"/> | |
1136 | + </Property> | |
1137 | + <Property name="opaque" type="boolean" value="true"/> | |
1138 | + </Properties> | |
1139 | + </Component> | |
1140 | + <Container class="javax.swing.JScrollPane" name="jScrollPane5"> | |
1141 | + <Properties> | |
1142 | + <Property name="horizontalScrollBar" type="javax.swing.JScrollBar" editor="org.netbeans.modules.form.ComponentChooserEditor"> | |
1143 | + <ComponentRef name="null"/> | |
1144 | + </Property> | |
1145 | + </Properties> | |
1146 | + | |
1147 | + <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> | |
1148 | + <SubComponents> | |
1149 | + <Component class="javax.swing.JEditorPane" name="tweetMessageBox"> | |
1150 | + <Properties> | |
1151 | + <Property name="contentType" type="java.lang.String" value="text/html"/> | |
1152 | + <Property name="editable" type="boolean" value="false"/> | |
1153 | + </Properties> | |
1154 | + <Events> | |
1155 | + <EventHandler event="componentResized" listener="java.awt.event.ComponentListener" parameters="java.awt.event.ComponentEvent" handler="tweetMessageBoxComponentResized"/> | |
1156 | + </Events> | |
1157 | + <AuxValues> | |
1158 | + <AuxValue name="JavaCodeGenerator_ListenersCodePost" type="java.lang.String" value="tweetMessageBox.addHyperlinkListener(hashTagHyperlinkListener);"/> | |
1159 | + </AuxValues> | |
1160 | + </Component> | |
1161 | + </SubComponents> | |
1162 | + </Container> | |
1163 | + </SubComponents> | |
1164 | + </Container> | |
1149 | 1165 | </SubComponents> |
1150 | 1166 | </Form> |
@@ -153,9 +153,6 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
153 | 153 | |
154 | 154 | jTabbedPane1 = new twitter.gui.component.DnDTabbedPane(); |
155 | 155 | jPanel1 = new javax.swing.JPanel(); |
156 | - userImageLabel = new javax.swing.JLabel(); | |
157 | - jScrollPane5 = new javax.swing.JScrollPane(); | |
158 | - tweetMessageBox = new javax.swing.JEditorPane(); | |
159 | 156 | jLabel3 = new javax.swing.JLabel(); |
160 | 157 | jLabel4 = new javax.swing.JLabel(); |
161 | 158 | jLabel5 = new javax.swing.JLabel(); |
@@ -195,6 +192,10 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
195 | 192 | jButton4 = new javax.swing.JButton(); |
196 | 193 | tweetLengthLabel = new javax.swing.JLabel(); |
197 | 194 | jLabel15 = new javax.swing.JLabel(); |
195 | + jPanel4 = new javax.swing.JPanel(); | |
196 | + userImageLabel = new javax.swing.JLabel(); | |
197 | + jScrollPane5 = new javax.swing.JScrollPane(); | |
198 | + tweetMessageBox = new javax.swing.JEditorPane(); | |
198 | 199 | jMenuBar1 = new javax.swing.JMenuBar(); |
199 | 200 | jMenu1 = new javax.swing.JMenu(); |
200 | 201 | jMenuItem1 = new javax.swing.JMenuItem(); |
@@ -265,21 +266,6 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
265 | 266 | |
266 | 267 | jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder()); |
267 | 268 | |
268 | - userImageLabel.setBackground(java.awt.Color.black); | |
269 | - userImageLabel.setOpaque(true); | |
270 | - | |
271 | - jScrollPane5.setHorizontalScrollBar(null); | |
272 | - | |
273 | - tweetMessageBox.setContentType("text/html"); | |
274 | - tweetMessageBox.setEditable(false); | |
275 | - tweetMessageBox.addComponentListener(new java.awt.event.ComponentAdapter() { | |
276 | - public void componentResized(java.awt.event.ComponentEvent evt) { | |
277 | - tweetMessageBoxComponentResized(evt); | |
278 | - } | |
279 | - }); | |
280 | - tweetMessageBox.addHyperlinkListener(hashTagHyperlinkListener); | |
281 | - jScrollPane5.setViewportView(tweetMessageBox); | |
282 | - | |
283 | 269 | jLabel3.setText("ユーザ名"); |
284 | 270 | |
285 | 271 | jLabel4.setText("更新日"); |
@@ -366,17 +352,17 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
366 | 352 | jPanel1Layout.setHorizontalGroup( |
367 | 353 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
368 | 354 | .addGroup(jPanel1Layout.createSequentialGroup() |
369 | - .addComponent(userImageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE) | |
370 | - .addGap(3, 3, 3) | |
371 | - .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 666, Short.MAX_VALUE)) | |
372 | - .addGroup(jPanel1Layout.createSequentialGroup() | |
373 | - .addContainerGap() | |
374 | 355 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
375 | 356 | .addGroup(jPanel1Layout.createSequentialGroup() |
357 | + .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE) | |
358 | + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | |
359 | + .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE)) | |
360 | + .addGroup(jPanel1Layout.createSequentialGroup() | |
361 | + .addContainerGap() | |
376 | 362 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
377 | 363 | .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
378 | 364 | .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
379 | - .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) | |
365 | + .addComponent(jLabel3)) | |
380 | 366 | .addGap(18, 18, 18) |
381 | 367 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
382 | 368 | .addComponent(locationLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 183, javax.swing.GroupLayout.PREFERRED_SIZE) |
@@ -391,23 +377,17 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
391 | 377 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
392 | 378 | .addComponent(updateLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
393 | 379 | .addComponent(followerLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 68, Short.MAX_VALUE) |
394 | - .addComponent(followingLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) | |
395 | - .addGroup(jPanel1Layout.createSequentialGroup() | |
396 | - .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE) | |
397 | - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | |
398 | - .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE))) | |
380 | + .addComponent(followingLabel)))) | |
399 | 381 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
400 | - .addComponent(jScrollPane6, javax.swing.GroupLayout.DEFAULT_SIZE, 282, Short.MAX_VALUE)) | |
382 | + .addComponent(jScrollPane6, javax.swing.GroupLayout.DEFAULT_SIZE, 293, Short.MAX_VALUE)) | |
401 | 383 | ); |
402 | 384 | jPanel1Layout.setVerticalGroup( |
403 | 385 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
404 | 386 | .addGroup(jPanel1Layout.createSequentialGroup() |
405 | - .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | |
406 | - .addComponent(userImageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE) | |
407 | - .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)) | |
408 | - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | |
409 | - .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | |
410 | - .addGroup(jPanel1Layout.createSequentialGroup() | |
387 | + .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) | |
388 | + .addComponent(jScrollPane6) | |
389 | + .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup() | |
390 | + .addContainerGap() | |
411 | 391 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
412 | 392 | .addGroup(jPanel1Layout.createSequentialGroup() |
413 | 393 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
@@ -433,12 +413,11 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
433 | 413 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) |
434 | 414 | .addComponent(jLabel13) |
435 | 415 | .addComponent(updateLabel)))) |
436 | - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | |
416 | + .addGap(9, 9, 9) | |
437 | 417 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
438 | 418 | .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE) |
439 | - .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))) | |
440 | - .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 85, javax.swing.GroupLayout.PREFERRED_SIZE)) | |
441 | - .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) | |
419 | + .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)))) | |
420 | + .addContainerGap(2, Short.MAX_VALUE)) | |
442 | 421 | ); |
443 | 422 | |
444 | 423 | jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder()); |
@@ -460,7 +439,7 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
460 | 439 | jPanel2Layout.setHorizontalGroup( |
461 | 440 | jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
462 | 441 | .addGroup(jPanel2Layout.createSequentialGroup() |
463 | - .addComponent(statusBar, javax.swing.GroupLayout.DEFAULT_SIZE, 554, Short.MAX_VALUE) | |
442 | + .addComponent(statusBar, javax.swing.GroupLayout.DEFAULT_SIZE, 553, Short.MAX_VALUE) | |
464 | 443 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
465 | 444 | .addComponent(streamingLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)) |
466 | 445 | ); |
@@ -609,7 +588,7 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
609 | 588 | jPanel3Layout.setHorizontalGroup( |
610 | 589 | jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
611 | 590 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup() |
612 | - .addComponent(jScrollPane9, javax.swing.GroupLayout.DEFAULT_SIZE, 529, Short.MAX_VALUE) | |
591 | + .addComponent(jScrollPane9, javax.swing.GroupLayout.DEFAULT_SIZE, 528, Short.MAX_VALUE) | |
613 | 592 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
614 | 593 | .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
615 | 594 | .addComponent(jLabel15) |
@@ -627,12 +606,42 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
627 | 606 | .addComponent(jLabel15) |
628 | 607 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
629 | 608 | .addComponent(tweetLengthLabel))) |
630 | - .addGap(48, 48, 48)) | |
609 | + .addGap(38, 38, 38)) | |
631 | 610 | .addGroup(jPanel3Layout.createSequentialGroup() |
632 | - .addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE) | |
611 | + .addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE) | |
633 | 612 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
634 | 613 | ); |
635 | 614 | |
615 | + userImageLabel.setBackground(java.awt.Color.black); | |
616 | + userImageLabel.setOpaque(true); | |
617 | + | |
618 | + jScrollPane5.setHorizontalScrollBar(null); | |
619 | + | |
620 | + tweetMessageBox.setContentType("text/html"); | |
621 | + tweetMessageBox.setEditable(false); | |
622 | + tweetMessageBox.addComponentListener(new java.awt.event.ComponentAdapter() { | |
623 | + public void componentResized(java.awt.event.ComponentEvent evt) { | |
624 | + tweetMessageBoxComponentResized(evt); | |
625 | + } | |
626 | + }); | |
627 | + tweetMessageBox.addHyperlinkListener(hashTagHyperlinkListener); | |
628 | + jScrollPane5.setViewportView(tweetMessageBox); | |
629 | + | |
630 | + javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4); | |
631 | + jPanel4.setLayout(jPanel4Layout); | |
632 | + jPanel4Layout.setHorizontalGroup( | |
633 | + jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | |
634 | + .addGroup(jPanel4Layout.createSequentialGroup() | |
635 | + .addComponent(userImageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE) | |
636 | + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | |
637 | + .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 667, Short.MAX_VALUE)) | |
638 | + ); | |
639 | + jPanel4Layout.setVerticalGroup( | |
640 | + jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | |
641 | + .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE) | |
642 | + .addComponent(userImageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE) | |
643 | + ); | |
644 | + | |
636 | 645 | jMenu1.setMnemonic('F'); |
637 | 646 | /* |
638 | 647 | org.openide.awt.Mnemonics.setLocalizedText(jMenu1, "ファイル(F)"); |
@@ -1096,23 +1105,26 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
1096 | 1105 | getContentPane().setLayout(layout); |
1097 | 1106 | layout.setHorizontalGroup( |
1098 | 1107 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
1099 | - .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) | |
1100 | - .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) | |
1101 | - .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 721, Short.MAX_VALUE) | |
1102 | 1108 | .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
1103 | - .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 721, Short.MAX_VALUE) | |
1109 | + .addComponent(jPanel4, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) | |
1110 | + .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 720, Short.MAX_VALUE) | |
1111 | + .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 720, Short.MAX_VALUE) | |
1112 | + .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) | |
1113 | + .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) | |
1104 | 1114 | ); |
1105 | 1115 | layout.setVerticalGroup( |
1106 | 1116 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
1107 | 1117 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() |
1108 | - .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 321, Short.MAX_VALUE) | |
1109 | - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | |
1110 | - .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) | |
1118 | + .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 434, Short.MAX_VALUE) | |
1119 | + .addGap(1, 1, 1) | |
1120 | + .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) | |
1121 | + .addGap(2, 2, 2) | |
1122 | + .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE) | |
1111 | 1123 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
1112 | 1124 | .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE) |
1113 | - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | |
1114 | - .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE) | |
1115 | - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | |
1125 | + .addGap(1, 1, 1) | |
1126 | + .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE) | |
1127 | + .addGap(1, 1, 1) | |
1116 | 1128 | .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
1117 | 1129 | ); |
1118 | 1130 |
@@ -1674,6 +1686,7 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection | ||
1674 | 1686 | private javax.swing.JPanel jPanel1; |
1675 | 1687 | private javax.swing.JPanel jPanel2; |
1676 | 1688 | private javax.swing.JPanel jPanel3; |
1689 | + private javax.swing.JPanel jPanel4; | |
1677 | 1690 | private javax.swing.JScrollPane jScrollPane5; |
1678 | 1691 | private javax.swing.JScrollPane jScrollPane6; |
1679 | 1692 | private javax.swing.JScrollPane jScrollPane7; |