Privat Chat

Hi,
I am newbie to cirrus and creating one room video/audio as well as text chat application.
I have used NetGroup concept for room chat and seems to be working fine.
Now I want to create private chat in same room where users will see all other attendees in the room and they can
start there private chat with them.
So here I ahave stucked as I dont know how others will get list of other online users in group and second how
can I send private chat to them?

Nice workaround dude.. I didn't saw that one
Though, it's still not a real solution. What I was willing is to have a textfield on the stage and whatever the scroll or size of the textfield to be able to take the boundaries of a character. For instance, just to place the text field and then to get ANY character without stretching around the size of it
I solved the problem by always scrolling down when new message arrives, but.. that sucks really!
That's why I cant resize the text field, because then all goes wrong with the scroll and stuff.. I mean if the user had scrolled up a bit and later someone talks in the chat (let's say we talk about group chat), the temp height that I'll assign should be unknown.. althouth I got textHeight and I'm not sure if I can calculate the total height minus the scrolled size... But if I should do all of this there is no point to do it that way.. it's too cheap as performance and my time too.
Anyway I will appretiate more ideas about that and also I think the subject is interesting to all the guys who wants to create emoticons in their chats right

Similar Messages

  • How to make a private chat look in another window

    hi
       iam new to flex
    and now what my question is when i double click on the particular user present in the chat room
    i should get chat open in new window
    is this possible please help out in this issue

    hi
       thanks for urs replys its helping a lot
    and now i wnt some information from u abt private chat
    see wt my doubt is iam getting user name and uid when i click on the user in the userlist with that iam creating an instance to the class "ChatMessageDescriptor" and with that iam sending msgs to the user clicked by the property recipient
    and iam initiating that private chat in seperate label privatechat space and now wt the problem is when i click on the username
    for example iam the user A and i clicked on user B the window gets open for userA and user A can send msgs to user B directly
    but where as in place of User B the window doesnot get open,  only when he clicks on User A  he is able to send msgs to User A and he can chat w User A directly from there on words
    so wt i want is how to intiate him that chat is open with User A  so click him in the userlist  or directly open him a window as soon as User A clicks
    User B is this possible plz refer my code u will get clearly understood the problem
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application layout="absolute"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        applicationComplete="init()"
        xmlns:rtc="AfcsNameSpace">
        <mx:Script>
            <![CDATA[
                import com.adobe.rtc.pods.simpleChatClasses.ChatMessageDescriptor;
                import com.adobe.coreUI.controls.WhiteBoard;
                import com.adobe.rtc.sharedModel.SharedCollection;
                import com.adobe.rtc.sharedManagers.UserManager;
                import com.adobe.rtc.sharedManagers.descriptors.UserDescriptor;
                import mx.controls.listClasses.IListItemRenderer;
                import mx.controls.listClasses.ListBaseSelectionData;
                import mx.collections.IList;
                import mx.events.ItemClickEvent;
                import mx.controls.Alert;
                import com.adobe.rtc.events.AuthenticationEvent;
                import com.adobe.rtc.events.ConnectSessionEvent;
                import com.adobe.rtc.events.SessionEvent;
                import mx.core.IFlexDisplayObject;
                import mx.managers.PopUpManager;
                import flash.net.*;
                import mx.collections.ArrayCollection;
                import com.adobe.rtc.pods.simpleChatClasses.SimpleChatModel;
                import com.adobe.rtc.events.ChatEvent;
                private const applicationTitle:String = "AFCS Sample Application";
                  [Bindable]
           public var chatModel:SimpleChatModel;
           public var clickeduser:UserDescriptor = new UserDescriptor;
             public var userwnt:String=new String;
              public var clickusername:String=new String;
               public var selindex:int;
               public var count:int;
                private function init():void
                    sess.addEventListener(SessionEvent.ERROR, onEventNotification);
                    sess.addEventListener(SessionEvent.SYNCHRONIZATION_CHANGE, onEventNotification);
                    auth.addEventListener(AuthenticationEvent.AUTHENTICATION_FAILURE, onEventNotification);
                    auth.addEventListener(AuthenticationEvent.AUTHENTICATION_SUCCESS, onEventNotification);
                    popup(loginWindow);
                private function popup(window:IFlexDisplayObject):void
                    PopUpManager.addPopUp(window, this, true);
                    PopUpManager.centerPopUp(window);
                    window.visible = true;
                 * Process AFCS Events
                private function onEventNotification(p_event:Event):void
                    if (p_event.type == SessionEvent.SYNCHRONIZATION_CHANGE) {
                        if (sess.isSynchronized) {
                            // isSyncronized==true : we are connected to the room
                            panel.title = "Connected to room " + sess.roomURL;
                            PopUpManager.removePopUp(loginWindow);
                        } else {
                            // isSyncronized==false : we are disconnected from the room
                            panel.title = applicationTitle;
                            sess.roomURL = null;
                            notificationMessage.text = "";
                            popup(loginWindow);
                    else if (p_event.type == AuthenticationEvent.AUTHENTICATION_SUCCESS) {
                        // Authentication succeeded
                        notificationMessage.text = "Authentication Succeeded";
                    else if (p_event.type == AuthenticationEvent.AUTHENTICATION_FAILURE) {
                        // Authentication failed : bad password or invalid username
                        notificationMessage.text = "Authentication Failed";
                    else if (p_event.type == SessionEvent.ERROR) {
                        // Generic session error, but this can happen if you mispell the account/room names
                        // (sError.error.name == "INVALID_INSTANCE" and sError.error.message == "Invalid Instance")
                        var sError:SessionEvent = p_event as SessionEvent;
                        notificationMessage.text = sError.error.message;
                    else
                        notificationMessage.text = "Got event " + p_event;
                private function login():void
                    notificationMessage.text = "";
                    auth.userName = username.text;
                    auth.password = passwordBox.visible ? password.text : null; // password==null : the user is a guest
                     userwnt=username.text;
                    sess.roomURL = roomURL.text;       
                    sess.login();
                protected function buildModel():void
                    // Create the model: just calling the constructor won't create the collection node or pass the messages.
                    // Call subscribe and give it a shared ID while creating the model.
                    // The shared ID becomes the name of the collection node.
                      if(clickusername==userwnt)
                         Alert.show(clickusername);
                         viewStack.selectedChild=white;
                    chatModel = new SimpleChatModel();
                    chatModel.sharedID = "myChat_SimpleChatModel";                               
                    chatModel.subscribe();                       
                    chatModel.addEventListener(ChatEvent.HISTORY_CHANGE, onChatMsg);
                    this.addEventListener(KeyboardEvent.KEY_UP, onKeyStroke);
                 public var cmd:ChatMessageDescriptor = new ChatMessageDescriptor();
                public function userclick(bharath):void
                    count=0;     
                    selindex=bharath;
                    clickeduser= sess.userManager.userCollection[bharath] as UserDescriptor;
                    var orignaluser:UserDescriptor = sess.userManager.userCollection[0] as UserDescriptor;
                    var username=orignaluser.displayName;
                    clickusername=clickeduser.displayName;  
                    cmd= new ChatMessageDescriptor();           
                    cmd.recipient=clickeduser.userID;
                    cmd.recipientDisplayName=clickusername;
                    cmd.msg="hi";               
                    viewStack.selectedChild=white;
                      buildModel();                
                    chatModel.sendMessage(cmd);                                  
                    protected function clearChat():void
                    chat_mesg_area.text = "";
                    chatModel.clear();
                protected function submitChat(str:String):void
                 if(count==0)
                 clearChat();
                 count=1;
                var clickeduser:UserDescriptor = sess.userManager.userCollection[selindex] as UserDescriptor;
                var clickusername=clickeduser.displayName;  
                 cmd= new ChatMessageDescriptor();           
                    cmd.recipient=clickeduser.userID;
                    cmd.recipientDisplayName=clickusername;
                    cmd.msg=chat_mesg_input.text;                 
                    chatModel.sendMessage(cmd);
                    chat_mesg_input.text = "";               
                protected function onChatMsg(p_evt:ChatEvent):void
                    if(p_evt.message != null && p_evt.message.msg != null && p_evt.message.displayName != null)
                        chat_mesg_area.text += "\r\n" +  p_evt.message.displayName + ": " + p_evt.message.msg;
                    else
                        chat_mesg_area.text = "";   
                protected function onKeyStroke(p_evt:KeyboardEvent):void
                    if(p_evt.keyCode == Keyboard.ENTER) {
                        submitChat(chat_mesg_input.text);
            ]]>
        </mx:Script>       
        <rtc:AdobeHSAuthenticator id="auth"/>       
        <rtc:RoomSettings id="settings" autoPromote="true"/>
        <mx:Panel id="panel" title="{applicationTitle}" width="100%" height="100%" paddingLeft="5" paddingTop="5" paddingRight="5" paddingBottom="5">
            <!--
             | Login Dialog Box
             -->
            <mx:TitleWindow id="loginWindow" title="Connect to Room" visible="false">
                <mx:VBox>
                    <mx:HBox>
                        <mx:Label text="Room URL:" width="70"/>
                        <mx:TextInput id="roomURL" width="295" tabIndex="1">
                            <mx:text>http://connect.acrobat.com/exampleURL/exampleroom</mx:text>
                        </mx:TextInput>
                    </mx:HBox>
                    <mx:HBox>
                        <mx:Label text="Username:" width="70"/>
                        <mx:TextInput id="username" tabIndex="2">
                            <mx:text>guest</mx:text>
                        </mx:TextInput>           
                        <mx:Button label="Login" click="login()" width="126" tabIndex="4"/>
                    </mx:HBox>
                    <mx:HBox>
                        <mx:HBox id="passwordBox">
                        <mx:Label text="Password:" width="70"/>
                        <mx:TextInput id="password" displayAsPassword="true" tabIndex="3"/>
                        </mx:HBox>
                        <mx:RadioButton label="User" selected="true" click="passwordBox.visible = true"/>
                        <mx:RadioButton label="Guest" click="passwordBox.visible = false"/>
                    </mx:HBox>
                    <mx:Text id="notificationMessage" text=""/>
                </mx:VBox>
            </mx:TitleWindow>
            <!--
             | AFCS application UI wrapped in ConnectSession
             -->       
            <rtc:ConnectSessionContainer
                id="sess"
                authenticator="{auth}"
                initialRoomSettings="{settings}"
                autoLogin="false" width="100%" height="100%" >       
                <mx:HBox width="100%" height="100%" horizontalGap="0">
                    <mx:VBox>
                        <mx:TabBar dataProvider="viewStack" direction="vertical" width="100" verticalGap="0"/>
                        <!--mx:Button label="Disconnect" click="sess.close()"/-->
                    </mx:VBox>
                    <mx:ViewStack id="viewStack" width="100%" height="100%" borderSides="left top right bottom" borderStyle="solid" borderThickness="2">
                        <!--
                         | Chat pod and roster
                         -->
                        <mx:HBox label="Chat" width="100%" height="100%">
                            <rtc:SimpleChat width="40%" height="100%"/>
                            <rtc:WebCamera left="0" right="0" top="0" bottom="0" width="40%" height="100%"/>
                            <mx:List alternatingItemColors="[#DFDFDF,#EEEEEE]" dataProvider="{sess.userManager.userCollection}" width="10%" height="100%" labelField="displayName" id="abc" click="userclick(abc.selectedIndex)"/>
                        </mx:HBox>
                        <mx:Canvas id="white" label="privatechat" width="100%" height="100%" creationComplete="buildModel()">
                         <mx:VBox id="chatBox">
                    <rtc:WebCamera id="webcam" width="400" height="223"/>
                    <mx:TextArea width="398" height="140" id="chat_mesg_area"/>
                    <mx:HBox>
                    </mx:HBox>                               
                </mx:VBox>
                <mx:TextInput width="400" id="chat_mesg_input" y="370"/>
                <mx:Button label="Submit Chat" click="submitChat(chat_mesg_input.text)" y="398"/>
                </mx:Canvas>
                        <!--
                         | Fileshare pod
                         -->
                        <mx:Canvas label="FileShare" width="100%" height="100%">
                            <rtc:FileShare left="0" right="0" top="0" bottom="0"/>
                        </mx:Canvas>
                    </mx:ViewStack>
                </mx:HBox>
            </rtc:ConnectSessionContainer>
        </mx:Panel>
    </mx:Application>

  • How to filter simpleChat messages (private chat)

    So I tried to find the solution, but after several hours, I can't find how to do it.
    My use case:
    There is one host for a room. Others users in the room can only talk to the host, and the users can only see their private discussion with the host. Users can see the chat component only when the host is connected.
    The host use another application in which he can see the list of users who are talking to him. He can select a user in the list, and he see a simple chat with only the messages between him and the selected user.
    What I have completed (I think it can help others in the future, and maybe there are better way to do it):
    * In the user application: use the userManager property of your ConnectSessionContainer. It has an arrayCollection named hostCollection concerning the hosts who are currently connected.
    In my case, I put the chat components into a container, and use a binding to the visible property:
    visible="{connectSession.userManager.hostCollection.length>0}"
    You can also add an event listener to the userManager and listen for UserEvent.USER_CREATE and USER_REMOVE and check if event.userDescriptor.role==100  or checking the hostCollection.length of the userManager again.
    * If you subclass simpleClass, you can access to the _toCombo which is the combo box of the chat.
    You can set its visible property to false, and set its selectedItem to the first object in its dataprovider which role is equal to 100 in order to force the chat to be private with the host.
    * In the host application, you can create a list that use the ConnectSessionContainer.userManager.audienceCollection as dataProvider to have a list of the users.
    It's easy to set the combobox of the simple chat to speak only to the selected user, but what I haven't been able to do is to filter the history to only show the conversation with the selected user, and not other messages, without creating several rooms.
    I looked into the source code, but the history property of the simpleChatModel is just a string, and haven't find an easy way to filter it.
    I looked for an arrayCollection of the history nodes, because I could have use the filter property of the collection, but I haven't find it.
    So, where should I look, and what is the best way to filter the history using the recipient_Id?
    Thank you for your help...
    Sorry for the long post, but maybe it will help someone in the future...

    Thank you for your response Hironmay,
    I made some great progress by sub-classing both the simpleChat and simpleChatModel classes.
    I read on Nigel twitter feed that he hates private, and I can thank him for his love of protected members, because it made my job so much easier!
    I will explain what I did in the interest of other users, but I've got one last question: 
    In the Room Console AIR app, there is an "retract all items" in the node details of the explore tab. 
    I want to build the same button in my host chat application, but I haven't find a way to do it. 
    There is a retractItem method on the CollectionNode class, but it requires the itemID and I haven't find a way to access every item in the chat history in order to get their itemID. 
    I tried the clear() method of the chatModel, but it cleared only the current session, and leave the items in the server, and when the host logout, the items reappears when the host login again. 
    On the bright side, here is what I use for my applications:
    - Subsclassed the simpleChat in hostChat and clientChat classes, and the simpleChatModel in HostChatModel and ClientChatModel
    - subclass the ChatMessageDescriptor ==> PrivateChatMessageDescriptor with 2 properties: userConcernedId and fromHost (boolean)
    - override in the HostChatmodel the addMessage function to obtain  PrivateChatMessageDescriptor instances, and I add them in an ArrayCollection
    - When the host select a user in the RosterList, a filter is used on the ArrayCollection, and the HistoryTextArea is updated to show only the thread between the host and the user. The _toCombo is updated to send private message to this user.
    - I override the updateTypingIfNeeded method of HostChat to use a SharedProperty which contains the userId of the selected user when the host is typing or an empty string. This way, in the clientChat, I only show for the user when the host is typing a message for him, and not when other users are typing.
    - I replace the TextInput by a TextArea to enable multiline input (well, this one opened lots of problems to fix, but I have)
    - A lots of other tweaks  
    So as you can see, I made it
    But I look forward to a new set of sparks component, because it would have been much easier to extend the SimpleChat without rewritten half of it. 
    And here are some of my feature requests: 
    - In the SimpleChat class, add a protected getAndInitModel() , which would be called in the subscribe method. This way, one can switch the model without overriding the subscribe method of the Chat class.
    - Have a "multilineInput" property in the SimpleChat class to chose a TextInput or a TextArea as the user input component.
    - Provide a way to enable Host/Users interaction directly in the pods without having to create a new room for each user to "separate" them.
    I think a lot of use cases for LCCS would be to implement solutions for Customer Experience, and that will need more focus on what the host can do (private chat, ...) 
    Thank you again for your help, and thank the entire teams for this incredible service. 
    Dimitri K.

  • What is the idea of a private chat

    Hi
    i want to know what is the idea of private chatting? a user can chat with a user in a private room.
    public chat is easy. just sending the text to the server and all users can see
    what about sending a message to a server and then to a user and both users behind routers or firewalls ?
    thanks in advance.

    apacheserver wrote:
    NO body understand meI know the feeling.
    i don't want to use any server like yahoo or habberI guessed that, but unless you have a server which is visible you cannot see it. (or connect to it)
    i want to make my own server and connect to it using an applet like those any one seeEither your server can be seen from the internet or it can't. There is no, it-can-only-be-seen-by-me, unless you have a super-power we don't know about. ;)
    all i want to know how a client connect to a server and the client is behind a routerNo problem with the clients being behind a router or firewall. There is nothing special you need to do. The client just connects to a server it can see.
    Edited by: Peter__Lawrey on 21-Mar-2009 06:34

  • How long does my private chat/message convertation...

    How long does my private chat/message convertation last in skype? I can't find back one convertation from januar-feb 2015 and some from 2014. Do skype delete my message if i don't write for a while?
    This post was transferred from its previous location to create its own new topic here; its subject and/or title has been edited from "Skype messages" to differentiate the post from other inquiries and to reflect the post's content.

    thanks for the reply, how ever ive already contacted itunes support and they didnt say any thing about why my ID was disabled. So now what go directly to Tim cook an have this problem resolved ? P.S your user name is great

  • How to fetch other user's userID in 1:1 Private chat Scenario

    Please tell me steps to fetch UserID for participant in 1:1 Private Chat Scenario

    Hi Ashish,
    You need to spend more time with the docs and code. We are here to help you but we want you to make efforts first in figuring out things yourself.
    You can use userManager.userCollection to get the ArrayCollection containing all users in the room. Then you can iterate over it and get the userDescriptor you want and from there the userID.
    Thanks
    Hironmay Basu

  • Creating small groups (like private chat) within a room

    hi there, i just have some set of questions and clarifications
    1. by default, only owners can create groups right? (when i say groups i mean the one you set by doing audioPublisher.groupName), is there a way to enable the publisher to make groups as well?
    2. what is the better way for private chatting within a room (private chat for about 10-20 people within a room, more like a group)... i'm thinking to use the ability to set publisherIDs for audioSubscriber, but is there an advantage in using the audioPublisher.groupName, other than you do not have to specify all userIDs of the person that you want to subscribe to?

    Hi there, first of all, thank you for replying,
      a) Is your chat audio/video?
              we intend to use LCCS for audio conference only
       b) How many people are in the room "at large" vs in these private groups?
              i can't really give a range but idea is we will typically have a "room" for a meeting group, i'm just thinking what would be better, either a room per meeting, or a group per meeting. i mean there will be no overlapping of groupings since these will be all guests accounts.
    Right now, i'm more inclined to using a room for each meeting since if it will be done by groups then what if we make groups within a room and then suddenly our room got maxed out (5000 users), then we need to add another member for a group but we cannot add it anymore since the room is already maxed out. As far as i know now, there is a max of 5000 users per room, but is there a maximum number of rooms allowed to be created per account?
    You also mentioned that "it's great for when you need an absolutely secureenvironment", pertaining to groups, i supposed that room separation also possesses the same absolute security right?
    Another thing you mentioned is that "carries the challenge of needing a moderator in the room.", pertaining to groups again, is this because of the fact that you would have to create a group using an owner account? perhaps same thing as when creating a room using an owner account. But i mean once the group/room is created then any publisher can easily publish in that room/group right?
    Right now, i'm just using the  audioSubscriber.publisherIDs to sort of separate the users of a room but then again, it would be harder to monitor once there is a lot of users within a room

  • Private Chat functionality for basic server

    Dear all
    Firstly i hope this is the best forum for my question.
    I've written a basic chat server and client. The server recieves strings messages, and broadcasts them to everyone connected to it. I was wandering, sticking with exchanging Strings over the connection, what ways could I implement a private chat facility so one client could choose to send a message that would only be seen by one chosen user?
    Dwarfer

    Hi georgernc
    I completly agree with you. I had originally used the smack api to create a client that talked with an openfire server, however was told (as i'm doing this to create an experiement for a project) that what i was writing was too 'heavy', as there was no need for using things like rooms and roosters) which to be honest is probably true.
    So i went back to just writing a very basic server, with not authentication or security (i don't think i really need security as it will never be used outside of a closed network, and even then it will only be used for short periods of time) that just listens for a connection on serverSocket.accept(), reads from it when there is a message(String) arrives and then broadcast that mesage to all those connected to the server.
    I'm not too sure how to progress in setting up the private chat facility without using smack and openfire (as i've been told not too). I'm going to get cracking and start playing around and see what i can come up...

  • Cant exit private chat without being thrown out of game.

    whenever im in private chat and try to return to main chat in any game, im thrown out of pogo and have to re-enter again .

    can you tell me how to fix this problem ?

  • My private chat on blackplanet is too big. want it to be smaller

    when I do private chat off hits on blackplanet the chatroom is way too big?

    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Command+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Socket private chat coding help!!!

    any one get the private chat coding in TCP/IP(socket connection). I have coding the chat program that can public chat but the private chat get problem.
    anyone get the private chat tutorial and comment.....pls help me....
    hong

    Try searching around with Google. There are millions of chat programs all over the net with source.

  • Broadcasting private chats automatically !

    Hi
    I just used my Q10 for one day and this problem happen to me. The problem as the following;
    i was chating with someone at 5:00 pm to 7:30 PM, after couple of hours lets say 10:00 PM. My blackberry sent broadcast to all my contact list for the chat i did before ( 5:00 to 7:30 PM). This happen to be automatic i did not even sent any broadcast at this time. Am 100% sure that i did not do it by my self, not even touch the broadcast buttom. 
    Could this be some new service for the blackberry to share whatever i chat to all of my list? 
    please help me this is the most dangerouse problem could happen to anyone!
    Thanks in advance for readying my post :_)

    Hi uae87 and welcome to the BlackBerry Support Community Forums!
    Has this only ever happened the one time? I'm not sure how the broadcast would have been sent because there's no option to send or share a conversation.
    Can you provide me a screen shot to show that it was sent via Broadcast? You can send it to me via Private Message if you prefer.
    Thanks.
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • How do i send message only to intended client  (Private Chat) ??

    i need embed a live chat for customers where they can send their queries to Customer Care executive.
    Customer care executive will respond to thier queries.
    Now my requirement is to design a chat application in which i need to send message to the intended client only
    Client and Customer Care executive will both use the Samev Web application to chat.
    I can get the messages from client ,but how do i send message back to the intended client only ??
    Please advice me if their is any good design strategy or technology which will fulfil my requierment.
    Please guide me !!

    Requirement is :
    1. User first select the section , as per his queries
    such as
    a.Technical Support
    b. Complaints.
    c. General Queries
    (for every section there are more than one Customer Care Executive's)
    2. Now i have to first decide that to which Customer Care Executive(CCE) (thar are logged in ) i may redirect the user. The criteria is : Select CCE who is least busy.
    3. The CCE is using the same web application to respond the Customers.
    4. Now the Customer and CCE should have private conversation with each other
    Regards

  • Is there a customer private chat window online???

    looking for customer service online? phones never answer, been on hold hours today

    On this page, scroll down and click on Chat with an agent.

  • How to create private text chat with fms4(RTMFP)

    Hi,
    I am creating a simple text chat application but into the application a private chat functionality is available and i am not able to handle private chat functionality in fms4 (RTMFP) but it is working fine in (RTMP) connection and also user list area is available how will i  insert user name into the user list area text box and if any user will click user name then person will be able to do private chat.
    Thanks
    Sushil

    Here is the correct syntax :
    private static JEditorPane constructPane(String text, int normWidth, int normHeight, boolean rightAlign, boolean italic,boolean isWhite) {
              JEditorPane pane = new JEditorPane();
              pane.setEditable(false);
              pane.setContentType("text/html");
              pane.setText(
                   "<html><head></head><body>"
                   + (italic?"<i>":"")
                   + "<table><COLGROUP><COL width=\""+normWidth+"\"><THREAD><tr><td valign=\"top\" align="+(rightAlign?"\"right\"":"\"left\"")+">"
                   + text+"</td></tr></table>"
                   + (italic?"</i>":"")
                   + "</body></html>");
              pane.setSize(normWidth,normHeight);
              if(isWhite)
                   pane.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createMatteBorder(1,0,1,0,Color.WHITE),BorderFactory.createEmptyBorder(0,1,0,1)));
                   pane.setForeground(Color.WHITE);
              else {
                   pane.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createMatteBorder(1,0,1,0,Color.BLACK),BorderFactory.createEmptyBorder(0,1,0,1)));
                   pane.setForeground(Color.BLACK);
              return pane;
         }

Maybe you are looking for

  • F4 help needed in deccending order in variable screen

    Hi, I have one scenerio, in the variable screen when we press <b>f4</b> it wil display the values in decending order but i want to get that in assending order if it is the calyear that should start from the current year, let us say 2007, 2006,2005...

  • Finding image resolution in a PDF?

    I am currently working to perform some maintenance for an app that formats and resizes documents, usually PDFs. The problem happens when certain files are uploaded with an unusually large image resolution (according to the Preflight Properties, 2222.

  • Submitted assignment updates not showing in Approvals

    Hi All, I have created a project, and put a bunch of tasks in that project which have all been assigned to resources.  The resources have now started updating those tasks.  Normally, I go to my "Approvals" page and accept the task updates if they are

  • Outlook is unable to connect to the proxy server.(Error Code 10) when users opened Outlook 2010

    Hi All Exchange Server - 2013 CU2 (Windows 2012 Standard) AD Server - 2003 R2 SP2 exchange-svr01.domain.com - internal name mail.company.net - external name When users opened Outlook 2010, they will encountered "There is a problem with the proxy serv

  • Grant management process in SAP

    Hi! I am working for Dairy industry project. Our client is having Daiary cooperative Societies as share holders,Vendors & customers. I am planning to create Vendor code and customer code seperate and assign customer code/vendor codes in respective ma