Instantiating TextInput and ScrollBar

I have an application that I moved from Flash CS3. It
instantiated a fl.controls.TextInput and ScrollBar and added them
to the display list with addChild(). After moving to Flex 3 I
naively changed the packages to mx.controls and got the code to
compile. However the objects do not show on screen so I am missing
something. All the examples I can find use mxml. I would like to
create the above objects programatically because otherwise I need
to put together mxml for all the application and this will be a
major setback.
What options do I have?
Thanks!

Just for the record, I am going for now in this path
http://www.zeuslabs.us/2008/02/10/how-to-use-the-flash-cs3-component-set-in-a-flex-builder -actionscript-project/
This seems to be the easiest incremental change.

Similar Messages

  • Problem with TextInput and RadioButton

    Hi,
    I've encountered a problem with TextInput and RadioButtons.
    I've created some text fields and radio buttons for a
    feedback form under a movie _root.feedback.
    But for some reason, I can't seem to enter text into the text
    field (no blinking cursor), and I can't see the "label" next to my
    radio buttons.
    Just as a workaround, I tried moving these fields to _root,
    and now I can enter text and see the radio button labels.
    But to keep my hierarchy clean, I want to use a the
    _root.feedback movie for my feedback fields. Any ideas what could
    be going wrong? I checked Window -> Component Inspector, and
    these textInput fields are enabled.
    Stuck.
    Thanks.

    Is the text the same color as the background or do you need
    embedded fonts?

  • Problem with window repaint and scrollbars in edit mode (LabVIEW 8.0.1)

    I am running LabVIEW 8.0.1 in Windows XP SP3.  For my main VI, I ran into a strange problem about 5 months ago.  The front panel window - in both edit mode and run mode - stopped repainting itself on the right side which is most visible when you scroll up and down, but also visible with overlapping windows.  Coincident with the repaint problem, both scrollbars look disabled with greyed-out arrows and no boxes in the bars that you can click and drag to scroll the window.  The scrollbars still partially work if you hover the mouse over them and roll the mouse wheel but clicking and dragging doesn't work. 
    The front panel has lots of controls and indicators including tab-control containers and is larger in the horizontal and vertical directions so both scrollbars should be active.  But I deleted all elements on the front panel and everything in the block diagram and the problem persists.  So the problem is not directly related to some control/indicator display.
    I saved the simple VI with this problem (using a wide text line and a tall rounded box to test), then created a new VI and copied the two elements to the new VI.  This new VI does not have the repaint and scrollbar problem.  The two VIs differ slightly in memory usage and in revision number (the bad one is revision 1785 and the good one is revision 3), but otherwise the two VIs are identical.  I attached both VIs to this posting.  When you first open the bad VI, you'll see the disabled scrollbars whereas the good VI has active scrollbars.  To replicate the repaint problem, scroll the window up and down with your mouse wheel.  If it's fine when you first open the VI, click on another window, then click back on the VI window and try the mouse wheel again.  This clicking-away-and-back always causes the repaint problem for me.  I tried the VIs on two different computers both running Windows XP SP3 and LabVIEW 8.0.1 with identical results.
    Here's what I discovered from troubleshooting with the simple VIs:
    * scrollbars always disabled
    * repaint problem in main window for window widths larger then 680 pixels
    * repaint problem in main window menu toolbar for widths larger than 646 pixels
    * entire window becomes disabled for window widths larger than 1348 pixels
    * can repaint window by minimizing and restoring, but only repaints that one time
    * scrollbar boxes sometimes flicker into view but then disappear
    * scroll left and right by hovering mouse over horizontal scrollbar and using mouse wheel
    I found something similar on this forum (thread: Problem with front panel refresh) - it might be related to the CAR about the panel being offset internally.  I don't have access to LabVIEW 8.5 or later and don't plan to upgrade - I haven't tried the trial version as that user did.  I could try to copy and paste my entire block diagram to a new VI but the VI is so large I'm afraid something would break, plus I don't want this to happen again in a few months.  The problem seemed to occur after a certain number of saves (or revision number).  I save backup copies often and when the problem first happened, I was able to go back to a previous version, make the missing changes and save it with no problems, but this only delayed the problem and it came up later.  So maybe it's the revision number.  It didn't seem related to a particular addition or modification in the front panel or diagram.
    The image attached shows the repaint and scrollbar problems in the bad VI.
    This brings up a question I have - if this problem is a bug and was fixed in 8.5 and later, is there a way to apply bug fixes to earlier versions?  Or do I have to pay for an upgrade to fix such bugs?
    Solved!
    Go to Solution.
    Attachments:
    RepaintTest_Bad.gif ‏27 KB
    Test Repaint - From Bad VI, scrollbar and repaint problems.vi ‏7 KB
    Test Repaint - From Blank VI, no problems.vi ‏5 KB

    Seems something got corrupted with this VI. Copy things over to a fresh VI and things should be OK.
    See also this recent report of a similar issue.
    LabVIEW Champion . Do more with less code and in less time .

  • Please, Help Embedding Fonts in TextArea , TextInput and Alert Components

    Please, forgive my bad english.
    Here is my problem (using Flash CS3 ActionScript 2).
    I have on the stage :
    • an instance of TextArea with Instance Name :
    message_ta
    • an instance of TextInput with instance Name : name_ti
    • and I have in the library an instance of Alert
    component, with default linkage Identifier : Alert
    for each one of this components I need to embed the same
    font.
    I already created a New Font in the library, choosing the
    font I want to use, giving it name "my_font" and size 8px.
    Now, please, can someone help me to write the actions to
    embed that font (my_font) inside the TextArea, TextInput and Alert
    components ?
    Thank you .

    You're right,my mistake, components don't have a font
    parameter, I was thinking of the textField. In any case you can use
    setStyle.
    1. Import the font(s) that you want to use into your movie's
    Library.
    2. Set each font's Linkage to be exported for Actionscript.
    Set the identifier name as you like
    3. Set your component(s) on the stage.
    4. Name each component instance.
    5. In a frame action space, define the style for each
    component:
    componentName.setStyle("fontFamily","fontName");
    componentName.setStyle("fontSize",12);
    componentName.text = "hello";
    componentName.embedFonts = true;
    There is a section in the online help that lists the various
    style properties that you can set for each component.

  • [svn:fx-trunk] 8136: Adjustments to default size and padding for TextInput and TextArea skins.

    Revision: 8136
    Author:   [email protected]
    Date:     2009-06-23 16:16:49 -0700 (Tue, 23 Jun 2009)
    Log Message:
    Adjustments to default size and padding for TextInput and TextArea skins.
    TextInput default with is big enough to hold 10 characters (it will actually hold more than 10 "normal width" characters)
    TextArea padding matches TextInput padding
    These changes are done to the Spark and Wireframe skins.
    Bugs: SDK-16300 & SDK-16294
    QE Notes: New baseline bitmaps are needed (sorry Peter!)
    Doc Notes: None
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-16300
        http://bugs.adobe.com/jira/browse/SDK-16294
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml
        flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TextAreaSkin.mxml
        flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/TextInputSkin.mxml

  • [svn:fx-trunk] 12078: Fix for change events in Slider and ScrollBar.

    Revision: 12078
    Revision: 12078
    Author:   [email protected]
    Date:     2009-11-21 00:14:46 -0800 (Sat, 21 Nov 2009)
    Log Message:
    Fix for change events in Slider and ScrollBar. They now dispatch change events as before, whenever the user alters the value. In addition, changeStart and changeEnd events will be dispatched at the start and end of a user interaction or animation.
    TrackBase.as - Added metadata for changeStart/End events. Dispatch change, changeStart/End events when appropriate.
    Slider.as - Dispatch change, changeStart/End events when appropriate.
    ScrollBar.as - Dispatch the appropriate events. Note that changeStart/End will not dispatch when shift-clicking on a non-animating ScrollBar. Renamed animatingSinglePage to animatingOnce to better reflect its function. Refactored some method calls to the new private stopAnimation(), which is more consistent with Slider. Refactored the button handlers to make stepping more readable. Added a setValue call in animationEndHandler where we were ending up off the snapInterval when shift-clicking.
    Updated FlexEvent, ScrollBarTestScript and VideoPlayer to handle the new events.
    QE notes: Update Slider and ScrollBar tests
    Doc notes: No
    Bugs: SDK-24264
    Reviewer: Ryan
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24264
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as
        flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/ScrollBarTestScript.mxml

  • Skinning TextInput (and others) changes text position

    Hi there,
    I've been working on updating the visuals of our application and one path I took was skinning components. There's a designer in our team that works well with Photoshop and Flash (but not with Flex or programming at all), so I sent him the link of Narciso Jamarillo's article on creating skins for Flex using Adobe Creative Suit.
    Although we had few troubles working over the default template for HaloSkin at first, we kinda figured out most of them. But now there's one problem I couldn't find a solution yet. Whenever I apply the skins he made, the components that show text like TextInput and ComboBox start showing text in the wrong position, a little above the center and closer to the borders (sometimes it gives the impression it cuts out characters when I align the text at right).
    Here's a picture:
    Skinned on the left, not skinned on the right.
    So I'd like to know what exactly has influences over text position when I create a skin in flash, or any hint on what is causing this behavior.
    Thanks in advance.
    With regards,
    David

    I asked the designer to check in Flash and all grid lines are in proportional distance (4 pixels from edge). I also asked him to create a new skin from template, without any changes, and it displayed the same behavior, so I don't think it's a scale 9 slice configuration problem.
    Could you elaborate what kind of "minor tweaking" I could do on Flash? I ask because we just changed the shapes and and the 9 slice scale grid, is there anything else you could setup for a skin?
    David

  • 10g: Enabled list items and scrollbars look disabled

    Hi,
    Is there any way to change the way list items and scrollbars look in 10g?
    Enabled list items and scrollbars look disabled to me (the list button on the list item and the arrow buttons on the scrollbars are greyed out).
    Visual attributes doesn't seem able to control this.

    Nope you're pretty much stuck with the look and feel of the decoratiosn unless you want to create your own pluggable component - this would give you more control but you'd have to consider if it's worth the investment.

  • [svn:fx-3.x] 11192: In AIR, you can drag' n drop text between text components like TextInput and TextArea.

    Revision: 11192
    Author:   [email protected]
    Date:     2009-10-27 12:54:37 -0700 (Tue, 27 Oct 2009)
    Log Message:
    In AIR, you can drag'n drop text between text components like TextInput and TextArea.  There's an AIR bug where doing so doesn't result in a TEXT_INPUT or a CHANGE event.  This is a workaround for that bug so that we listen for a nativeDragDrop event.
    QE notes: -
    Doc notes: -
    Bugs: SDK-19816
    Reviewer: Gordon
    Tests run: checkintests, mustella TextInput, TextArea
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19816
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/TextArea.as
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/TextInput.as

    First 3 .as are the component
    source. in the last test.mxml file i have written the drag and drop functionality.
    can any help me?? please

  • Help with z program output and scrollbars

    Morning all
    We are running an ERP2004 SAP system, and we're having some problems with a z program. Basically it was a quick bit of code put together to check user names against the names stored in PA.
    Now the problem is that when the report is output on a PC running its screen resolution at 1024x768, we can't see the last field output in the report and there's no horizontal scroll bar. If we run the program on a desktop with a screen resolution at 1280x1024, we can see the last column, so no need for the scrollbar and it's not output.
    Now I thought SAP added the scroll bars automatically for you if you needed them? Has anyone come across this before, because I haven't and it seems very strange indeed!

    and also u have to checl LINE-SIZE while defining the Report.
    Regards
    Prabhu

  • AR9.1 Rich Media Annotation TextInput and Backspace Key

    I've put together a test PDF see:
    http://www.amrita-cfd.org/4adobe/rich-media/shock-tube.pdf
    that shows that the backspace key does not work as expected
    for an a TextInput field in a rich-media annotation when
    viewed with Linux AR9.1; at least not with my SuSE 10.3 setup.
    There are a couple of other issues not alluded to in the test PDF:
    (i) the /Widget used to toggle the attachments pane does not work
    in fullscreen mode; (ii) the /Widget used to zoom out from
    the rich-media annotation has /Normal, /Rollover and /Down
    appearances, but only the /Normal appearance is drawn.
    James Quirk

    Hi Sandip,
    Thanks for your reply. I'm glad to hear that the backspace
    issue is being worked on and I'm guessing that you're
    also aware of a similar problem with the enter key?
    I agree that my non-Acrobat PDF might be deficient in some
    way and it's also possible that my user preferences are
    not quite right. But consider the following.
    I re-jigged the test PDF such that the /Widget whose /R
    and /D appearances were not activated now lies half on
    the rich-media SWF and half on the background page.
    Recall this is the /Widget that reads "Click to zoom out!",
    which appears when the SWF is activated.
    Interestingly, when I position the mouse over the /Widget
    half that lies off the SWF (the right-hand half) then the
    right-hand half does have its /R and /D appearances rendered.
    But the left-hand half, the part that lies over the SWF,
    is stuck with the /N appearance.
    Following this observation, I re-jigged the /Widget to
    print out the events its receives on the JS console.
    And it seems that the left-hand half of the /Widget
    is not getting /E or /X events, even though the
    mouse correctly changes shape, but it does receive
    /D, /Fo, /U and /Bl events. The right-hand half
    receives all events as normal.
    You can also try the following. Move the mouse over
    the right-hand half of the /Widget, such that an
    /E event is generated. Then move the mouse along
    the /Widget towards the left-hand half: the second
    the mouse reaches the left-hand half the /Widget
    receives an /X event.
    Therefore it looks like there is some inconsistency
    in the event model when a /Widget lies on top of
    a rich media annotation, or at least the behaviour
    I'm observing is not hinted at in the document adobe_supplement_iso32000.pdf which covers rich-media
    annotations.
    Anyhow, I'll send you the original PDF as you requested
    along with the modified one I describe above.
    Regards,
    James
    p.s. For anyone else reading this message, I've posted
    the modified PDF at:
    http://www.amrita-cfd.org/4adobe/rich-media/shock-tube-v2.pdf

  • JTable help:- Setting Table Header and scrollbar

    hi
    everybody.
    i have create a table which is getting the data from URL Connection by parsing the XML file.
    All is working fine but the only problem is that i am not able to set the column headers.
    and also want to set scrollbars to my table because the data in my table is long.
    i have tried with JTableHeader and TableModel, but i am confused with it.
    so can anybody solve my problem.
    i am sending my code for creating table, and also sending the file from which the data is retrieved.
    please go through the code and reply me.
    If u are not able to parse the xml file than simply removed that part and using the QUERYResp.txt which i have attached, because i think the URL which i am using will not be accessed other than my network
    waiting for reply.
    //SelectPrivilege.java
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.event.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.w3c.dom.*;
    import java.net.*;
    import java.util.*;
    public class SelectPrivilege extends JFrame implements ActionListener
         JFrame frame;
         JTable table;
         JPanel buttonpanel;
         JButton openbutton,donebutton;
         String strclassname,strmembertype,strpasswordduration,strclassdescription;
        private boolean ALLOW_ROW_SELECTION = true;
        ListSelectionModel rowSM;
         Document document;
         Node node;
         NodeList employees,children;
         Element employee;
         String inputline,strSuccess;
         URL url;
         URLConnection connection;
         FileInputStream fis;
         DataInputStream dis;
         String objid,classname,membertype,passwordexp,description,finalstring;
         StringTokenizer st;
         String strurl = "<CLFAPP><CLFYAPP_MSG_TYPE_MSG_TYPE>QUERY</CLFYAPP_MSG_TYPE_MSG_TYPE><TABLE>PRIVCLASS</TABLE><FIELDS>OBJID,CLASS_NAME,MEMBER_TYPE,PSWRD_EXP_PER,DESCRIPTION</FIELDS><FILTER></FILTER></CLFYAPP>";
         public SelectPrivilege()
              JFrame.setDefaultLookAndFeelDecorated(true);
              frame = new JFrame("Select Privilege Class");
              try
                   url = new URL("http://10.8.54.55:7002/RILClarifyAppRequest?XML=" + strurl);
                   connection = url.openConnection();
                   BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
                   FileOutputStream out = new FileOutputStream("QUERYResp.xml");
                   PrintStream p = new PrintStream(out);
                   while ((inputline = reader.readLine()) != null)
                        System.out.println("Response Received......");
                        p.println(inputline);
                   p.close();
                   reader.close();
              catch(MalformedURLException e)
                   System.out.println(e.getCause());
              catch(IOException e)
                   System.out.println(e.getCause());
              //Parsing XML
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              try
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   document = builder.parse(new File("QUERYResp.xml"));
                   node = document.getDocumentElement();
                   employees = document.getElementsByTagName("RECORD");
                   FileOutputStream out = new FileOutputStream("QUERYResp.txt");
                   PrintStream p = new PrintStream(out);
                   for(int i = 0; i < employees.getLength(); i++)
                        final Element employee = (Element)employees.item(i);
                        p.print(getValueOf(employee,"OBJID"));
                        p.print("#");
                        p.print(getValueOf(employee,"CLASS_NAME"));
                        p.print("#");
                        p.print(getValueOf(employee,"MEMBER_TYPE"));
                        p.print("#");
                        p.print(getValueOf(employee,"PSWRD_EXP_PER"));
                        p.print("#");
                        p.print(getValueOf(employee,"DESCRIPTION"));
                        p.print("#@");
                        //p.close();
                        objid = getValueOf(employee,"OBJID");
                        classname = getValueOf(employee,"CLASS_NAME");
                        membertype = getValueOf(employee,"MEMBER_TYPE");
                        passwordexp = getValueOf(employee,"PSWRD_EXP_PER");
                        description = getValueOf(employee,"DESCRIPTION");
              catch(SAXException sxe)
                   Exception x = sxe;
                   if(sxe.getException() != null)
                        x = sxe.getException();
                   x.printStackTrace();
              catch(ParserConfigurationException pce)
                   pce.printStackTrace();
              catch(IOException ioe)
                   ioe.printStackTrace();
              catch(NullPointerException npe)
                   System.out.println(npe.getCause());
              table();
              buttonpanel = new JPanel();
              buttonpanel.setLayout(new FlowLayout());
              openbutton = new JButton("Open");
              donebutton = new JButton("Done");
              donebutton.setMnemonic('d');
              buttonpanel.add(openbutton);
              buttonpanel.add(donebutton);
              openbutton.addActionListener(this);
              donebutton.addActionListener(this);
              Container contentpane = getContentPane();
              frame.setContentPane(contentpane);
              contentpane.setLayout(new BorderLayout());
              contentpane.add(table.getTableHeader(),BorderLayout.PAGE_START);
              contentpane.add(table,BorderLayout.CENTER);
              contentpane.add(buttonpanel,BorderLayout.SOUTH);
              frame.setSize(500,400);
              frame.setVisible(true);
         static String getValueOf (Element element, String tagname)
              final NodeList children = element.getElementsByTagName(tagname);
              if (children.getLength() == 0) { return null; }
                   return concat(children, new StringBuffer()).toString();
         static StringBuffer concat (NodeList nodelist, StringBuffer buffer)
              for (int index = 0, length = nodelist.getLength(); index < length; index++)
                   final Node node = nodelist.item(index);
                   switch (node.getNodeType())
                        case Node.CDATA_SECTION_NODE: buffer.append(node.getNodeValue()); break;
                        case Node.ELEMENT_NODE: concat(node.getChildNodes(), buffer); break;
                        case Node.TEXT_NODE : buffer.append(node.getNodeValue()); break;
              return buffer;
         public void table()
              try
                   fis = new FileInputStream("QUERYResp.txt");
                   dis = new DataInputStream(fis);
                   finalstring = dis.readLine();
              catch(IOException e)
              st = new StringTokenizer(finalstring, "@");
              table = new JTable(st.countTokens() + 1,5);
              table.setValueAt("OBJID",0,0);
              table.setValueAt("CLASS NAME",0,1);
              table.setValueAt("MEMBER TYPE",0,2);
              table.setValueAt("PASSWORD DURATION",0,3);
              table.setValueAt("DESCRIPTION",0,4);
              int count = 0,cnt=0;
              StringTokenizer st1 = null;
              try
                   while(st.hasMoreTokens())
                        st1 = new StringTokenizer(st.nextToken(),"#");
                        cnt=0;
                        while(st1.hasMoreTokens())
                             table.setValueAt(st1.nextToken(),count,cnt++);
                        count++;
                        st1=null;
              catch(Exception e)
                   e.printStackTrace();
              //JTableHeader header = table.getTableHeader();
              table.setPreferredScrollableViewportSize(new Dimension(200,500));
            table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            if(ALLOW_ROW_SELECTION)
                 rowSM = table.getSelectionModel();
                 rowSM.addListSelectionListener(new ListSelectionListener(){
                            public void valueChanged(ListSelectionEvent e)
                                 ListSelectionModel row = (ListSelectionModel)e.getSource();
                                 if (row.isSelectionEmpty() == true)
                                    System.out.println("No rows are selected.");
                                else
                                     if (e.getValueIsAdjusting())
                                          return;
                                         int selectedRow = row.getMinSelectionIndex();
                                         System.out.println("Row " + selectedRow + " is now selected.");
                 JScrollPane scrollpane = new JScrollPane(table);
         public void createprivilegeclassdetails()
              PrivilegeClassDetails privilegeclassdetailsobj = new PrivilegeClassDetails();
              privilegeclassdetailsobj.frame.setSize(400,400);
              privilegeclassdetailsobj.frame.setVisible(true);
         public void actionPerformed(ActionEvent ae)
              String str = ae.getActionCommand();
              if(str.equalsIgnoreCase("done"))
                   System.out.println("SelectPrivilege Window Closed");
                   frame.dispose();
              if(str.equalsIgnoreCase("open"))
                   System.out.println("here");
                   createprivilegeclassdetails();
         public static void main(String a[])
              new SelectPrivilege();
    Copy the whole line if ur saving this in a file, as it is a string
    //QUERYResp.txt
    268435457#CSR#Employees#0#Customer Support Representative#@268435458#Hotline Engineer#Employees#0#Hotline Engineer#@268435459#Product Specialist#Employees#0#Product Specialist#@268435460#Senior Product Specialist#Employees#0#Senior Product Specialist#@268435461#Field Engineer#Employees#0#Field Engineer#@268435462#Support Manager I#Employees#0#Support Manager I#@268435463#Support Manager II#Employees#0#Support Manager II#@268435464#Development Engineer#Employees#0#Development Engineer#@268435465#Development Manager#Employees#0#Development Manager#@268435466#QA Engineer#Employees#0#QA Engineer#@268435467#QA Manager#Employees#0#QA Manager#@268435468#Technical Writer#Employees#0#Technical Writer#@268435469#Technical Publications Manager#Employees#0#Technical Publications Manager#@268435470#Site Configuration Manager#Employees#0#Site Configuration Manager#@268435471#Product Administrator#Employees#0#Product Administrator#@268435472#Technical Product Administrator#Employees#0#Technical Product Administrator#@268435473#Contract Specialist#Employees#0#Contract Specialist#@268435474#System Administrator#Employees#90#System Administrator#@268435475#Submitter#Contacts#0#Submitter#@268435476#Viewer#Contacts#0#Viewer#@268435477#Inventory Specialist#Employees#0#Inventory Specialist#@268435478#Logistics Manager#Employees#0#Logistics Manager#@268435479#Sales Representative#Employees#0#Sales Representative#@268435480#Marketing Representative#Employees#0#Marketing Representative#@268435481#Sales Manager#Employees#0#Sales Manager#@268435482#Offline User#Employees#0#Privilege Class for use with ClearEnterprise Traveler#@268435483#Call Center Agent#Employees#30#Call Center Agent#@268435484#Call Center Manager#Employees#0#Call Center Manager#@268435485#Customer Service Agent#Employees#0#Customer Service Agent#@268435486#Telemarketing Agent#Employees#0#Telemarketing Agent#@268435487#Telesales Agent#Employees#0#Telesales Agent#@268435488#Telesales Manager#Employees#0#Telesales Manager#@268435489#Avaya_Users#Employees#0#Privilege Class for Avaya. Only Clear Call Center Application Enabled.#@268435490#Account Manager#Employees#0#Account Manager for Accounts#@268435491#Account Executive#Employees#30#Account Executive for Accounts#@268435492#Pre Sales Tech Executive#Employees#0#Pre Sales Technical Executive#@268435493#Pre Sales Tech Team Lead#Employees#0#Pre Sales Technical Team Leader#@268435494#Post Sales Tech Executive#Employees#0#Post sales technical executive#@268435495#Post Sales Commercial Executive#Employees#0#Post sales commercial executive#@268435496#Vertical Domain Expert#Employees#0#Vertical Domain Expert#@268435497#Supervisor#Employees#0#Supervior who approves the billing adjustments#@268435498#RA#Employees#0##@268435499#Configuration#Employees#90#Privilege Class for Clarify Configurators#@268435500#FO Online Agent#Employees#0#Testing#@268435501#OTAF Remote Funcionality#Employees#0##@268435502#Sr.Manager CC#Employees#0#Customization for phase1 RUNS (1a).#@268435503#FO Online Unit - Agent #Employees#0#Customization for phase1 RUNS (1).#@268435504#FO Online - Agent (outbound)#Employees#0#Customization for phase1 RUNS (1b).#@268435505#Incoming mail unit manager#Employees#0#Customization for phase1 RUNS (2).#@268435506#Save team agent#Employees#0#Customization for phase1 RUNS (3).#@268435507#Save team supervisor#Employees#0#Customization for phase1 RUNS (4).#@268435508#Technical suport agent#Employees#0#Customization for phase1 RUNS (5).#@268435509#Technical suport supervisor#Employees#0#Customization for phase1 RUNS (6).#@268435510#Webstore Agents#Employees#0#Customization for phase1 RUNS (7).#@268435511#FO Offline Unit (Reg)- Supervisor#Employees#0#Customization for phase1 RUNS (8).#@268435512#Head C. Service (Circles)#Employees#0#Customization for phase1 RUNS (8a).#@268435513#Revenue Assurance#Employees#0#Customization for phase1 RUNS (9).#@268435514#Manager CC#Employees#0#Customization for phase1 RUNS (1a).#@268435515#FO Offline Unit - Agent at Contact Centre#Employees#0#Customization for phase1 RUNS (1).#@268435516#Telesales unit agent#Employees#0#Customization for phase1 RUNS (1).#@268435517#Incoming mail unit agent#Employees#0#Customization for phase1 RUNS (1).#@268435518#Telesales supervisor#Employees#0#Customization for phase1 RUNS (2).#@268435519#FO Online Unit - Supervisor#Employees#0#Customization for phase1 RUNS (2).#@268435520#FO Offline Unit (CC) - Supervisor#Employees#0#Customization for phase1 RUNS (2).#@268435521#TT unit agent#Employees#0#Customization for phase1 RUNS (5).#@268435522#TT unit supervisor#Employees#0#Customization for phase1 RUNS (6).#@268435523#Pos Agents#Employees#0#Customization for phase1 RUNS (7).#@268435524#FO Offline Unit - Regions#Employees#0#Customization for phase1 RUNS (7).#@268435525#Service fulfillment unit agent#Employees#0#Customization for phase1 RUNS (7).#@268435526#Sales Executives (Regions)#Employees#0#Customization for phase1 RUNS (7).#@268435527#Webstore Manager#Employees#0#Customization for phase1 RUNS (8).#@268435528#Service fulfillment unit manager#Employees#0#Customization for phase1 RUNS (8).#@268435529#Network#Employees#0#Customization for phase1 RUNS (9).#@268435530#After Sales#Employees#0#Customization for phase1 RUNS (9).#@268435531#Handsets#Employees#0#Customization for phase1 RUNS (9).#@268435532#Portal#Employees#0#Customization for phase1 RUNS (9).#@268435533#GIS#Employees#0#Customization for phase1 RUNS (9).#@268435534#Logistics#Employees#0#Customization for phase1 RUNS (9).#@268435535#Data Services#Employees#0#Customization for phase1 RUNS (9).#@268435536#Production Support#Employees#0#Since it is possible to temper the data form the Clarify GUI , restrict all access to users except for the minimal in order to control the env.#@268435537#Webstore Users#Employees#0##@268435539#IN_CSR#Employees#0#Privilege Class for Prepaid CSR's#@268435540#Configuration_Maha#Employees#0#Privilege Class for Clarify Configurators#@268435541#test privilege class#Employees#0##@268435542#PS_TEST#Employees#0##@268435543#TEST SACHIN#Employees#0#SACHIN TEST#@268435544#Supervisor1#Employees#300#Supervise and monitor agents#@268435545#Call Center Adminstrator#Employees#0#Call Center Admin Priv#@268435546#siva_test#Employees#0#new privilege class for test purpose#@268435547#PREPAID PCO#Employees#0#For PREPAID PCO#@268435548#santo_test#Employees#0#new privilage class for test#@

    Don't start by writing a 100 line program to test a component you don't know how to use. Start by writing a 10 line program. This is all you need:
              String[] columnNames = {"Date", "String", "Centered", "Integer", "Boolean"};
              Object[][] data =
                   {new Date(), "A", "A", new Integer(1), new Boolean(true)},
                   {new Date(), "B", "B", new Integer(2), new Boolean(false)},
                   {new Date(), "C", "C", new Integer(10), null},
                   {new Date(), "D", "D", new Integer(4), new Boolean(false)}
              DefaultTableModel model = new DefaultTableModel(data, columnNames);
              model.addTableModelListener( this );
              table = new JTable( model )
                   //  Returning the Class of each column will allow different
                   //  renderers to be used based on Class
                   public Class getColumnClass(int column)
                        return getValueAt(0, column).getClass();
              table.setPreferredScrollableViewportSize(table.getPreferredSize());
              JScrollPane scrollPane = new JScrollPane( table );
              getContentPane().add( scrollPane );

  • How to connect TextInput and XML?

    hello. Can anybody help me ? How can i connect an TextInput
    with XML? Just a simple exemple i looking

    I agree with the rest of you folks. JDOM will be your best bet for integration. I am currently using JDOM to parse and/or create xml documents. As mentioned the tutorials are very good to check out. If you just want to hit the JDOM highlights and hit the ground running check out this link. http://www.jdom.org/downloads/docs.html
    Take some time to check out the first 3 links on that page. They are JDOM and XML Parsing, Part 1, Part 2, and Part 3. Very good information about JDOM and XML parsing.
    Hope some of this will help!

  • HTMLLoader and Scrollbars

    I've been following the lynda.com AIR for Flash Devs
    tutorial. It shows how to add the Scrollbar Class to an HTMLLoader.
    Is it just me, or is Adobe's Scrollbar a rather odd
    implementation?
    I mean it works, but, for instance, the scroll handle you
    grab with your mouse is always much much smaller than it should be
    when compared to the actual content.
    Also, I have the stage resizing and the scrollbars moving
    properly, but I've noticed that resizing the app smaller, always
    forces the scrollbar to appear, regardless of the content being
    larger than the content area or not.
    Is everyone using this implementation for scrolling, or are
    people using something else?

    OK - my problem with the HTML Control is I can't seem to add it to a child custom class.
    i.e. - I have my main Air app and a custom class extending UIComponent. I add the custom class to the stage in the main app, and in the custom class, add an HTML Control.  I'm also adding a different HTML Control to the main app.
    Only the HTML in the main app actually shows up. No errors given. What am I missing here?
    Main Air app mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import mx.controls.HTML;
    var _myComp:Comp;
    private function init():void {
    _myComp = new Comp();
    _myComp.init();
    _myComp.x = 200;
    _myComp.y = 200;
    addChild(_myComp)
    var html:HTML = new HTML();
    html.htmlText = "Text on main application window"
    addChild(html);
    ]]>
    </mx:Script>
    </mx:WindowedApplication>
    Comp Class:
    package {
    import flash.display.Shape;
    import mx.controls.HTML;
    import mx.core.UIComponent;
    public class Comp extends UIComponent {
    public function Comp() {
    public function init():void {
    var shape:Shape = new Shape()
    shape.graphics.beginFill(0,1)
    shape.graphics.drawRect(0,0,200,400);
    shape.graphics.endFill();
    addChild(shape)
    var html:HTML = new HTML();
    html.htmlText = "Text Inside child component";
    html.x = 200
    this.addChild(html);
    trace(html.htmlText)

  • JEditorPane and scrollbars

    Hi there,
    I'm using the JEditorPane to display some simple html and css - in fact all it is a div of a fixed width containing an abitary amount of text. What I want to do is calculate the height of the div in pixels. In a browser this is easy enough, you just use javascript to look up the div's clientHeight property, but for the life of me I can't workout how to do this using the Swing api in the JEditorPane. It must know how high the whole rendered html is as it knows when to add the vertical scroll bar
    As an alternative approach i though i could just set the size of the containing JFrame and then check to see if a vertical scroll bar had appeared, if it had then I would know that the height of the text in the div exceeded the hight of the frame, but the
    scrollPane.getVerticalScrollBar().isVisible() method always seems to return false...
    If anyone has any idea how to do this (or rather, what i'm doing wrong) it would be appreciated.
    Thanks
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.io.IOException;
    import javax.swing.JEditorPane;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.UIManager;
    public class TextPane extends JFrame {
           private  JEditorPane pane;
           private   JScrollPane scrollPane;       
         public TextPane(){
             pane = new JEditorPane();
             pane.setEditable(true); // Read-only
             try{
                  pane.setPage("html-file-that-contains-enough-text-to-cause-the-scroll-bar-to-appear.html");
             catch(IOException e){
                  throw new RuntimeException(e);
             scrollPane = new JScrollPane(pane,
                       JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
             getContentPane().add(scrollPane);
           public static void main(String[] args) {
                  try {
                      UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
                  } catch (Exception evt) {}
                  TextPane f = new TextPane();
                  f.addWindowListener(new WindowAdapter() {
                    public void windowClosing(WindowEvent evt) {
                      System.exit(0);
                  f.setSize(400, 300);
                  f.setVisible(true);
                  if(f.scrollPane.getVerticalScrollBar().isVisible()){
                     System.out.println("Scroll Bar is showing");
                 else{
                     System.out.println("Scroll Bar is not showing");
    }

    If the editorpane is visible you can use getPreferredSize(). The srollpane also relies on this method to determine when to show scrollbars.
    public class DivHeight {
        public static void main(String[] args) throws Exception {
            final JEditorPane pane = new JEditorPane();
            pane.setBorder(null);
            pane.setContentType("text/html");
            pane.setText("<html><div style='margin: 0px; padding: 0px; width: 200px; background-color: #DDDDDD;'>Bla bla bla bla bla saf jölasj dfölasjdf ölasjdf ölasjdfölkasjdf löjkasdf löjasdlöfk jaslökdfklö asjdf öasjdfölk asjdlfkö jaslökdj löaskdjafö lkjasdlöfk jaslökdfj ölaskjsdlköf jaslökfjlökasdjf lköasjdf lköasdjflökjsadflkjdölaksdjf ölkasdjfölk Bla bla bla bla bla saf jölasj dfölasjdf ölasjdf ölasjdfölkasjdf löjkasdf löjasdlöfk jaslökdfklö asjdf öasjdfölk asjdlfkö jaslökdj löaskdjafö lkjasdlöfk jaslökdfj ölaskjsdlköf jaslökfjlökasdjf lköasjdf lköasdjflökjsadflkjdölaksdjf ölkasdjfölk Bla bla bla bla bla saf jölasj dfölasjdf ölasjdf ölasjdfölkasjdf löjkasdf löjasdlöfk jaslökdfklö asjdf öasjdfölk asjdlfkö jaslökdj löaskdjafö lkjasdlöfk jaslökdfj ölaskjsdlköf jaslökfjlökasdjf lköasjdf lköasdjflökjsadflkjdölaksdjf ölkasdjfölk </div></html>");
            JButton button = new JButton("print size");
            button.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    System.out.println(pane.getPreferredSize());
            JFrame frame = new JFrame();
            frame.getContentPane().add(button, BorderLayout.NORTH);
            frame.getContentPane().add(new JScrollPane(pane), BorderLayout.CENTER);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(400, 300);
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
    }

Maybe you are looking for

  • IOS 8 problem and goes to recovery mode

    I try to install my ios 8, then suddenly my iPhone goes to recovery mode and I cant exit the recovery mode instead of that iTunes want to restore my iPhone. I don't want to lose all my document on the iPhone. Need Help here please Your Help and Your

  • Mac Mini - AHT error

    Hi Having a few problems installing OSX (10.4.7) from install disk on MAC MINI 1.8, Just run Apple Hardware Test (AHT) and am getting back the following: Alert! Apple Hardware Test detected an error: 4SNS / 1 / 40000002: Center_Upper-Front Any ideas

  • Slideshows ends prematurely in the middle of a transition?

    I have eight slides in a project so far and for some reason the slideshow ends prematurely in the middle of the transition from the sixth slide. any ideas? TIA jim

  • Help needed with String replace!

    Hi, I would like to replace all '\' characters with '/' in my string, ie:      mystring.replace('\','/'); Howeve, it complain about the '/' (Unclosed character literal). Any suggestions? Thanks

  • Initializing Function Module used in Planning function in BPS0

    Hi Everybody,                    I have been assigned to create a function module which will be used for initialization purpose in BPS planning function. Whenever the user will change values of variable, even if user sets a data for a particular vari