Font Standards on all clients

Hi,
Can anybody plz. let me know how can i setup standard fonts for
my reports to be deployed on Solaris.
Same machine same browser HTML format leads to a different
output styles. The column headers appear bold on NT and on
Solaris few column headers appear bold and some normal. Font
size and font name also found changed in few columns.
The problem is the discrepencies do not have any pattern.
Same thing that runs on NT correctly works half right and half
wrong on Solaris. I mean why does few columns headers appear
bold where as few don't?
Thanx in advance.
Harish

hello,
you should look into the font-substitution functionality
(UIFONT.ALI) which allows you to define substitution of fonts,
that are not available on the system. this is especially
usefull, if you switch between platforms (NT -> UNIX).
regards,
the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Windows Server 2012 Essentials (not R2) - all client computers offline

    The server is Windows Server 2012 Essentials (not R2). I have had this problem ever since I first installed the Windows Server 2012 Essentials server in the summer of 2013 (before R2 was released). The Windows Server 2012 Essentials server shows offline
    for all Devices under Dashboard. (Allow me to add that I just installed another site with Windows Server 2012 Essentials R2, and it was a breeze - all of the computers at the second install site are online.) I have one Windows 8.1 Pro client and the rest
    are Windows 7 Pro clients. The problem occurs on ALL client computers.
    I have removed computers from Devices in Dashboard on the server, rebooted the server, changed the client computer to a workgroup, rebooted the client computer, and reinstalled the connector software on the client computer. Same result. I
    have tried this on a Windows 7 Pro client and a Windows 8.1 Pro client with the same results.
    After running the connector on a client computer and waiting for the server to update its Devices status, if I look under Devices on the server Dashboard, the Windows 8.1 client computer will say online but within 24 hours it goes offline again. The
    Windows 7 client computers never show online. Both computers stay offline - they NEVER show an online status (referring to the status under Devices in Dashboard).
    I should make it clear that the clients can access the server shares with no problem. File synchronization works great. The clients can ping the server and the server can ping the clients. But client backups on the server fail.
    One of the most troublesome things about this problem is that it prevents the client computers from being accessed remotely using the website setup by Anywhere Access. I can login to get remote access to the shared files on the server, but
    the only computer that says "online" is the server. All of the other computers are "offline".
    The server and clients are only using Windows firewall. The clients all use Microsoft Security Essentials for their anti-virus.
    I used a troubleshooting tool that tells me that there are problems with port 6602 on the server, but the clients are all fine with port 6602. I know port 6602 is important for using Anywhere Access but I am still trying to find out more details on that.
    I have checked all of the firewall settings related to port 6602 on the server, and the firewall settings look like the standard Windows settings for this port. I used netstat to find the PID associated with the port, and I looked up the PID to find the service.
    That all looked standard, too.
    I have been working on this problem since the summer of 2013!! Does anyone have ANY suggestions?!!
    HELP!

    Hi,
    Just addition, please check if all necessary Windows updates are installed on those
    “Offline” client computer.
    When connect client computers to the Windows Server 2012 Essentials server by using the Connector software, there
    will be LAUNCHPAD on the client computer. Was this LAUNCHPAD grayed out? Please check if can access Shared Folders via this LAUNCHPAD. Meanwhile, please ping the Windows Server 2012 Essentials via IP address and server name when client computers show as
    Offline. Any find?
    Get Connected in Windows Server Essentials
    In addition, please follow the path on Server and client computer:
    %programdata%\Microsoft\Windows Server\Logs. Did you check any relevant Server-side logs and
    Client-side Logs if find more clues?
    Windows
    Server Essentials 2012/2012 R2 Log Files
    If any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Using BAPI to create users across all Clients and R/3 Systems

    Hi everyone,
    I'm currently writing a program where I'm using a BAPI to create multiple new users via central user admin (SU01) and assigning Roles to these users.
    My objective is to create these new users in all clients of all R/3 systems using RFC. At the moment, in SM59, our DEV environment is set up as "DEV", QA as "TST" and PRD as "PRD". When I use syntax:
    CALL FUNCTION 'BAPI_USER_CREATE1' DESTINATION 'TST' the system presents a logon screen to login to TST system. Can this logon be made automatic i.e. without this screen prompt?
    Also, I can't create the users in all clients of 'TST'. Our test system has 5 clients...how do I create the users in all clients of TST automatically?
    Your help will be greatly appreciated.
    Thanks.
    Sougata.

    Try to see the SAP HELP:
    RFC logon to target system (remote logon)
    RFC logon within an R/3 system can be successfully undertaken using the same user ID even if the logon is to take place in a different client.
    In principle, all necessary logon data for a particular RFC destination (language, user, client, and password) are used when an RFC logs on to the target system.
    Typically the password field (for a particular user) must be maintained when an RFC communicates with other clients or user IDs.
    If one of the fields language, client or user is not maintained for the designated RFC destination, default values are taken from the system environment (system table).
    Tips:
    With RFC communication within a single R/3 system with the same client and user the logon fields do not have to be maintained. Password entry is also unnecessary in this special case.
    If an RFC logon in online mode is unsuccessful, an RFC logon window is displayed (not during background processing) where you can logon to the target system online at runtime.
    The default values for the RFC logon screen fields are as follows:
    Client
    The standard value of the target system application server is used. This value is read from the target server's "login/system_client" profile parameter.
    User
    The system inserts the user ID of the current user in this field.
    Language
    Information from the RFC destination is used to fill the language field. If the language field has not been maintained in the destination, the current language of the calling system is inserted.
    The RFC logon window does not appear if the initial function module call of the RFC destination originates from the system-specific function group 'SRFC'. The function modules RFC_PING and RFC_SYSTEM_INFO belong to this group among others.
    If you would like to have an RFC logon window displayed regardless, you must end RFC communication to that particular RFC destination after the call using the function module 'RFC_CONNECTION_CLOSE'.
    Be aware that no logon screen is usually offered when using trusted/trusting systems.
    Documentation to authorization checks in the RFC environment can be found in RFC authorization concept.
    Max

  • Password reset for all clients

    Hi
    I need to Reset Password on ALL clients within current system for logged on User.
    Any suggestions please
    Thanks
    Regards

    Got a Program for this. Am just pasting the code..try it
    TABLES: T000, USR02.
    DATA: BEGIN OF I_USR02.
            INCLUDE STRUCTURE USR02.
    DATA: END OF I_USR02.
    SELECTION-SCREEN BEGIN OF BLOCK STANDARD
                     WITH FRAME TITLE TEXT-001
                     NO INTERVALS.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (23) TEXT-005.
    SELECTION-SCREEN END   OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (23) TEXT-004.
    PARAMETERS NO RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN COMMENT (23) TEXT-002.
    SELECTION-SCREEN END   OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (23) TEXT-005.
    PARAMETERS YES RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN COMMENT (23) TEXT-003.
    SELECTION-SCREEN END   OF LINE.
    SELECTION-SCREEN END OF BLOCK STANDARD.
    MAIN PROGRAM
      IF NO = 'X'.
        MESSAGE I999 WITH
         'Program Terminated at User Request'.
        LEAVE PROGRAM.
      ELSE.
        PERFORM CHANGE_PASSWORD.
        SELECT * FROM T000.
          SELECT * FROM USR02 CLIENT SPECIFIED
             WHERE MANDT = T000-MANDT AND
                   BNAME = SY-UNAME.
            IF USR02-MANDT = SY-MANDT.
              WRITE : 1 USR02-MANDT COLOR 6 INVERSE.
              WRITE : 5 USR02-BCODE COLOR 6 INVERSE.
            ELSE.
              WRITE : 1 USR02-MANDT COLOR COL_KEY INTENSIFIED.
              WRITE : 5 USR02-BCODE COLOR COL_BACKGROUND INTENSIFIED OFF.
            ENDIF.
            IF USR02-UFLAG = 0.
              WRITE : 24 'Not Locked' COLOR COL_BACKGROUND INTENSIFIED OFF.
            ELSEIF USR02-UFLAG = 64.
              WRITE : 24 'Locked: System Admin.' COLOR 6 INVERSE.
            ELSEIF USR02-UFLAG = 128.
              WRITE : 24 'Locked: incorrect Logons.' COLOR 6 INVERSE.
            ELSE.
            ENDIF.
            WRITE : 50 USR02-TRDAT COLOR COL_BACKGROUND INTENSIFIED OFF.
            WRITE : 61 USR02-CLASS COLOR COL_BACKGROUND INTENSIFIED OFF.
            NEW-LINE.
          ENDSELECT.
        ENDSELECT.
      ENDIF.
    TOP-OF-PAGE.
      NEW-PAGE NO-TITLE NO-HEADING.
      PERFORM LISTTITEL.
    TOP-OF-PAGE DURING LINE-SELECTION.
      PERFORM LISTTITEL.
          FORM CHANGE_PASSWORD                                          *
    FORM CHANGE_PASSWORD.
      SELECT * FROM USR02 INTO I_USR02     "grab userid and store data
        WHERE BNAME = SY-UNAME.
      ENDSELECT.
      IF SY-SUBRC NE 0.
        EXIT.
      ENDIF.
      UPDATE USR02 CLIENT SPECIFIED        "Write current client pwd over
         SET                               "other clients that have id in.
          BCODE = I_USR02-BCODE
          OCOD1 = I_USR02-OCOD1
          CODV1 = I_USR02-CODV1
          OCOD2 = I_USR02-OCOD2
          BCDA2 = I_USR02-BCDA2
          CODV2 = I_USR02-CODV2
          OCOD3 = I_USR02-OCOD3
          BCDA3 = I_USR02-BCDA3
          CODV3 = I_USR02-CODV3
          OCOD4 = I_USR02-OCOD4
          BCDA4 = I_USR02-BCDA4
          CODV4 = I_USR02-CODV4
          OCOD5 = I_USR02-OCOD5
          BCDA5 = I_USR02-BCDA5
          CODV5 = I_USR02-CODV5
          CODVN = I_USR02-CODVN
          TRDAT = I_USR02-TRDAT
          LTIME = I_USR02-LTIME
          BCDA1 = I_USR02-BCDA1
         WHERE BNAME = SY-UNAME AND
               MANDT NE SY-MANDT.          "Every client but current.
    ENDFORM.                               "CHANGE_PASSWORD
          FORM LISTTITEL                                                *
    FORM LISTTITEL.
        WRITE: / 'List of client(s) on which the Password for User',
                SY-UNAME COLOR COL_KEY INTENSIFIED,
               'has been reset.'.
      WRITE: / 'Password originated on Client : ',
                SY-MANDT COLOR COL_KEY INTENSIFIED.
      SKIP.
      WRITE: / 'System: ' COLOR COL_HEADING INVERSE,
               20 SYST-SYSID COLOR COL_KEY INTENSIFIED.
      WRITE: / 'Date:  ' COLOR COL_HEADING INVERSE,
               20 SYST-DATUM COLOR COL_HEADING INVERSE.
      WRITE: / 'Time:   ' COLOR COL_HEADING INVERSE,
               20 SYST-UZEIT COLOR COL_HEADING INVERSE.
      ULINE AT (73).
      WRITE: /(73) SPACE COLOR COL_HEADING INTENSIFIED.
      WRITE: 1 'Cl.' COLOR COL_HEADING INTENSIFIED.
      WRITE: 4  SY-VLINE.
      WRITE: 5 'Encrypted Password' COLOR COL_HEADING INTENSIFIED.
      WRITE: 23 SY-VLINE.
      WRITE: 24 'Lock Status' COLOR COL_HEADING INTENSIFIED.
      WRITE: 49 SY-VLINE.
      WRITE: 50 'Last Used' COLOR COL_HEADING INTENSIFIED.
      WRITE: 60 SY-VLINE.
      WRITE: 61 'User Grp.' COLOR COL_HEADING INTENSIFIED.
      WRITE: 73 SY-VLINE.
      ULINE /(73).
    ENDFORM.                               " LISTTITEL
    Regards

  • Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset pref

    Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset preferences and still have problem. Slow to open and in force quit "Photoshop not responding" At this point should I uninstall and start over.

    What are the performance Preferences?

  • Feature Request: Consistently Intelligent Font Lists across all CS Program

    Current Problems/Inconsistencies in Font Lists + Suggested Solutions:
    NUMBER OF FONTS SIMULTANEOUSLY DISPLAYED:
    Premiere Pro (PP): 16 (too few!)
    AE: 19 (too few!)
    Photoshop: 40 (adequate)
    Illustrator: auto-maximizing (displays as many fonts as screen supports, 50 on a 1920x1080 monitor)
    *SOLUTION: Make all font lists auto-maximizing like Illustrator!
    FONT PREVIEWS:
    PP: Yes (6 user-defined characters previewed next to font names)
    AE: No previews
    Photoshop: Yes ('Sample' displayed in each font, but too small for comfortable viewing)
    Illustrator: Yes (Each font name is displayed in actual font, but this makes it inconvenient to know the name of 'Dingbat' fonts.)
    *SOLUTION: Make all font lists display font names in left column, with 'Sample' displayed in the actual fonts to the right.  When users select any text, replace 'Sample' with the first 1-30 selected characters for instant previewing in all available fonts (e.g. selecting the '&' character would display '&' in all available fonts for instant comparison). Also make font lists resizable with a horizontal zoom bar at top of list to ensure comfortable viewing for everyone.
    SCROLL BAR:
    PP & AE: Yes
    Photoshop: Yes (perfect size and color scheme for best visibility)
    Illustrator: No (current scrolling method is frustratingly slow!)
    *SOLUTION: Add a Photoshop style scroll bar to each font list for best visibility/usability.
    FONT SELECTING WITH ARROW KEYS:
    PP & AE: Yes, by arrow-keying up/down in both the font fields and font lists
    Photoshop & Illustrator: Only from the font fields. Highlighting fonts with the arrow keys in the font lists doesn't result in font visualizing.
    *SOLUTION: Allow PREVIEWING of fonts by arrow-keying up/down in font fields and font lists in all CS programs.  I emphasize 'previewing' instead of 'selecting', since previewing fonts avoids the problem of unnecessary undos being created for each font visualized with the arrow keys. (Note: Arrow-scrolling through the font field in Photoshop's Options bar works as I suggest, by 'previewing' each font without creating unnecessary undos.  Unfortunately, arrow-scrolling through the font field in Photoshop's Character panel does create useless "Set Character Style" History states for every visualized font.  This kind of inconsistency even within a single program is crazy!)
    CONCLUSION:
    CS programs are all part of the same family, and should therefore behave as such with consistently intelligent tools.  This includes font lists with a consistently intelligent design.
    Please comment and share!  Let's get these glaring font list inconsistencies finally fixed!

    If you want to do this correctly you need to file a request for each feature.
    Ripple Sequence and Chapter Markers is already implemented. Sequence markers are the same as chapter markers, yes? (Ripple Sequence Markers, select Marker > Ripple Sequence Markers.)
    Ability to print the Keyboard Shortcuts, or save all of them as a text file. also available. (hold ctrl+shift while opening. A button with clipboard appears)
    Keyboard shortcuts to scale image zoom in Source and Program tabs. available
    Keyboard shortcuts to increase or decrease playback resolution. available
    Make Export and Title windows return to the previously adjusted size and placement. They do.
    Some feature you posted are great. How about a eyedropper tool for the Color Matte?
    I find the Magnet for Snap quite visible. There is also this feature in the Pref to make the playhead snap.

  • How can I set a customized view in finder set as standard for ALL folders?

    As I have a large number of folders, I need a specific view in finder: symbol view, sort by program and name. I tried to use this settings as standard for ALL folders, but using the 'set as standard' button does only work for the folder I am in, but not for ALL folders. I even tried to use this settings on the hard disk level in finder, but what ever I tried, it never applies to all folders. The problem occurs on each of my devices and on Yosemite OS 10.10.1. as well as Mavericks 10.9.5. Any ideas on how I can make the 'standard' work on all folders?

    As Vinod says, unique key validator would be fine.
    However, In Gabriel's blog:
    Performing a unique key validation for an attribute that is declared to be unique in the database requires a round trip to the database. This is quite expensive and there is a fast and easy way to work around it.Is false on several fronts:
    1). it's not expensive - it's actually cheaper than the alternative
    2). Unique key validator can require many trips to the DB to validate - it must check all other rows in the EO to ensure there is no duplicate, and all of those rows must be fetched into the middle tier to do the validation: this is expensive.
    The "cheapest" way to do this: unique constraint in the DB
    John

  • Is there any table in data dictionary has all clients and their email ids?

    Is there any table in data dictionary has all clients and their email ids?

    Hello,
    KNVK-ADRNP_2
    use this to pass to the bapi BAPI_BUPA_ADDRESS_GETDETAIL. this is function module & will return the address details in diff itabs..
    You can also try the Table ADR6 field SMTP_ADDR where ADDRNUMBER = KNVK-ADRNP_2.
    *************Reward points,if found useful

  • On Pages 09. Error Message "Missing Font" - text on all my files/Documents has disappeared. I know it is still there from the word count - but it is invisible. Any clues Gratefully received.

    On Pages 09. Error Message "Missing Font" - text on all my files/Documents has disappeared. I know it is still there from the word count - but it is invisible. Any clues Gratefully received.

    What version of Pages '09?
    Have you updated it to the latest iWork '09 v4.3?
    Peter

  • RMI Callback messages can not be sent to all clients

    we I send a message to all clients using RMI Callback the message dont arrive to all clients when one or more clients is disconnected without removing themselves from the hashtable at the server side .
    how i can know if the client is disconnected before sending the message to him using RMI callback taking into account that the client dosnt tell the server when he has disconnected.
    please i want a solution to this problem.
    thanks

    You seem to be making this a little complicated. During the login (or sometime) have one of the parms that are passed back to the server be a remote object on the client. It can have a nice interface like
    public void callMe(Object obj) throws .... or you could get cute and add
    pubic void shutDown() throws.... but this could be handled in the other method.
    During the call the client becomes the server and the server the client. The callMe method has no clue as to what thread it is on so it should just quickly queue up whatever it has gotten and return. It should not be doing work that will effect the Awt thread. If the client is no longer there then you should be able to catch this on the server, and continue posting other clients.
    Howie
    Your question is very similar to what I'm currently
    researching. I've got the additional complication of
    detecting when clients crash without unregistering (in
    my case unlocking) a resource. I haven't written any
    test code yet, so don't shoot me if I'm wrong, but
    here is my general strategy.
    In order to implementing RMI callbacks, it looks like
    you must make both the clients and the server register
    themselves in the RMI Registry. Parameters sent
    through RMI method calls are done by value so
    you can't simply add a listener as you normally do.
    The server will put itself in the registry using a
    well known ID. The clients will get this reference
    and ask the server for a unique ID. They will then
    register themselves in the RMI registry using this
    value. The client will then tell the server that it
    is registered. I believe if the client object is
    wrapped in a WeakReference, then when the client dies
    or ends, the reference contained in the WeakReference
    will be null. The server will perform this check on
    all registered clients to determine which clients are
    still alive.
    ,Marcus

  • Using fiefox 3.6.9 with win7 font-size is all wrong... all other browsers are working fine

    I have a problem using Firefox 3.6.7 with win 7 Professional (64bit) the font size is all over the place sometimes too big and sometimes too small when I look at the same sites in IE 8, chrome , opera and Safari they are all ok... also the same sites are OK with Firefox 3.6.9 using XP

    I have a problem using Firefox 3.6.7 with win 7 Professional (64bit) the font size is all over the place sometimes too big and sometimes too small when I look at the same sites in IE 8, chrome , opera and Safari they are all ok... also the same sites are OK with Firefox 3.6.9 using XP

  • Just upgraded to Office 365. Reinstalled my Acrobat 7.0 standard. All I need to do is convert office files to pdf but it wont work. Any suggestions?

    Just upgraded to Office 365. Reinstalled my Acrobat 7.0 standard. All I need to do is convert office files to pdf but it wont work. Any suggestions?

    Hi,
    Acrobat 7 is not tested with Office 365. However your PDF Printer is working fine then you can print your office files to it.
    Regards,
    Anoop

  • Font Book. Can you make Font Collections for all users?

    I set up a few font collections. Now when I login as another user, these font collections are not available. Each user seems to have to set up their own collections.
    Is there any way to set up font collections that all users may be able to access?
    This would be handy if all the users wanted the same collections. Is this possible?

    If you just edit the skeleton file for <code>.xinitrc</code>, then for each user that is created, it will automatically be set to run xfce.  The location of the file is <code>/etc/skel/.xinitrc</code> if that answers your question.

  • Socket - Send info to all clients?

    Hi I've tried the Sockets Tutorial on Sun and found it really great but one thing. It leaves out the idea of all clients being in touch with each other.
    import java.io.*;
    import java.net.*;
    public class KnockKnockClient {
        public static void main(String[] args) throws IOException {
             Runtime.getRuntime().exec("java KKMultiServer");
            Socket kkSocket = null;
            PrintWriter out = null;
            BufferedReader in = null;
            try {
                kkSocket = new Socket("213.67.113.48"/*my IP*/, 4444);
                   System.out.println(kkSocket);
                out = new PrintWriter(kkSocket.getOutputStream(), true);
                in = new BufferedReader(new InputStreamReader(kkSocket.getInputStream()));
            } catch (UnknownHostException e) {
                  System.out.println(e);
                System.exit(1);
            } catch (IOException e) {
                System.err.println(e);
                System.exit(1);
            BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
            String fromServer;
            String fromUser;
            while ((fromServer = in.readLine()) != null) {
                System.out.println("Server: " + fromServer);
                if (fromServer.equals("Bye."))
                    break;
                fromUser = stdIn.readLine();
             if (fromUser != null) {
                    System.out.println("Client: " + fromUser);
                     //Send info to server thread
                    out.println(fromUser);
            out.close();
            in.close();
            stdIn.close();
            kkSocket.close();
    import java.net.*;
    import java.io.*;
    public class KKMultiServer {
        public static void main(String[] args) throws IOException {
            ServerSocket serverSocket = null;
            boolean listening = true;
            try {
                serverSocket = new ServerSocket(4444);
            } catch (IOException e) {
                System.err.println(e);
                System.exit(-1);
            while (listening)
                      //Starts a new thread for each client that connects to the port
                new KKMultiServerThread(serverSocket.accept()).start();
            serverSocket.close();
    import java.net.*;
    import java.io.*;
    public class KKMultiServerThread extends Thread {
        private Socket socket = null;
        public KKMultiServerThread(Socket socket) {
         super("KKMultiServerThread");
         this.socket = socket;
         System.out.println(socket);
        public void run() {
         try {
             PrintWriter out = new PrintWriter(socket.getOutputStream(), true);
                //Gets what the client writes
             BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
             String inputLine, outputLine;
             KnockKnockProtocol kkp = new KnockKnockProtocol();
             outputLine = kkp.processInput(null);
                 //Send back to client
                 //This I would like to send to all clients and not just the one who wrote to the server
             out.println(outputLine);
             while ((inputLine = in.readLine()) != null) {
              outputLine = kkp.processInput(inputLine);
                     //Send back to client
                    //This I would like to send to all clients and not just the one who wrote to the server
              out.println(outputLine);
              if (outputLine.equals("Bye"))
                  break;
             out.close();
             in.close();
             socket.close();
         } catch (IOException e) {
             e.printStackTrace();
    import java.net.*;
    import java.io.*;
    public class KnockKnockProtocol {
        private static final int WAITING = 0;
        private static final int SENTKNOCKKNOCK = 1;
        private static final int SENTCLUE = 2;
        private static final int ANOTHER = 3;
        private static final int NUMJOKES = 5;
        private int state = WAITING;
        private int currentJoke = 0;
        private String[] clues = { "Turnip", "Little Old Lady", "Atch", "Who", "Who" };
        private String[] answers = { "Turnip the heat, it's cold in here!",
                                     "I didn't know you could yodel!",
                                     "Bless you!",
                                     "Is there an owl in here?",
                                     "Is there an echo in here?" };
        public String processInput(String theInput) {
            String theOutput = null;
            if (state == WAITING) {
                theOutput = "Knock! Knock!";
                state = SENTKNOCKKNOCK;
            } else if (state == SENTKNOCKKNOCK) {
                if (theInput.equalsIgnoreCase("Who's there?")) {
                    theOutput = clues[currentJoke];
                    state = SENTCLUE;
                } else {
                    theOutput = "You're supposed to say \"Who's there?\"! " +
                       "Try again. Knock! Knock!";
            } else if (state == SENTCLUE) {
                if (theInput.equalsIgnoreCase(clues[currentJoke] + " who?")) {
                    theOutput = answers[currentJoke] + " Want another? (y/n)";
                    state = ANOTHER;
                } else {
                    theOutput = "You're supposed to say \"" +
                       clues[currentJoke] +
                       " who?\"" +
                       "! Try again. Knock! Knock!";
                    state = SENTKNOCKKNOCK;
            } else if (state == ANOTHER) {
                if (theInput.equalsIgnoreCase("y")) {
                    theOutput = "Knock! Knock!";
                    if (currentJoke == (NUMJOKES - 1))
                        currentJoke = 0;
                    else
                        currentJoke++;
                    state = SENTKNOCKKNOCK;
                } else {
                    theOutput = "Bye.";
                    state = WAITING;
            return theOutput;
    }As you see I wrote in commented that I'd like the Thread to send the String to all connected clients, is that possible? If so please tell me how this can be done.
    //Thanks Considerate

    Hi I've tried the Sockets Tutorial on Sun and found it really great but one >thing. It leaves out the idea of all clients being in touch with each other.Consider that the clients could receive data like jwenting says below which means all traffic MUST be routed through the server
    OR you could also have the client open a Socket directly to the other client
    and send the data sans server.
    georgemc>     
    Look into multicasting (google is your friend)Unless he wants guaranteed delivery.
    sabre150>
    but don't expect it to work for clients outside of your intranet.This is true and depending on your router you may not be able to implement a class D address.
    jwenting>
    So better keep a list of connected clients and loop through that to send the >notifications. Bingo!
    (T)

  • List all clients connected in a FlexSession

    Is possible list all clients connected in a FlexSession?
    Does anyone have a link or example to share?
    Sorry for bad English....
    I´m using FlexBuilder 4.6 and Java

    Seems like a good homework assignment.
    Thanks for sharing.
    Did you have a question about this?
    How much have you done so far?
    Dave Patterson

Maybe you are looking for

  • IPod touch isn't showing up on My Computer

    I'm trying to move my pictures off of my iPod and onto my laptop, but when I go to My Computer, my iPod doesn't show up. Forums and discussions said that if it's not updated, it needs to be, so I did, but it's still not showing up.

  • Oracle Application Server 10.1.3  and IIS

    I have Oracle Application Server 10.1.3 Sucessfully on my pc. I can access the IAS welcome page using URL http://computername and I can access the Enterprise Manager login using http://computername/em. This is running on Windows XP Pro Service Pack2.

  • Event structure triggered by multiple events

    I have an events structure where one case needs to handle a button press from any of three controls from the front panel.  When i press any of the three buttons, the program is going into the correct event case.  However, once i am in the correct cas

  • Why and How to develop XML forms?

    Hi All,   I am creating a bulletin board . So I need to create XML  forms . I m not clear as to why do I need to create it and also dont know to create the same . Is there any software installation required for its creation OR else I can do it withou

  • When I connect to the iTunes store, I see that it has loaded, but none of the albums are showing.

    I connect. I can tell that the page has loaded according to the status bar at the top of the page, but nothing shows up. Just a blank screen. When i click on different tabs, the status bar changes, showing that it is working, but nothing shows up! HE