Domino Code Fragment

Code Name*
Platform property
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.14.70.203
Description*
This program prints the name of the platform.
Type*
Java
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
import lotus.notes.*;


class platform extends NotesThread
{
 public static void main(String argv[])
   {
       platform t = new platform();
       t.start();
   }


 public void runNotes()
   {
   try
     {
       Session s = Session.newInstance();
       String p = s.getPlatform();
       System.out.println("Platform = " + p);
     }
   catch (Exception e)
     {
       e.printStackTrace();
     }
   }
}