Search Results
OK to copy?
Examples 1 through 10 of
24 (0.064 seconds)
Class:
org.springframework.util.ResourceUtils
©,
Rating:
100% of 2,
C1
Class: org.apache.jmeter.plugin.PluginManager ©, Rating: 0% of 0, C1
Class: org.springframework.core.io.ClassPathResource ©, Rating: 0% of 0, C2
Class: org.springframework.util.ResourceUtils ©, Rating: 0% of 0, C1
Class: org.apache.batik.apps.svgbrowser.AboutDialog ©, Rating: 0% of 0, C1
Class: org.apache.batik.apps.svgbrowser.AboutDialog ©, Rating: 0% of 0, C1
jgoodies_animation Class: com.jgoodies.animation.tutorial.component.BlurredIconExample ©, Rating: 100% of 1, C1
Class: org.apache.batik.util.ApplicationSecurityEnforcer ©, Rating: 0% of 0, C2
Class: org.apache.batik.util.ApplicationSecurityEnforcer ©, Rating: 0% of 0, C1
jgoodies_looks Class: com.jgoodies.looks.demo.DemoFrame ©, Rating: 0% of 0, C1
090 String path = resourceLocation.substring(CLASSPATH_URL_PREFIX.length());
091 String description = "class path resource [" + path + "]";
092 URL url = Thread.currentThread().getContextClassLoader().getResource(path);
093 if (url == null) {
094 throw new FileNotFoundException(
Class: org.apache.jmeter.plugin.PluginManager ©, Rating: 0% of 0, C1
57 for (int i = 0; i < icons.length; i++)
58 {
59 URL resource = classloader.getResource(icons[i][1].trim());
60
61 if (resource == null)
Class: org.springframework.core.io.ClassPathResource ©, Rating: 0% of 0, C2
142 cl = Thread.currentThread().getContextClassLoader();
143 }
144 url = cl.getResource(this.path);
145 }
146 if (url == null) {
Class: org.springframework.util.ResourceUtils ©, Rating: 0% of 0, C1
128 String path = resourceLocation.substring(CLASSPATH_URL_PREFIX.length());
129 String description = "class path resource [" + path + "]";
130 URL url = Thread.currentThread().getContextClassLoader().getResource(path);
131 if (url == null) {
132 throw new FileNotFoundException(
Class: org.apache.batik.apps.svgbrowser.AboutDialog ©, Rating: 0% of 0, C1
172 // Add splash image
173 //
174 url = cl.getResource(Resources.getString(ICON_BATIK_SPLASH));
175 panel.add(BorderLayout.CENTER, new JLabel(new ImageIcon(url)));
176
Class: org.apache.batik.apps.svgbrowser.AboutDialog ©, Rating: 0% of 0, C1
163 // name of the project and URL
164 //
165 URL url = cl.getResource(Resources.getString(ICON_APACHE_LOGO));
166 JLabel l = new JLabel(Resources.getString(LABEL_APACHE_BATIK_PROJECT),
167 new ImageIcon(url),
jgoodies_animation Class: com.jgoodies.animation.tutorial.component.BlurredIconExample ©, Rating: 100% of 1, C1
103 private void initComponents() {
104 // Load the JavaOne logo.
105 URL url = getClass().getClassLoader().getResource(ICON_FILENAME);
106 ImageIcon javaOneLogo = new ImageIcon(url);
107 // Setup a BlurredIcon with a JavaOne logo.
Class: org.apache.batik.util.ApplicationSecurityEnforcer ©, Rating: 0% of 0, C2
263 // server base, etc..).
264 //
265 URL mainClassURL = cl.getResource(appMainClassRelativeURL);
266 if (mainClassURL == null){
267 // Something is really wrong: we would be running a class
Class: org.apache.batik.util.ApplicationSecurityEnforcer ©, Rating: 0% of 0, C1
216 public URL getPolicyURL() {
217 ClassLoader cl = appMainClass.getClassLoader();
218 URL policyURL = cl.getResource(securityPolicy);
219
220 if (policyURL == null) {
jgoodies_looks Class: com.jgoodies.looks.demo.DemoFrame ©, Rating: 0% of 0, C1
339 */
340 protected static ImageIcon readImageIcon(String filename) {
341 URL url =
342 DemoFrame.class.getClassLoader().getResource("images/" + filename);
343 return new ImageIcon(url);