Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

jvx:client:gui:imagelibrary [2018/02/02 09:01]
admin created
jvx:client:gui:imagelibrary [2020/06/08 13:35] (current)
cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation)
Line 1: Line 1:
 ~~Title: Using the Image Library~~ ~~Title: Using the Image Library~~
  
-The Image Library is used to conveniently access pictures in an application. Pictures are usually stored in the classpath ​of an application and loaded using the complete resource path. For example:+The Image Library is used to conveniently access pictures in an application. Pictures are usually stored in the class path of an application and loaded using the complete resource path. For example:
  
 <file java> <file java>
Line 32: Line 32:
 == Example == == Example ==
  
-Our Application only uses the Image Library for the display of pictures/​icons. We use predefined pictures and additionally define our own pictures that are not contained in the Image Library. We also change some of the predefined pictures, since they do not suit our taste.+Our Application only uses the Image Library for the display of pictures/​icons. We use predefined pictures and additionally define our own pictures that are not contained in the Image Library. We also change some of the predefined pictures ​as they do not suit our taste.
  
 We define the changes in our application´s constructor:​ We define the changes in our application´s constructor:​
Line 52: Line 52:
 </​file>​ </​file>​
  
-On one of our work-screens ​we now use the Image Library for our button'pictures: ​                  +On one of our workscreens, ​we now use the Image Library for our buttons' pictures: ​                  
  
 <file java> <file java>
Line 91: Line 91:
 **<fs 20px>​Note</​fs>​** **<fs 20px>​Note</​fs>​**
  
-The Image Library saves pictures that have already been used, which prevents loading the same picture multiple times. This not only saves memory, ​it also positively affects performance. ​                                                                                                 ​+The Image Library saves pictures that have already been used, which prevents loading the same picture multiple times. This not only saves memory, ​but also positively affects performance. ​                                                                                                 ​
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information