Adding Dynamically adding a component to a JPanel and make it diaplay

Hi,
I am having two panels in a container, one is in the left side and the another is in the right side.The left side panel contains some buttons.If the user clicks on any buttons the corresponding component is to be loaded to the right side panel and displayed.This should be done at runtime.

Hi,
I will tell you the design & senario, my screen has two panels one is in leftside & another is in rightside of the screen.while opening the main screen I am having 3 buttons on the leftside panel and none in the rightside panel.If i clicked the 1st button 2 labels,2 textfields and 2 buttons should be displayed on the rightside panel.I am having these components in a separate class file which extends a JPanel.Only in the runtime i want to add this class file(as component) to the rightside panel in the main screen.how is it possible? reply me

Similar Messages

  • How do i right click on a jpanel and make a menu come up where i clicked

    basically i want to allow the user to click on screen and a menu popup where they clciked which has a list of options such as A,B,C.
    I think you have to use a menuBar method or something. im not 2 sure
    anyone have some quick code.

    when the mouse is pressed, mousePressed method is called. Something like this in that method should be put.
    pubic void mousePressed (MouseEvent e)
          if (e.getButton() == MouseEvent.BUTTON3) // Block for triggering popup
                JPopupMenu menu = new JPopupMenu ();
                menu.add (new JMenuItem (....));
                menu.show ([put the jpanel name here], e.getX(), e.getY());
    }Edited by: Cricket_struck on Feb 1, 2009 5:08 PM

  • Row action event on data table does not occur when rows added dynamically

    Row action event on data table does not occur (only refreshes the page) when the rows in the data table are added dynamically at run time using button click and java bean.
    please tell me a way to catch the row click event when adding rows dynamically to data table. i m using RAD 6.0 to develop Faces jsp pages.
    thanks
    amit

    i got the answer

  • Import Buissness Component and make view object

    Hi,
    How can i import an other Buissnes component in my project and make a view componnent with the component of my package and with this new imported component
    Thanks
    Philippe
    null

    If you want to import an entity object, then click on the add component to project button in the JDeveloper Navigator pane. From the list of files, select the xml file for the desired entity object. the xml file and the corresponding java files will be added to ur project.
    Aparna.

  • Why data are not getting poulated in dynamically added tab in a tab navigator???

    Hi All,
    I am facing a very strange problem and need you expert opinion on this. Ok so the problem goes like this:
    In my application i have a tab navigator where i have 2 fixed tabs say tab A and tab B. In tab B I have a data grid where All the user name are getting populated. Once the user clicks on any datagrid row i am dynamically adding a new tab based on username , so if in my datagrid u1,u2 and u3 are getting displayed then once you clik on u1 a new tab called u1 is getting displayed. Code for this goes like this:
    var vbox1: VBox= new VBox();
    box1.label=mydatagrid.selectedItem.uName;
    var sde:* = new searchDetails();
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    Application.application.searchdetails.displayall();
    I have created a component called searchDetails where i have designed the page wit various fields for this tab.This also has a method called displayall() which is populating the data in all fields using php an my sql where i have designed the page wit various fields for this tab.
    New tab is getting displayed perfectly. My problem is once the tab is getting displayed fields are not getting populated with data.
    Please let me know what wrong i am doing. I am really struggling

    Hmm.. you have to assign text to the labelfields on creation complete not before that, the fllow will be like this
    var vbox1: VBox= new VBox();
    var sde:* = new searchDetails();
    vbox1.addEventListener(creationcompleteevent,function);
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    function(e:event):void{
    box1.label = "text";

  • Dynamic adding of components (doesn't work when programmatically)

    Hi, I don't understand, why this doesn't work. I'll explain it on this example:
    import java.util.concurrent.ScheduledThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    public class NewFXMain extends Application {
        Group root;
        public static void main(String[] args) {
            Application.launch(NewFXMain.class, args);
        @Override
        public void start(Stage primaryStage) {
            primaryStage.setTitle("Hello World");
            root = new Group();
            Scene scene = new Scene(root, 300, 250, Color.LIGHTGREEN);
            Button btn = new Button();
            btn.setLayoutX(100);
            btn.setLayoutY(80);
            btn.setText("Add button now");
            btn.setOnAction(new EventHandler<ActionEvent>() {
                public void handle(ActionEvent event) {
                    addButton();
            root.getChildren().add(btn);  
            primaryStage.setScene(scene);
            primaryStage.setVisible(true);
            System.err.println("Number of buttons before: "+root.getChildren().size());
            ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(1);
            executor.schedule(new MyTask(), 5, TimeUnit.SECONDS);
        private void addButton() {
            System.err.println("Button adding");
            root.getChildren().add(new Button("YEAH"));
            System.err.println("Number of buttons after: "+root.getChildren().size());
        class MyTask implements Runnable {
            public void run() {
                addButton();
    }There are two ways how a new button can be added. Either by clicking on existing button or programmatically by the program itself after 5 seconds.
    If you add it by button, there is no problem. The error print is:
    Number of buttons before: 1
    Button adding
    Number of buttons after: 2
    But if you just wait, then the error print is:
    Number of buttons before: 1
    Button adding
    and no button is added. In fact, the error printing after the adding isn't performed either.
    I'd like to ask if there is some solution for this because I'd love to do some changes by schedulers. Thx
    Edited by: 876949 on 14.8.2011 9:09
    Edited by: 876949 on 14.8.2011 9:11

    No, these are not error messages, they are just for purpose of example. Here it doesn't matter whether err or out... (yes, 'out' would be better ;)
    But thanx, it's working. By the way, I am creating scheduler for task lists. They are supposed to be printed dynamically in specific time (or periodically). For example: at 5 o'clock I need to print 5 items of some list and every 3 hours I need to print 3 items of another list etc. - so it's quite dynamic with regard to component adding (No, I don't want to use some sort of ListView, I want interactive printing: one item on screen at a moment). I'll try to work your solution into my code.
    Edit: So either it's not possible to use this for the purpose of my app or it will be really cumbersome. Maybe it would be easier to draw some rectangles with mouse listeners...
    Edit: So I finally got around it. In the end, I won't use dynamic adding as intended. It's working and that's important.
    Edited by: 876949 on 14.8.2011 12:48
    Edited by: 876949 on 15.8.2011 5:21

  • Scrollbar doesn't show up on the panel while dynamically adding JTextFields

    I have a dynamic user iterface, where the JTextFields are added dynamically to a JPanel within the JFrame upon the click of a JButton. How do I use the JScrollPane so that the Vertical Scroll bar shows up for the JPanel as soon added TextFields go out of range? The Panel has a null layout coz I want the textfields at specific positions on the panel. The problem lies in showing the Vertical scroll bar once the text fields in the JPanel exceeds the Panel's size. The scrolls don't seem to show up. Please help!
    public Scenario() // Constructor
    textPanel = new JPanel();
    textPanel.setLayout(null);
    textPanel.setSize(508, 520);
    textPanel.setLocation(10,10);
    //..........lines of code
    public void addComponent(String text)
    j = j + 30;
    i = i+1;
    String lineno = Integer.toString(i) + ".";
    field = new JLabel(lineno);
    field.setBounds(90,j,20,24);
    textPanel.add(field);
    if (addline){
    content = new JTextField(text);
    content.setBounds(108,j,400,24);
    content.setBackground(new Color(255,255,255));
    textPanel.add(content);
    addline = false;
    invscenario = false;
    else if(invscenario) {
    content = new JTextField(text);
    content.setBounds(108,j,50,24);
    content.setEditable(false);
    textPanel.add(content);
    try{
    if (content.getText().length()!= 0)
    Statement statement1 = conn.createStatement();
    String query1 = "SELECT * FROM scenario " + "WHERE scenario_num LIKE '" + text + "'";
    rs = statement1.executeQuery(query1);
    rs.next();
    int recordNumber = rs.getInt(1);
    if(recordNumber != 0)
    labelcontent = new JLabel(rs.getString(3));
    labelcontent.setBounds(165,j,100,24);
    textPanel.add(labelcontent);
    }// end try
    catch(SQLException e)
    System.out.println(e);
    invscenario = false;
    addline = false;
    scrollPane = new JScrollPane(textPanel);
    scrollPane.add(textPanel);
    contentPane.add(scrollPane);
    contentPane.repaint();
    show();

    I guess since you don't have a layoutmanager you have to set the viewport dimensions of your JScrollPane manually.
    Try something like
    scrollPane.getViewport().reshape(....);
    zk

  • In outlook 2013 Add-In, Adding dynamic menu to splitButton idMso="DialMenu" is working and the same code is not working in outlook 2010 Add-In.

    In outlook 2013 Add-In, Adding dynamic menu to <splitButton idMso="DialMenu"> is working and the same code is not working in outlook
    2010 Add-In. please let me know, if i am missing something. Below is the xml and screen shot
    <contextMenu idMso="ContextMenuFlaggedContactItem">
     <splitButton idMso="DialMenu">
              <menu>
                <dynamicMenu id="CallContactwithFreedomvoice
    " label="CallContactwithFreedomvoice" 
                            getContent="OnGetContenttest"                           insertAfterMso="Call"/> 
            </menu>       </splitButton>    </contextMenu> 

    Hi Narasimha prasad2,
    Based on the description, the context menu for the flagged contact doen't work in Outlook. I am tring to rerpoduce this issue however failed.
    I suggest that you check the state of the add-in first to see wether the add-in was loaded successfully.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to hide columns that are getting added dynamically to UI Element 'Table

    In SRM 7.0 while displaying a RFx, click on "responses and awards" button.
    In the response comparision tab once the user selects response number and clicks on "compare all responses".
    Item details table is displayed with fields item number,internal number,item description,........,Price etc.
    Requirement is  to hide the price column from the table.
    The UI element type is 'Table'.
    But the catch is there is no column price visible at layout design level.
    This field is getting added dynamically at run time.
    When i right click and see the 'more field help' at the front end i get the field id as 'GRP_1_COL_3_TXTV'.
    lo_table ?= view->get_element( id = 'ITEMS_TABLE' ).
    lo_column = lo_table->get_column( id = 'GRP_1_COL_3_TXTV').
    ASSERT lo_column IS NOT INITIAL.
    lo_column->set_visible( EXPORTING value = '01' ).
    I had written the above code in the pre-exit of WDDOMODIFYVIEW.
    But i am getting dump as assertion failed.it says no column by name 'GRP_1_COL_3_TXTV'.
    Please help me inhow to hide fields or buttons getting generated dynmically.
    Regards,
    Venkat Raghavan.

    Hi Anitha,
    What i understood from your question is,you want to control the table from your inputs.I have a one question for you what do you want to show defaultly i.e when you run the application what you want to show,either no table or table with some values.
    Any how i am giving solution in this way.
    If both inputs are given proper table output is displayed
    Write your below logic in the WDDOMODIFYVIEW )
    Here i am assuming that you already have a table element in the view.
    Get the values entered in the input fields and compare those 2 values ,if the condition is satisfied then bind the values which you want to show in the table to the context node.
    but if only 1 input is given a column is empty in the output table so i want to hide this column dynamically at runtime based on my inputs
    You are telling that you know the empty column.If so get the view element reference and use the REMOVE_COLUMN to remove the column.
    data:lr_table type ref to cl_wd_table,
           lr_column type ref to L_WD_TABLE_COLUMN.
    lr_table ?= view->get_element( 'TABLE1' ).
    CALL METHOD LR_TABLE->REMOVE_COLUMN
        EXPORTING
          ID          = 'TABLE1_color'
         INDEX      =
        RECEIVING
          THE_COLUMN = lr_column.
    i want to hide some empty rows also at runtime based on inputs.
    Removing the rows is very simple.if you know the key fields data of internal table from your input fields then do in this way.
    delete itab from wa where key1= "12" and key2="abd".
    Now bind the internal table to context node.
    LO_ND_hcm->BIND_TABLE(
          NEW_ITEMS            = it_final
          SET_INITIAL_ELEMENTS = ABAP_TRUE ).

  • Reading the Data from dynamically added rows of a table...

    Hi,
                  I am using adobe interactive form (WD ABAP) in which i am adding the table rows dynamically (using Jscript code).  I have to fech these data into an internal table. But I can read only the first row data..
                  Also While adding rows dynamically the same data is repeating for the consecutive rows..
                  I have found many similar posts in sdn, but i cannot get the solution. They have mentioned about adding in WDDOINIT method. Can anyone explain me what should be done,..?
    1) How to solve repeatative data while adding rows..?
    2) How to read dynamically added row data during runtime into internal table..?
    Thanks,
    Surya.

    Discussed @ SDN lot of time before. Have a look at any of below threads:-
    Dynamic table in interactive form...
    Make dynamic tables in Adobe Interactive forms
    Adding Rows dynamically upon clicking the button
    How to get values to WebDynpro ABAP from dynamic table?
    Chintan

  • Adding dynamic filter expressions

    I am working on a ESB flow and I wanted to write a filter expression that can dynamically fetch database values and accordingly route the flow.
    Since it didnt work, I thought of assigning this to a xsl variable and compare this variable value in the next Routing Service node Filter Expression.
    So I tried as follows: filterVar" variable holds the value of what I am looking for.
    <xsl:template match="/">
    <inp1:CommitmentRequest>
    <xsl:variable name="filterVar" select='orcl:lookup-table("accounts","dest",/imp1:AccountsRequest/imp1:Code/imp1:SITEID,"acc_code","DSname")' />
    and in the next Routing Service I have an expression written as:
    $filterVar = 'ACC1'
    Is it the correct way of doing? By approaching this variable assignment, I will be adding a Routing Service un necessarily. Still, if this is the way it is going to work and if there is no straight forward way, I will have to use this approach.
    Please note that "/imp1:AccountsRequest/imp1:Code/imp1:SITEID" is the correct tree structure as I can assign this value directly in XSL mapping to a new field of target XML. I didnt want to assign this way as I dont want to create a new variable in XML as it will never be used as data in successive stages.
    Thanks,

    Thanks Dave.
    Certainly the namespace issue was there. But, even with that issue fixed, message is not passing the filter stage.
    I mapped this expression to a target element of target xml and it assigned a value of 'ACC1' to it.
    orcl:lookup-table("accounts","dest",/inp1:AccountsRequest/inp1:Code/inp1:SITEID,"acc_code","DSname")
    The strange thing I noticed id that in none of the cases as montioned below, the message doesnt pass the filter stage.
    $filterVar = 'ACC1'
    $filterVar != 'ACC1'
    Any idea why?
    Instead of using variable assignment method, do you have any other idea that lets me retrieve database values on the fly and make decisions?
    I tried lookup-table() in filter expression directly, that didnt work either. Ideally, I wanted this approach to work.
    I have also tried data enrichment as suggested by Allan Galsgow. Didnt have any luck either.
    Thanks,
    Note: The varaible assignment is done as follows in the xsl mapping:
    <xsl:variable name="filterVar" select='orcl:lookup-table("accounts","dest",/inp1:AccountsRequest/inp1:Code/inp1:SITEID,"acc_code","DSname")' />
    Message was edited by:
    user582595
    Message was edited by:
    user582595

  • How can we split the image when its added dynamically ?

    Hi Experts,
    I have an image where i'm calling a DAL in Entry tab Data section under section level properties.As you know that will execute during Entry process.In that DAL i'm Adding an image based on the user choice during entry.
    When image added that should be accomedate the spaces availale in the form.First half of the section can accomedate in the first page and secound half will go to next page.
    I have used CANSPLITIMAGE rule,but that is not get executed during entry process.
    Can someone help me How to split the image during entry process when its added dynamically ?
    Thanks,
    RAMAN C.

    Aside from what you might think of as the origin placement, Gendata rules are not run during Entry operations. As such, you are not able to do what you describe in versions before 12.2. Starting in 12.2, you still can't execute Gendata rules, however there is a newly supported feature when DAL adds a section that will look for the existence of the CanSplitImage rule and assigns an internal attribute that will allow the section to split during entry. This isn't the same as running the rule, but the net effect should be acceptable. (At some point in the future, perhaps this internal attribute will become something you can just set when adding the section on the form and you won't have to specify the CanSplitImage rule at all - for Batch or Entry. That would be great.) In the meantime, if you are not using 12.2, your only option is to break your section up into smaller section components and add them separately. That should help minimize unused space on the page when something doesn't fit.

  • Adding dynamic attributes to static context node

    Hi All,
    I have defined a context node LINES with several attributes. This is done staticly during developmenttime.
    During run-time node LINES is extended with several attributes dynamicly. See below:
    10     HEADER_GUID               ->
    11     DETAIL_GUID               ->
    12     EXTERNAL_ID               ->
    13     OBJECT_TYPE               ->
    14     IN_OUT_PLAN               ->
    15     TRAFFIC_LIGHT_1               ->
    16     TRAFFIC_LIGHT_2               ->
    17     TRAFFIC_LIGHT_3               ->
    18     TRAFFIC_LIGHT_4               ->
    19     _LOCATION          \TYPE=STRING     ->
    20     _ZZTOPGROUPING     \TYPE=STRING     ->
    21     _STATUS          \TYPE=STRING     ->
    22     _100000200          \TYPE=STRING     ->
    19..22 are added dynamicly.
    I have an internal table that matches de new context. This <fs_tb_tree_new> I want to bind like:
    *&- bind table
      lr_node->bind_table( new_items =  <fs_tb_tree_new>
                           set_initial_elements = abap_true ).
    In <fs_tb_tree_new> the dynamicly added attrbutes contains values e.g. (the static attributes also have values via <fs_tb_tree_new>):
                         _LOCATION   _ZZTOPGROUPING  _STATUS              _100000200                   
    5     Africa     0002     Reporting Entity     0.000
    6     Russia, CIS     0003     Identify                          0.000
    An ALV presents the values of the attribute. But.... only the values of the static part are presented, not the dynamic attributes added during runtime.
    Please advise what I forget or do wrong .
    Thanks in advance.
    John

    I solved the issue:
    If you use a combination of static attributes added with dynanic attributes (during runtime) for dynamic ALV, I advise to create a new node and bind the values to this new created node:
    Cheers, John
    wd_this->extend_context( EXPORTING im_struc_descr =  lr_cl_abap_structdescr
                               IMPORTING ex_node = lr_node_alv ).
    Method:
    *&- Create new dynamic context LINES_DYN
    Node for alv-table
      lr_node_info = wd_context->get_node_info( ).
      CALL METHOD lr_node_info->add_new_child_node
        EXPORTING
          name                  = 'LINES_NEW'
          static_element_rtti   = im_struc_descr
          is_static             = abap_true
          is_multiple           = abap_true
          is_multiple_selection = abap_false
        RECEIVING
          child_node_info       = lr_subnode_info.
    lr_node = lr_subnode_info->get_parent( ).
      lr_node = wd_context->get_child_node( 'LINES_NEW' ).
      ex_node = lr_node.
    *&- bind table for alv
      lr_node_alv->bind_table( new_items =  <fs_tb_tree_new>
                               set_initial_elements = abap_true ).

  • Adding dynamic size table to Interactive Form

    Hello everyone,
    I have a node with multiple elements that i would like to show in an interactive pdf form.
    I'm using the Adobe LiveCycle Designer to do it, but i'm only managing to bind "solo" variables, not tables.
    How can i associate dynamically a table with several lines to a pdf interactive form ? I tried a list box but i still only get the first element shown in the box. Am i doing anything wrong ?
                 Thank you in advance.
                           Nuno Santos

    Hi,
    Basically the general way to add a table to INteractive form is by adding a subform elemet to a subform element and(i mean subform in a subform), now map the fields u want to be displayed as a table.
    For the fisrt subform set the LayoutType-Flow Content,Flow DirectionTable.
    Then select the allow page breaks within the content option.
    And the binding should be Normal.
    for the second subform:
    LayoutType-Flow Content,Flow DirectionTable row.
    Now also select the option allow page breaks.
    Then for Binding tab: select the Repeat Subform for each data Item, then min count=1.
    And now if ur table columns contain names like abc, def and xyz.
    Then in the script editor code something like this
    abc[*]; under show: initilaze, language: Formcalc and Run at: client
    Hope this should work out for you.
    let me know if u have any more queries.
    Thanks,
    Lohi

  • AdvancedDataGrid headerrenderer children added dynamically do not display

    The AdvancedDataGrid in Flex 3.x does not correctly render children of a custom headerrenderer when the children are added dynamically. This works correctly with the DataGrid.
    An AdvancedDataGrid has a custom headerrenderer with one field to display the column header text.
    A show button below the grid adds a text input field in the header below the column text in the header.
    When the show button is selected, the AdvancedDataGrid header sizes correctly to leave space for the field but does not display the field.
    If I drag the column, the text input field displays as I am dragging. See the 3 images below.
    I have included the 3 source files. What is the correct way to dynamically add children to an AdvancedDataGrid header?
    Thanks.
    1. AdvancedDataGrid with only the column header text:
    2. After Show is selected, the header is sized for the text field below:
    3. Only dragging the column header temporarily shows the text field:
    1. TestGrid.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="onInit(event)" width="100%" height="100%">
    <mx:Script>
    <![CDATA[
         protected function onInit(event:Event):void {
              var cols:Array = grid.columns;
              var colWidth:int = grid.width;
              var col:AdvancedHeaderColumn = new AdvancedHeaderColumn();
              col.wordWrap = true;
              col.show = false;
              var headerRenderer:ClassFactory = new ClassFactory(AdvancedHeaderLabel);
              // Add any custom properties
              headerRenderer.properties = {text: "Column1 header that wraps", dataGridColumn: col};
              col.headerRenderer = headerRenderer;
              col.headerWordWrap = true;
              cols.push(col);
              grid.columns = cols;
              grid.measuredWidth = colWidth;
         protected function showText(event:Event):void {
              var cols:Array = grid.columns;
              for each (var col:AdvancedHeaderColumn in grid.columns) {
                   col.show = show.selected;
              grid.columns = cols;
    ]]>
    </mx:Script>
         <mx:AdvancedDataGrid id="grid" height="100%" width="100%" variableRowHeight="true" editable="true" lockedColumnCount="1"/>
         <mx:Button label="Show" id="show" click="showText(event)" selected="false" toggle="true"/>
    </mx:Application>
    2. AdvancedHeaderLabel.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" verticalScrollPolicy="off">
    <mx:Script>
    <![CDATA[
         import mx.controls.TextInput;
         import mx.core.UITextField;
         // properties
         public var text:String;
         public var dataGridColumn:AdvancedHeaderColumn;
         // Column header
         public var textField:UITextField;
         // Optional text input field
         public var textInput:TextInput;
         override protected function createChildren():void {
              super.createChildren();
              // Always add the header text
              textField = new UITextField();
              textField.text = text;
              textField.multiline = true;
              textField.wordWrap = true;
              textField.percentWidth = 100;
              addChildAt(textField, 0);
         override protected function commitProperties():void {
              super.commitProperties();
              // Add the text input field?
              if (dataGridColumn && dataGridColumn.show && !textInput) {
                   textInput = new TextInput();
                   box.addChild(textInput);
         override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
              super.updateDisplayList(unscaledWidth, unscaledHeight);
              // Position and size the textInput field
              if (dataGridColumn.show && textInput) {
                   textInput.y = textField.getExplicitOrMeasuredHeight();
                   textInput.setActualSize(unscaledWidth, textInput.getExplicitOrMeasuredHeight());
         override protected function measure():void {
              super.measure();
              measuredWidth = textField.getExplicitOrMeasuredWidth();
              measuredHeight = textField.getExplicitOrMeasuredHeight();
              // Make room for the text input field
              if (textInput) {
                   measuredHeight += textInput.getExplicitOrMeasuredHeight();
    ]]>
    </mx:Script>
         <mx:VBox height="100%" width="100%" id="box" verticalAlign="bottom"/>
    </mx:VBox>
    3. AdvancedHeaderColumn.as
    package {
         import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
         public class AdvancedHeaderColumn extends AdvancedDataGridColumn {
              public var show:Boolean = false;
              public function AdvancedHeaderColumn(columnName:String=null) {
                   super(columnName);

    Thanks Hackintosh.
    It prints as it views, as a corrupt jpeg. I also dug into console and it confirmed there was an error about a corrupt jpg. The most interesting thing is if I open the bad pdf in Photoshop the whole image is there with no signs of corruption. This leads me to believe it's something with how OSx and/or Safari are rendering the jpgs. Another curious sidenote, Safari on Windows works fine but if you save the pdf, move it to a mac and open it, you get the corrupted jpg again.
    I think I'm going to try and stop swimming upstream now. At the end of the day I don't care if the images are pngs, tiffs, or eps. I'm going to try feeding a few different formats and see if that doesn't fix the problem.

Maybe you are looking for

  • New-page for smartform

    Hello all, I am facing a problem using smartforms. I am printing a report where there is a loop running for a list of plants. For printing the information of each plant, I need to use a new page. Information of one plant may take several pages but fo

  • How to add a button to play 1 minute audio?

    I would like to add a button to a web page. Clicking the button would play about one minute of audio. I will appreciate very much if someone could help me accomplish this. Thanks greatly in advance. Tom

  • How to make the Contents tab of CHM help be opened by default?

    I use RoboHelp HTML 7.0.3.001 and generate Microsoft HTML Help as the output file of my project. Each time I open generated CHM file, the only default topic is displayed. Then I should click Show button on the toolbar to view the Contents tab contain

  • Xfce4 cannot save session.

    Hello, Seems settings manager cannot save changes; whether by saving at 'sessions and startup' or on logout/shutdown. My changes to font size never got saved. There is also the same bug with arch+LXDE/lxapperance. I have googled and it was around for

  • SQL*PLUS help to query tables

    Is it possible to query tables of other users from a dba account? My problem is that when i connect to sqlplus using: sqlplus system/manager@mymachine I can only see my tables... I cannot see the tables of other users of the same database... What is