Changeset 177
- Timestamp:
- 03/09/07 19:43:07 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dmp/trunk/gwt-windows-1.3.3/src/DMP/client/DMPWebsite.java
r163 r177 73 73 musicServ = (MusicServAsync) GWT.create(MusicServ.class); 74 74 ServiceDefTarget endpoint = (ServiceDefTarget) musicServ; 75 String moduleRelativeURL = GWT.getModuleBaseURL() + " music";75 String moduleRelativeURL = GWT.getModuleBaseURL() + "/music"; 76 76 endpoint.setServiceEntryPoint(moduleRelativeURL); 77 77 Window.setTitle("Rubicon"); … … 98 98 99 99 // sets the logo picture 100 Image logo = new Image("C:\\Documents and Settings\\Beverly Fitzpatrick\\My" + 101 " Documents\\Visual Studio 2005\\Projects\\DMPGraphics\\Rubicon Logo Final.png"); 102 logo.setPixelSize(189, 74); //resize the logo to a resonable sizing 100 Image logo = new Image(GWT.getModuleBaseURL() + "logo.png"); 101 logo.setPixelSize(189*2, 2*74); //resize the logo to a resonable size 103 102 topPanel.add(logo); 104 103 … … 131 130 mainPanel.add(playingPanel, DockPanel.EAST); 132 131 133 mainPanel.setCellHeight(playingPanel, " 25");132 mainPanel.setCellHeight(playingPanel, "100"); 134 133 mainPanel.setCellWidth(playingPanel, "150"); 135 134 mainPanel.setBorderWidth(3); … … 151 150 } 152 151 }; 153 refreshTimer.scheduleRepeating( 30000);152 refreshTimer.scheduleRepeating(120000); 154 153 } 155 154 dmp/trunk/gwt-windows-1.3.3/src/DMP/server/MusicServImpl.java
r165 r177 15 15 16 16 import DMP.client.MusicServ; 17 import DMP.DMPXmlRpcClient;18 17 import com.flagstone.transform.*; 19 18 import com.flagstone.transform.util.*; … … 29 28 private DMPXmlRpcClient client; 30 29 private HashMap<HashMap,File> flashFileHandles = new HashMap<HashMap,File>(); 31 private String graphicsPath = "C:\\Documents and Settings\\Beverly Fitzpatrick\\My" + 32 " Documents\\Visual Studio 2005\\Projects\\DMPGraphics\\"; 30 private String graphicsPath = "//dmp//"; 33 31 34 32 // testing method … … 151 149 public Vector getSongsFromCollection() 152 150 { 153 return client.getSongsFromCollection(); 151 Vector songs = client.getSongsFromCollection(); 152 HashMap testSong = new HashMap(); 153 testSong.put("title", "asdf"); 154 testSong.put("id", "5"); 155 songs.add(testSong); 156 return songs; 154 157 } 155 158
