• R/O
  • HTTP
  • SSH
  • HTTPS

nt-manager: Commit

Nishio Tweet Managerのgit


Commit MetaInfo

Revisiona3fe8f4ccb1a9cbf802b64181b04eac800ad39ce (tree)
Time2011-09-02 04:58:04
AuthorU-nishio-PC8\nishio <spark_xp@user...>
CommiterU-nishio-PC8\nishio

Log Message

詳細表示ボタンを押したときに、発言したユーザのイメージと発言も消えてしまう問題を解決

Change Summary

Incremental Difference

--- a/src/twitter/gui/form/NishioTweetManager.form
+++ b/src/twitter/gui/form/NishioTweetManager.form
@@ -570,24 +570,27 @@
570570 <Layout>
571571 <DimensionLayout dim="0">
572572 <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"/>
576573 <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"/>
578579 </Group>
579580 </DimensionLayout>
580581 <DimensionLayout dim="1">
581582 <Group type="103" groupAlignment="0" attributes="0">
582583 <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"/>
587590 <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"/>
591594 <Component id="jPanel2" min="-2" max="-2" attributes="1"/>
592595 </Group>
593596 </Group>
@@ -617,18 +620,18 @@
617620 <DimensionLayout dim="0">
618621 <Group type="103" groupAlignment="0" attributes="0">
619622 <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"/>
626623 <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>
627629 <Group type="102" alignment="0" attributes="0">
630+ <EmptySpace max="-2" attributes="0"/>
628631 <Group type="103" groupAlignment="0" max="-2" attributes="0">
629632 <Component id="jLabel5" max="32767" attributes="1"/>
630633 <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"/>
632635 </Group>
633636 <EmptySpace type="separate" max="-2" attributes="0"/>
634637 <Group type="103" groupAlignment="0" attributes="0">
@@ -646,32 +649,24 @@
646649 <Group type="103" groupAlignment="0" max="-2" attributes="0">
647650 <Component id="updateLabel" alignment="0" max="32767" attributes="1"/>
648651 <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"/>
650653 </Group>
651654 </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>
657655 </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"/>
660658 </Group>
661659 </Group>
662660 </DimensionLayout>
663661 <DimensionLayout dim="1">
664662 <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"/>
673668 <Group type="103" groupAlignment="1" attributes="0">
674- <Group type="102" attributes="0">
669+ <Group type="102" alignment="1" attributes="0">
675670 <Group type="103" groupAlignment="3" attributes="0">
676671 <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>
677672 <Component id="userNameLabel" alignment="3" min="-2" max="-2" attributes="0"/>
@@ -687,7 +682,7 @@
687682 <Component id="locationLabel" alignment="3" min="-2" max="-2" attributes="0"/>
688683 </Group>
689684 </Group>
690- <Group type="102" attributes="0">
685+ <Group type="102" alignment="1" attributes="0">
691686 <Group type="103" groupAlignment="3" attributes="0">
692687 <Component id="jLabel9" alignment="3" min="-2" max="-2" attributes="0"/>
693688 <Component id="followingLabel" alignment="3" min="-2" max="-2" attributes="0"/>
@@ -704,51 +699,19 @@
704699 </Group>
705700 </Group>
706701 </Group>
707- <EmptySpace max="-2" attributes="0"/>
702+ <EmptySpace min="-2" pref="9" max="-2" attributes="0"/>
708703 <Group type="103" groupAlignment="0" attributes="0">
709704 <Component id="jScrollPane8" min="-2" pref="25" max="-2" attributes="0"/>
710705 <Component id="jScrollPane7" alignment="0" min="-2" pref="25" max="-2" attributes="0"/>
711706 </Group>
712707 </Group>
713- <Component id="jScrollPane6" min="-2" pref="85" max="-2" attributes="0"/>
714708 </Group>
715- <EmptySpace max="32767" attributes="0"/>
709+ <EmptySpace pref="2" max="32767" attributes="0"/>
716710 </Group>
717711 </Group>
718712 </DimensionLayout>
719713 </Layout>
720714 <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>
752715 <Component class="javax.swing.JLabel" name="jLabel3">
753716 <Properties>
754717 <Property name="text" type="java.lang.String" value="&#x30e6;&#x30fc;&#x30b6;&#x540d;"/>
@@ -898,7 +861,7 @@
898861 <DimensionLayout dim="0">
899862 <Group type="103" groupAlignment="0" attributes="0">
900863 <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"/>
902865 <EmptySpace max="-2" attributes="0"/>
903866 <Component id="streamingLabel" min="-2" pref="156" max="-2" attributes="0"/>
904867 </Group>
@@ -1065,7 +1028,7 @@
10651028 <DimensionLayout dim="0">
10661029 <Group type="103" groupAlignment="0" attributes="0">
10671030 <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"/>
10691032 <EmptySpace max="-2" attributes="0"/>
10701033 <Group type="103" groupAlignment="0" attributes="0">
10711034 <Component id="jLabel15" min="-2" max="-2" attributes="0"/>
@@ -1088,10 +1051,10 @@
10881051 <Component id="tweetLengthLabel" min="-2" max="-2" attributes="0"/>
10891052 </Group>
10901053 </Group>
1091- <EmptySpace min="-2" pref="48" max="-2" attributes="0"/>
1054+ <EmptySpace min="-2" pref="38" max="-2" attributes="0"/>
10921055 </Group>
10931056 <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"/>
10951058 <EmptySpace max="32767" attributes="0"/>
10961059 </Group>
10971060 </Group>
@@ -1146,5 +1109,58 @@
11461109 </Component>
11471110 </SubComponents>
11481111 </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>
11491165 </SubComponents>
11501166 </Form>
--- a/src/twitter/gui/form/NishioTweetManager.java
+++ b/src/twitter/gui/form/NishioTweetManager.java
@@ -153,9 +153,6 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection
153153
154154 jTabbedPane1 = new twitter.gui.component.DnDTabbedPane();
155155 jPanel1 = new javax.swing.JPanel();
156- userImageLabel = new javax.swing.JLabel();
157- jScrollPane5 = new javax.swing.JScrollPane();
158- tweetMessageBox = new javax.swing.JEditorPane();
159156 jLabel3 = new javax.swing.JLabel();
160157 jLabel4 = new javax.swing.JLabel();
161158 jLabel5 = new javax.swing.JLabel();
@@ -195,6 +192,10 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection
195192 jButton4 = new javax.swing.JButton();
196193 tweetLengthLabel = new javax.swing.JLabel();
197194 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();
198199 jMenuBar1 = new javax.swing.JMenuBar();
199200 jMenu1 = new javax.swing.JMenu();
200201 jMenuItem1 = new javax.swing.JMenuItem();
@@ -265,21 +266,6 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection
265266
266267 jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
267268
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-
283269 jLabel3.setText("ユーザ名");
284270
285271 jLabel4.setText("更新日");
@@ -366,17 +352,17 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection
366352 jPanel1Layout.setHorizontalGroup(
367353 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
368354 .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()
374355 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
375356 .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()
376362 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
377363 .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
378364 .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))
380366 .addGap(18, 18, 18)
381367 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
382368 .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
391377 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
392378 .addComponent(updateLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
393379 .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))))
399381 .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))
401383 );
402384 jPanel1Layout.setVerticalGroup(
403385 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
404386 .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()
411391 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
412392 .addGroup(jPanel1Layout.createSequentialGroup()
413393 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
@@ -433,12 +413,11 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection
433413 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
434414 .addComponent(jLabel13)
435415 .addComponent(updateLabel))))
436- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
416+ .addGap(9, 9, 9)
437417 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
438418 .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))
442421 );
443422
444423 jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder());
@@ -460,7 +439,7 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection
460439 jPanel2Layout.setHorizontalGroup(
461440 jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
462441 .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)
464443 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
465444 .addComponent(streamingLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE))
466445 );
@@ -609,7 +588,7 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection
609588 jPanel3Layout.setHorizontalGroup(
610589 jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
611590 .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)
613592 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
614593 .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
615594 .addComponent(jLabel15)
@@ -627,12 +606,42 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection
627606 .addComponent(jLabel15)
628607 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
629608 .addComponent(tweetLengthLabel)))
630- .addGap(48, 48, 48))
609+ .addGap(38, 38, 38))
631610 .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)
633612 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
634613 );
635614
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+
636645 jMenu1.setMnemonic('F');
637646 /*
638647 org.openide.awt.Mnemonics.setLocalizedText(jMenu1, "ファイル(F)");
@@ -1096,23 +1105,26 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection
10961105 getContentPane().setLayout(layout);
10971106 layout.setHorizontalGroup(
10981107 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)
11021108 .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)
11041114 );
11051115 layout.setVerticalGroup(
11061116 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
11071117 .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)
11111123 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
11121124 .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)
11161128 .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
11171129 );
11181130
@@ -1674,6 +1686,7 @@ public class NishioTweetManager extends javax.swing.JFrame implements Connection
16741686 private javax.swing.JPanel jPanel1;
16751687 private javax.swing.JPanel jPanel2;
16761688 private javax.swing.JPanel jPanel3;
1689+ private javax.swing.JPanel jPanel4;
16771690 private javax.swing.JScrollPane jScrollPane5;
16781691 private javax.swing.JScrollPane jScrollPane6;
16791692 private javax.swing.JScrollPane jScrollPane7;
Show on old repository browser