File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11plugins  {
2-     id ' org.jetbrains.kotlin.jvm'   version ' 1.4.20 ' 
3-     id ' org.jetbrains.kotlin.plugin.serialization'   version ' 1.4.20 ' 
2+     id ' org.jetbrains.kotlin.jvm'   version ' 1.5.0 ' 
3+     id ' org.jetbrains.kotlin.plugin.serialization'   version ' 1.5.0 ' 
44}
55
66group ' intro-coroutines' 
@@ -15,7 +15,7 @@ dependencies {
1515    implementation " org.jetbrains.kotlin:kotlin-reflect" 
1616    implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1"  )
1717
18-     def  coroutines_version =  ' 1.4.2 ' 
18+     def  coroutines_version =  ' 1.5.0 ' 
1919    implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version  " 
2020    implementation " org.jetbrains.kotlinx:kotlinx-coroutines-swing:$coroutines_version  " 
2121    implementation " org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutines_version  " 
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ fun JPanel.addWideSeparator() {
145145
146146fun  setDefaultFontSize (size :  Float ) {
147147    for  (key in  UIManager .getLookAndFeelDefaults().keys.toTypedArray()) {
148-         if  (key.toString().toLowerCase ().contains(" font"  )) {
148+         if  (key.toString().lowercase ().contains(" font"  )) {
149149            val  font =  UIManager .getDefaults().getFont(key) ? :  continue 
150150            val  newFont =  font.deriveFont(size)
151151            UIManager .put(key, newFont)
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments