OSDN Git Service

画面幅を誤って設定していたものを元に戻す
authoryuki <yuki@bdf3b611-c98c-6041-8292-703d9c9adbe7>
Sun, 10 Feb 2008 16:22:18 +0000 (16:22 +0000)
committeryuki <yuki@bdf3b611-c98c-6041-8292-703d9c9adbe7>
Sun, 10 Feb 2008 16:22:18 +0000 (16:22 +0000)
git-svn-id: http://192.168.11.7/svn/repository/NicoBrowser@22 bdf3b611-c98c-6041-8292-703d9c9adbe7

nbproject/project.properties
src/nicobrowser/MainWindow.form
src/nicobrowser/MainWindow.java
src/nicobrowser/NicoHttpClient.java

index 72c2bba..9d848ee 100644 (file)
@@ -30,7 +30,7 @@ javac.classpath=\
 javac.compilerargs=\r
 javac.deprecation=false\r
 javac.source=1.5\r
-javac.target=1.5\r
+javac.target=1.6\r
 javac.test.classpath=\\r
     ${javac.classpath}:\\r
     ${build.classes.dir}:\\r
index e396afb..e533133 100644 (file)
@@ -24,7 +24,7 @@
           <Group type="102" alignment="0" attributes="0">
               <EmptySpace min="-2" max="-2" attributes="0"/>
               <Group type="103" groupAlignment="0" attributes="0">
-                  <Component id="jScrollPane1" alignment="1" pref="876" max="32767" attributes="0"/>
+                  <Component id="jScrollPane1" alignment="1" pref="755" max="32767" attributes="0"/>
                   <Component id="jPanel1" min="-2" max="-2" attributes="1"/>
                   <Component id="jPanel2" min="-2" max="-2" attributes="2"/>
               </Group>
index faf4651..37dfa85 100644 (file)
@@ -259,7 +259,7 @@ public class MainWindow extends javax.swing.JFrame {
             .addGroup(layout.createSequentialGroup()
                 .addContainerGap()
                 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
-                    .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 876, Short.MAX_VALUE)
+                    .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 755, Short.MAX_VALUE)
                     .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                     .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                 .addContainerGap())
index 979da5a..6e1433e 100644 (file)
@@ -183,14 +183,10 @@ public class NicoHttpClient extends HttpClient {
             Element root = doc.getDocumentElement();
             System.out.println("ルート要素のタグ名:" + root.getTagName());
 
-            System.out.println("***** ページリスト *****");
-            // page要素のリストを取得
             NodeList list2 = root.getElementsByTagName("thumb");
-            // page要素の数だけループ
             cont = new NicoContent();
-            // page要素を取得
             Element element = (Element) list2.item(0);
-
+            
             String watch_url = ((Element) element.getElementsByTagName("watch_url").item(0)).getFirstChild().getNodeValue();
             cont.setPageLink(watch_url);