Adding CheckBox and Text as child of a tree

I want to have the following as the child of a tree :
**CheckBox[reference of CheckBox]+some text
example:
checkbox text1
checkbox text2
checkbox text3
I am unable to add both check box and text as the child of the tree.
My nodes are generated at run time so number of checkboxes will be known only at run time.
plz tell how can i achieve this functionality.
thanx

Just a small hint (The checkbox is not working yet - but shown):
import java.awt.Component;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTree;
import javax.swing.tree.DefaultTreeCellRenderer;
public class CheckboxTreeRenderer extends DefaultTreeCellRenderer {
     @Override
     public Component getTreeCellRendererComponent(JTree tree, Object value,
                                                                 boolean sel, boolean expanded,
                                                                 boolean leaf, int row, boolean hasFocus) {
               JPanel p = new JPanel();
               p.add(new JCheckBox("Hallo " + row));
               p.add(new JLabel(value.toString()));
               return p;
import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTree;
public class CheckboxTreeFrame extends JFrame {
     public CheckboxTreeFrame(){
          super("A Checkboxtree");
          JTree t = new JTree(new String[]{"1", "2", "3"});
          t.setCellRenderer(new CheckboxTreeRenderer());
          JScrollPane p = new JScrollPane(t);
          add(p, BorderLayout.CENTER);
     public static void main(String [] args){
          CheckboxTreeFrame tf = new CheckboxTreeFrame();
          tf.setSize(200,300);
          tf.setDefaultCloseOperation(EXIT_ON_CLOSE);
          tf.setVisible(true);
}

Similar Messages

  • How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
    Open Find/Replace and click the Object tab.
    Click the Specify attributes to find button to the right of the Find Object Format: field.
    Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
    Click OK
    Click the Specify attributes to change button to the right of the Change Object Format: field.
    Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
    Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
    Click OK
    Click Change All

  • Adding pages and Text Frames to emulate the behaviour of "Smart Text Reflow"

    I am creating a large number of tables in a document.  If I have Smart Text reflow turned on, my script does not work properly.  I have the start of the processing:
    1. Add a new table
    2. If the last page text frame overflows then Add a new page
    With smartTextReflow turned off, I want to ensure that new text frames that match the primary text frames from the master page.  It has to be able to handle getting the parameters from the left/right page text frame.

    I have been able to solve my problem.  I was really overthinking things!!!
    Since I have designated the text frames on the master pages as primary text frames, when creating a new page, a text frame is created automatically. So the problem is then just link the previous text frame to the text frame that was created when adding the page.
    TableAutomation.prototype.AddPage = function() {
         var previousTextFrame = app.activeDocument.pages[-2].textFrames[0];
         var np = app.activeDocument.pages.add();
         var textFrame = np.textFrames[0];
         previousTextFrame.nextTextFrame = textFrame;
    The cost of the above code was about 5 hours of banging my head against the wall

  • How can I put all of my added icons and text in a white background the same as the provided toolbar icons?

    I just purchased a new computer and am trying Firefox 4 and absolutely hate this program. I have loved Firefox prior to this but this is nuts and waaaay too time consuming to figure out. Get rid of this version please. How can I restore 3.5????

    You can render the ebook on an instructional application called Zankura. Not only can you control the screen scrolling, but all the students can freely annotate with their stylus. www.zankura.com.

  • In adobe reader app on iPad, I have a PDF document that added notes and comments to.  Once I left the document and returned to it, the notes and comments were gone.  Where are they?  I clicked "save" and "done" buttons after I entered text.

    In adobe reader app on iPad, I have a PDF document that added notes and comments to.  Once I left the document and returned to it, the notes and comments were gone.  Where are they?  I clicked "save" and "done" buttons after I entered text.

    The application auto-saves your input when you close the document.  If you left the document, as you state, the notes/comments should have been saved and should have been visible the next time you opened the document with the Mobile Reader (note that if you are opening the document with another app such as Apple's built in PDF Viewer, things like notes/comments may not be visible).  Also note that if you are doing an Open In... from another app (like Dropbox), the version of the document in Dropbox does not update; only the version of the document in the Mobile Reader is updated.
    Would it be possible to send a video of the problem you are encountering to [email protected] so that we can try to help?

  • Adding "black" lines and text to image scans

    I'm currently running Acrobat 9 Pro, under XP.
    I scan documents as black-and-white PDF image files. They usually contain handwritten text. OCR is not applicable (at least, as far as I know there's little if anything that currently exists that's realistic for doing OCR on hand-written text).
    I just leave them as images of the handwritten text, and that's generally okay for my purposes.
    However, I often want to go in and "edit" a little bit of that handwritten text -- just a few words here and there -- either by sometimes crossing things out or sometimes deleting them (or whiting them out, or covering them with a white box), and adding a text box with new typed text either over or between existing handwritten text..
    I know how to do most of that (well, I could use a few pointers on deleting or whiting out handwritten words), but I don't know how to make it all "black" so it tends to blend better with the color of the scan itself. Currently, lines I draw and text I enter appear red. How do I make them appear black so it blends better?
    Can I do that?
    Or do I need to upgrade to be able to do that?
    Thanks.

    I'm not sure we're on the same page. I already have no probelm drawing a white box to cover existing text (remember, this is all "images" since I'm just scanning in handwritten pages and not using OCR on them at all) and I can already draw a text frame to enter text into, just as I can already draw lines to cross things out that I don't want to just cover with a white box. I'm just looking for a way to make that text and those lines black instead of red (and for anything else that might make the process more elegant).
    Thanks.

  • Checkbox and date/text feild

    I need to create a form with a checkbox and a date/text feild in the same row. Is this possible?
    An example is below:
    Form
    [ check box ] name of document [date/text feild]
    [  ] document name [1/30/2014]

    Sure - you can add fields adjacent an existing field using the "+" sign on the right side of the field to bring up the add field toolbar to add a field to the side.  You can also do this through the right click menu item "Add field beside", and you can Drag and Drop fields where you want them by clicking on the left side of the field and holding the mouse button down while you drag it where you want it, a blue vertical bar shows where it will be placed, drag it to the right of a row to add it to the right of existing fields.
    Thanks,
    Josh

  • Adding Clip art and text

    I am fine tuning my Premeire Elements Video and adding music, text and some clip art. I am using Premiere 8. When I add clip art and text it goes in fine but when I do a preview playback the text and or the clip art fanishes before the end of the clip. I have put in "time stretch" for the clip, is there any way to also lengthen the clip art and the text? I have looked and read but am not finding the answer. Thanks

    Meantime, have you checked out my free 8 part Basic Training series on Premiere Elements support site Muvipix.com?
    http://forums.adobe.com/thread/537685?tstart=0
    And, if you really want to learn the program inside and out, step by step, you might want to check out my books.
    http://Muvipix.com/pe10.php

  • Adding New Image and Text to an Existing Page Created with Tables

    Working in DW 5.5
    I'm trying to add a new image/link and small amount of text to an existing web page that was created with tables and centered.  I am using AP Divs. One for the image and one for the text.  Everything functions fine, but I can't get the new items to anchor and re-center with the rest of the page.  I am not able to overide the "Absolute Positioning".  I've tried different solutions from various tutorials but I can't seem to make them work with tables.
    The added items are a Facebook button and text.
    Go to:  http://www.sugarhollowfarms.net/index.html  to see the problem.
    Please help. I'm not that experienced.

    Make a back-up of the page first before you implement the changes below!
    Take the below bit of code from <div id="FBlogo">...... to.......... </div> <!-- end FBlogo -->
    and insert it directly after the opening div tag FWTableContainer and before your opening table tag (see position below):
    <div id="FWTableContainer209091602">
    <div id="FBlogo"><a href="#"><img src="images/fb.png" alt="fb" width="62" height="62" onClick="MM_openBrWindow('http://www.facebook.com/SugarHollowFarms','facebook','toolbar=yes,location=yes,status=yes, menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"></a>
    <p class="bodytext"><strong>Join us<br>
    on Facebook</strong></p></div><!-- end FBlogo -->
    <table border="0" cellpadding="0" cellspacing="0" width="800">
    Then add - position: relative; - to the FWTableContainer css (as shown below):
    #FWTableContainer209091602 {
        /* The master div to make sure that our popup menus get aligned correctly.  Be careful when playing with this one. */
        position:relative;
        margin:auto;
        width:800px;
        height:600px;
        text-align:left;
        top: 20px;
        background-image: url(images/homepage_new3.jpg);
        border: medium solid #336600;
        position: relative;
    Amend the css for FBlogo to as below:
    #FBlogo {
        position:absolute;
        left:700px;
        top:380px;
        width:91px;
        z-index:1;
        text-align: center;
    Amend the css for bodytext as below:
    .bodytext {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11px;
        line-height: 13px;
        margin: 0;
        padding: 0;

  • Added or ediited texts by Bluebeam Revu,and has been saved,when I open it by the Adobe reader version 8.1,why it does not show my texts added by Revu?8.1 is my favorite version,I also tried it in a later version fo Reader,it doesn't work too!

    Added or ediited texts by Bluebeam Revu,and has been saved,when I open it by the Adobe reader version 8.1,why it does not show my texts added by Revu?8.1 is my favorite version,I also tried it in a later version fo Reader,it doesn't work too!

    Bernd Alheit wrote:
    Looks like a problem of Bluebeam Revu, not Adobe Reader.
    The response above is only a speculative answer to the original question. DSI-Hal, did you try to flatten the text in Bluebeam Revu prior to opening it in Adobe. This has worked for me on several different documents but not sure if we are using the same version of Adobe Reader.
    Give it a shot. Good luck.

  • Ghost scale factor appied to graphics and text

    I am working on menu generation that uses a container and adds child graphics with text labels
    The container has event listener applied to respond to MOUSE_OUT. This is so the entire menu
    will dissappear on rollout. The problem is that the child MovieClips and applied textFields are
    effected by some kind of scaling factor that I can't find in my code.
    I have attached the file with the code. It is formatted for Unix (line feed line endings)
    Suspect code is line 102 to 139 (knobOverMenu.makeMenu()). Lines 56 to 59 is the formating
    object.
    You will notice the font size is set to 2. I had to do this because using size 10 results in greatly
    scaled text.
    Why would this scaling factor be applied here? I can't find any indication in my code.
    Thank you for time and attention
    JK

    That is a simple rectangle that serves as the background for each menu
    item.
    It was created in Flash and exported to actionscript. So the code is
    what Flash
    created.
    The problem showed up when I started adding menuFieldmc with text label
    to menuPanel. That is another graphic like mainFieldmc but with enough
    height to include all the menu items. I suspect that is the problem. I
    also
    created that in Flash and exported for ActionScript. Inside menuPanel
    the mainFieldmc instances and text labels are scaled about 5 times.
    I am also curious about Sprite. When I convert a graphic element to a
    symbol,
    the dialog does not offer the option of assigning Sprite to the symbol,
    just Simple
    Button, Movie Clip, or Graphic. If I choose graphic it does not create
    an object
    definition.
    Thank you for time and attention
    JK

  • JRadioButton/JCheckBox and text alignement

    Hi all,
    It is possible only using JRadioButton and JCheckBox to have when using several
    of these elements to have text on the left aligned to left and the button right aligned
    with the gap in between being variable so that start of text and buttons are aligned.
    I would like to have that
    Text of my fist button    0
    2nd text                  0
    3rd text                  0                        
    ^--- text left aligned    ^---- here the radiobuttons/check boxes right alignedI know how to set text on the left side: myRadioButton.setHorizontalTextPosition(myRadioButton.LEADING).
    This is not a problem.
    Thanx,
    Xavier.

    Looking at this, I can't see an easy way. Using the
    components you specified, I guess I would set the font
    to a fixed size font, and pad the labels with spaces.
    If I was going it, I would make each label a JLabel,
    not assign a label to a checkbox, and put them
    together with a GridLayout. Hope this helpsWell this can be a solution but I would like two things:
    -1 be able to use any font
    -2 have the default behaviour of RadioButton or Checkbox
    that is text also selectable not only the button itself.
    I tried another solution: working the FontMetrics and
    defined gap between text and icon. But it must be buggy
    because it is look and feel (L&F) dependant. In my example,
    it only works as expected for motif L&F (i'm running under XP).
    And funny enough in my real application, it also works on XP.
    Metal that should be the most portable is the worse! :(
    I tried J2SE 1.4.3_02 and 1.5.0beta1: same result reagding
    alignement.
    Is it a bug or a mistake from my side?
    Here is my code:
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.*;
    public class DoubleAligned extends JFrame {
      protected JMenu lookAndFeelMenu;
      protected Action metalAction;
      protected Action motifAction;
      protected Action windowsAction;
      public static final String METAL_LOOK_AND_FEEL = "javax.swing.plaf.metal.MetalLookAndFeel";
      public static final String MOTIF_LOOK_AND_FEEL = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
      public static final String WINDOWS_LOOK_AND_FEEL = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
      protected JPanel singleAlignementPane;
      protected JPanel doubleAlignementPane;
      protected ButtonGroup singleBG;
      protected JRadioButton jRadioButton_s1;
      protected JRadioButton jRadioButton_s2;
      protected JRadioButton jRadioButton_s3;
      protected JRadioButton jRadioButton_s4;
      protected JCheckBox jCheckBox_s1;
      protected Set buttonSet;
      protected ButtonGroup doubleBG;
      protected JRadioButton jRadioButton_d1;
      protected JRadioButton jRadioButton_d2;
      protected JRadioButton jRadioButton_d3;
      protected JRadioButton jRadioButton_d4;
      protected JCheckBox jCheckBox_d1;
      /** Creates a new instance of JSCResultModePanel */
      public DoubleAligned(String title) {
        super(title);
        lookAndFeelMenu = createLookAndFeelMenu();
        JMenuBar mb = new JMenuBar();
        mb.add(lookAndFeelMenu);
        setJMenuBar(mb);
        JPanel jPanel = new JPanel();
        jPanel.setLayout(new BorderLayout());
        singleAlignementPane = createSingleAlignPane();
        doubleAlignementPane = createDoubleAlignPane();
        jPanel.add(singleAlignementPane,BorderLayout.WEST);
        jPanel.add(doubleAlignementPane,BorderLayout.EAST);
        setContentPane(jPanel);
      private JPanel createSingleAlignPane() {
        JPanel jPanel = new JPanel();
        jPanel.setBorder(BorderFactory.createTitledBorder("Single aligned (swing default)"));
        // Creation of the layout
        GridBagLayout gridbag = new GridBagLayout();
        GridBagConstraints c = new GridBagConstraints();
        c.weighty = 1.0;   //request any extra vertical space
        c.weightx = 1.0;   //request any extra horizontal space
        c.gridwidth = 1;
        c.insets = new Insets(2,2,2,2);
        c.anchor = GridBagConstraints.EAST;
        c.fill = GridBagConstraints.BOTH;
        jPanel.setLayout(gridbag);
        // Creation of sub elements
        singleBG = new ButtonGroup();
        jRadioButton_s1 = new JRadioButton("First radio button long text");
        jRadioButton_s1.setHorizontalTextPosition(JRadioButton.LEADING);
        jRadioButton_s1.setBackground(Color.PINK);
        jRadioButton_s2 = new JRadioButton("2nd is shorter");
        jRadioButton_s2.setHorizontalTextPosition(JRadioButton.LEADING);
        jRadioButton_s2.setBackground(Color.GREEN);
        jRadioButton_s3 = new JRadioButton("shortest");
        jRadioButton_s3.setHorizontalTextPosition(JRadioButton.LEADING);
        jRadioButton_s3.setBackground(Color.RED);
        jRadioButton_s4 = new JRadioButton("4th");
        jRadioButton_s4.setHorizontalTextPosition(JRadioButton.LEADING);
        jRadioButton_s4.setBackground(Color.MAGENTA);
        singleBG.add(jRadioButton_s1);
        singleBG.add(jRadioButton_s2);
        singleBG.add(jRadioButton_s3);
        singleBG.add(jRadioButton_s4);
        jCheckBox_s1 = new JCheckBox("Check box is also taken into account");
        jCheckBox_s1.setHorizontalTextPosition(JCheckBox.LEADING);
        jCheckBox_s1.setBackground(Color.YELLOW);
        // Layout of all the components (components added column by column)
        c.gridx = 0;
        c.gridy = 0;
        jPanel.add(jRadioButton_s1,c);
        c.gridy = 1;
        jPanel.add(jRadioButton_s2,c);
        c.gridy = 2;
        jPanel.add(jRadioButton_s3,c);
        c.gridy = 3;
        jPanel.add(jRadioButton_s4,c);
        c.gridy = 4;
        jPanel.add(jCheckBox_s1,c);
        return jPanel;
      private JPanel createDoubleAlignPane() {
        JPanel jPanel = new JPanel();
        jPanel.setBorder(BorderFactory.createTitledBorder("Double aligned"));
        // Creation of the layout
        GridBagLayout gridbag = new GridBagLayout();
        GridBagConstraints c = new GridBagConstraints();
        c.weighty = 1.0;   //request any extra vertical space
        c.weightx = 1.0;   //request any extra horizontal space
        c.gridwidth = 1;
        c.insets = new Insets(2,2,2,2);
        c.anchor = GridBagConstraints.EAST;
        c.fill = GridBagConstraints.BOTH;
        jPanel.setLayout(gridbag);
        // Creation of sub elements
        doubleBG = new ButtonGroup();
        buttonSet = new HashSet();
        int largerButtonSize = 0;
        jRadioButton_d1 = new JRadioButton("First radio button long text");
        jRadioButton_d1.setHorizontalTextPosition(JRadioButton.LEADING);
        jRadioButton_d1.setBackground(Color.PINK);
        buttonSet.add(jRadioButton_d1);
        jRadioButton_d2 = new JRadioButton("2nd is shorter");
        jRadioButton_d2.setHorizontalTextPosition(JRadioButton.LEADING);
        jRadioButton_d2.setBackground(Color.GREEN);
        buttonSet.add(jRadioButton_d2);
        jRadioButton_d3 = new JRadioButton("shortest");
        jRadioButton_d3.setHorizontalTextPosition(JRadioButton.LEADING);
        jRadioButton_d3.setBackground(Color.RED);
        buttonSet.add(jRadioButton_d3);
        jRadioButton_d4 = new JRadioButton("4th");
        jRadioButton_d4.setHorizontalTextPosition(JRadioButton.LEADING);
        jRadioButton_d4.setBackground(Color.MAGENTA);
        buttonSet.add(jRadioButton_d4);
        singleBG.add(jRadioButton_d1);
        singleBG.add(jRadioButton_d2);
        singleBG.add(jRadioButton_d3);
        singleBG.add(jRadioButton_d4);
        jCheckBox_d1 = new JCheckBox("Check box is also taken into account");
        jCheckBox_d1.setHorizontalTextPosition(jCheckBox_d1.LEADING);
        jCheckBox_d1.setBackground(Color.YELLOW);
        buttonSet.add(jCheckBox_d1);
        // Layout of all the components (components added column by column)
        c.gridx = 0;
        c.gridy = 0;
        jPanel.add(jRadioButton_d1,c);
        c.gridy = 1;
        jPanel.add(jRadioButton_d2,c);
        c.gridy = 2;
        jPanel.add(jRadioButton_d3,c);
        c.gridy = 3;
        jPanel.add(jRadioButton_d4,c);
        c.gridy = 4;
        jPanel.add(jCheckBox_d1,c);
        return jPanel;
      private JMenu createLookAndFeelMenu() {
        JMenuItem menuItem = null;
        JMenu jMenu = new JMenu("Look and feel");
        // *** Metal menu item ***
        metalAction = new AbstractAction("Metal", null) {
          public void actionPerformed(ActionEvent e) {
            updateLookAndFeel(METAL_LOOK_AND_FEEL);
        menuItem = jMenu.add(metalAction);
        // *** Motif menu item ***
        motifAction = new AbstractAction("Motif", null) {
          public void actionPerformed(ActionEvent e) {
            updateLookAndFeel(MOTIF_LOOK_AND_FEEL);
        menuItem = jMenu.add(motifAction);
        // *** Windows menu item ***
        windowsAction = new AbstractAction("Windows",null) {
          public void actionPerformed(ActionEvent e) {
            updateLookAndFeel(WINDOWS_LOOK_AND_FEEL);
        menuItem = jMenu.add(windowsAction);
        return jMenu;
      private int getMax(int item1, int item2) {
        return item1<item2 ? item2 : item1;
      public void paint(Graphics g) {
        FontMetrics fm = getFontMetrics( g.getFont( ) );
        String stringButton;
        AbstractButton myButton;
        int maxWidth;
        Iterator i;
        maxWidth = 0;
        i = buttonSet.iterator();
        // Hack to have text on the left and left aligned with the buttons themselves
        // on the right and right aligned to.
        // WARNING: Do not use HTML button because Button.getText will return the
        // HTML source not the result. Note also that it's not possible to use
        // Button.getSize().width because it returns the size after the layout process
        // it for display.
        while (i.hasNext()) {
          stringButton = ((AbstractButton)i.next()).getText();
          maxWidth = getMax(maxWidth, fm.stringWidth(stringButton));
        i = buttonSet.iterator();
        int currentWidth;
        int newGap;
        while (i.hasNext()) {
          AbstractButton currentButton = (AbstractButton)i.next();
          stringButton = currentButton.getText();
          currentWidth = fm.stringWidth(stringButton);
          newGap = maxWidth - currentWidth + 10;
          currentButton.setIconTextGap(newGap);
        super.paint(g);
      public void updateLookAndFeel(String lookAndFeel) {
        try {
          UIManager.setLookAndFeel(lookAndFeel);
          SwingUtilities.updateComponentTreeUI(this);
        } catch (Exception e) {
          // log an error
      public static void main(String []args) {
        DoubleAligned frame = new  DoubleAligned("A solution to have double alignemnt of several radio buttons/check boxes");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setVisible(true);
    }

  • How to Add Checkbox and icon in ALVGRID

    Hi Experts,
      i have one Requirement. i need to add Checkbox, Selectall,icon(Unlock or inactive) infront of Contracts of ALV GRID.How to achive that.
    Thanks,
    Venkat.

    Hi
    For check box
    At declaring field catalog using structure LVC_S_FCAT
    mark CHECKBOX = 'X' and also EDIT = 'X'.
    For reference check below subroutine in program BCALV_EDIT_05.
    form build_fieldcat changing pt_fieldcat type lvc_t_fcat.
    data ls_fcat type lvc_s_fcat.
    call function 'LVC_FIELDCATALOG_MERGE'
    exporting
    i_structure_name = 'SFLIGHT'
    changing
    ct_fieldcat = pt_fieldcat.
    *§A2.Add an entry for the checkbox in the fieldcatalog
    clear ls_fcat.
    ls_fcat-fieldname = 'CHECKBOX'.
    * Essential: declare field as checkbox and
    * mark it as editable field:
    ls_fcat-checkbox = 'X'.
    ls_fcat-edit = 'X'.
    * do not forget to provide texts for this extra field
    ls_fcat-coltext = text-f01.
    ls_fcat-tooltip = text-f02.
    ls_fcat-seltext = text-f03.
    * optional: set column width
    ls_fcat-outputlen = 10.
    append ls_fcat to pt_fieldcat.
    endform.
    For Icon:
    CONSTANTS:
         icon_id_failure            LIKE icon-id   VALUE ' ((Content component not found.)) @',
         icon_id_okay              LIKE icon-id   VALUE ' ((Content component not found.)) @'.
    TYPES: BEGIN OF ls_tab,
           matnr LIKE equi-matnr,
           maktx LIKE makt-maktx,
           b_werk  LIKE equi-werk,
           b_lager LIKE equi-lager,
           lgobe LIKE t001l-lgobe,
           sernr LIKE equi-sernr,
           icon LIKE icon-id,
           objnr LIKE equi-objnr,
          END OF   ls_tab.
    *Table that display the data for the ALV.
    DATA: itab  TYPE ls_tab OCCURS 0 WITH HEADER LINE.
        PERFORM get_h_date .
        IF h_date => sy-datum .
          itab-icon = icon_id_okay.
        ELSE .
          itab-icon = icon_id_failure.
         ENDIF.
    Regards
    Sudheer

  • How can I separate the "Icons and Text" of the browser control buttons (Back, Forward, etc.) from the Icons on the Add-on toolbar?

    At home, this is not an issue. I don't know why it's different here at work--same installation, same settings (as far as I can tell).
    Windows Vista
    Firefox 7.0.1
    Status-4-Evar installed to turn add-on bar into a status bar
    I have a NoScript add-on icon in the corner, which works fine. If I add a GreaseMonkey icon from the Customize menu, the "Icon and Text" appears for that icon, like the Icon and Text from the browser controls (Home, stop, etc). Other add-on icons also show Icon and Text (S4E, for instance). NoScript is the only one I've found so far which collapses down to just an Icon.
    This leads to the status (add-on) bar having a much larger height than I like. Essentially what I want is for only the Icon to appear in the Status bar (Add-on toolbar), while keeping Icons and Text in the Browser controls. My current workaround is simply removing the other add-on icons from the status (add-on) toolbar, but that takes away the ease of toggling and setting options.
    Please tell me if I can provide you with anything else, and thanks for your help.
    Edit: I've got some screenshots to show what I mean.
    [http://i41.tinypic.com/ftek9s.jpg desired behavior]
    [http://i43.tinypic.com/1z6a4h3.jpg problem when icon is added]

    Surely there must be some UserChrome.css that will solve this problem. Something like this:
    /* Remove text titles for icons in add-on bar */
    addonbar .button-text {
    visibility: collapse !important;
    Unfortunately that does not work. I probably have the button text item name wrong (there is a pound sign before addonbar but it doesn't show in this posting).

  • High bill with unusual calls and texts from non-functioning numbers?

    We have a family share plan with 3 phones, one phone for my husband and two phones for our employees.  Our usual phone bill runs around $150.  Our last bill was over $600, the majority charges being on one of our employee's lines.  This particular employee has been with us for over 10 years, and has always been extremely trustworthy and very frugal in his usage of his phone to make personal calls (very infrequent and always less than 5 minutes in duration, unless made during the free nights and weekends timeframe).  Our latest bill showed over 1,000 texts to/from his phone, as well as over 3,000 peak calling minutes (both to/from his phone) alone.  Many of the peak calls are lengthy in duration (30+ minutes, up to 120 minutes).  I realize this post is long, so will divide it into headings so that it makes more sense:
    Information on usage:
    Our employee insists that he did not make these calls and texts (he does not even know how to text), and what is odd about the numbers that appear on the detail (both text and voice) is that they fit into one of two categories:
    1.  There are calls to two particular non-local area code numbers (and possibly bogus, as they have area codes 523 and 352(?)).  When I call the two numbers, I get the following messages:
    From my landline:  When called from my landline, adding a "1" before the 10 digit number, I get the recording stating that "your number cannot be completed as dialed, please check the number and dial again"
    From a cell number- When calling from my own VZW phone (on separate account from husband's), I get a VZW message that the number "has been changed, disconnected or is no longer in service"
    2. They are local area code numbers, but when I call the number, I get a recording asking me to enter my pin number (in other words, they are numbers that cannot receive incoming calls, but according to our bill, have not only made calls to our employee's phone, but also received calls.  I have done an online lookup on these numbers and they are all cell phones.
    3.  When I have tried to text the non-local numbers from my VZW phone, I get messages back stating that these are landline numbers and cannot be texted; when I text the local numbers, I have texted a generic message along the lines of "I can't reach you on the phone.  Please call me as soon as you can" but I do not receive a call back.
    We cannot speak directly with our employee right now (he is in Mexico to pick up his elderly grandmother),  nor can we access our employee's phone to check the log, call history, etc. because he has the phone with him.  Due to this, when we discovered the high usage, we immediately "suspended" the phone line so that no calls could be made or received.  Subsequent to suspending the line, we have talked to his family a couple of times -- one time he happened to call them on another line, so we talked to him "indirectly" through a family member on another line with him.  He was alarmed about the calls and insists he did not make them. 
    He does have children but they are forbidden (by him) from using the phone, and he states that he always keeps the phone in a case on his hip, thus no one else has access to the phone.  To go even further, it seems that most all of the calls to these unusual numbers are made on weekdays, during school hours, so I feel sure the calls were not made by his kids.
    Calls to Verizon:  When we first called Verizon, they suggested we suspend the phone until we could speak to our employee.  Subsequent to our indirect conversation with him mentioned above, we called them back and told them he stated that he did not make the calls nor send the texts, and that we believed the phone might have been compromised, cloned, hijacked or whatever.  First, the customer svc rep looked at our account and suggested that we put an unlimited text on the phone for the current unbilled usage (there were a lot of texts, and we have no text plan on the employee's phone), and then remove that plan once we get to the bottom of this matter. 
    Due to our concern about fraudulent usage, the customer svc. rep called the fraud dept. while my husband was holding on the line.  She came back on the line and told my husband that the fraud dept. said that "it cannot be fraud because if it was, there would be thousands of dollars in international long distance to countries like Pakistan and India." (WTH?)  Also, she said that it couldn't be fraud "because texts were sent to and from the telephone number so we know it was your phone."  (another WTH?)
    She then went on to say that it looks like texts were sent to international numbers (???) recently (these same 523 and 352 area code numbers I referred to above).  Number one, if these were international texts, it seems odd to me that these texts show up on our billed and unbilled activity as "domestic text" and there is no premium charge assessed to our account for international texts.  Number two, if these numbers were international numbers, I imagine that we would be charged for outgoing international calls, which we were not.  Further, I imagine that the numbers would be displayed on our bill in other than a ten digit format, but am not sure, as no one has ever made an international call or text on our phone.
    Next steps:
    Does anyone have advice for the next steps we should take and how we can get to someone in customer service who can actually help us with this problem, instead of what we experienced on our previous call?  Can we demand that Verizon launch an investigation through its fraud department on the activity on this phone, or is this at the discretion of VZW to launch an investigation?  I am unsure, since this was not given as an option by the customer service rep... 
    If we can get Verizon to launch an investigation, is payment of the portion of the bill with the unusual and disputed usage (namely, that which is over and above the usual usage) waived pending the investigation results, or will we have to pay the entire bill to both avoid having the phones turned off, as well as any detrimental effects to our credit?  We've been hit hard by the economy, both personally (I am out of work right now) and business wise (my husband's business has been doing only about 25% of its usual business), and we don't have the extra $$ for the bill unless we take it out of our grocery budget. 
    If anyone has any insight, suggestions or otherwise, I sure would appreciate it.  Sorry for the lengthy first post, but I thought it would be helpful to outline as much about the situation as I could in order that people could respond.  Thanks in advance!

    kbinga,
    I know this is a confusing and frustrating situation for you. I would be happy to review the account in detail to see what is happening with the usage and charges to ensure it does not continue to be a problem for you. Please send me a direct message for further support assistance.
    Thank you!
    AdamE_VZW
    Follow us at @VZWSupport

Maybe you are looking for

  • RE: Viewable Items on a Drop List in Forte V2

    Hi Kumar, Let me guess, you're using windows NT 4.0 as your client. I had the same problem a few months ago and raised the question in this list. My answer is as brief as it is unsatisfying: It is a known bug for which there is no work around. Forte

  • Foreign Keys in Primary Key Class

    I am a newbie on toplink. I am getting an error when i run ejbc against the jar file with EJB2.0. One of the primary key classes two primary keys and both are foreign Keys to other tables. Primary Key class looks like this: public class LcaCyberzoneA

  • Compare SQL file tables as a file content VS Documentum or Alfresco

    Hello - Documentum & Alfresco are 2 examples of Document Content Management (file repository, workflows, notifications, etc), I am interesting in the file content management where system provides file repository and some extra features like check in

  • Issues with FW800 drive

    Not entirely sure if this is the correct forum, but it's sort of a general OS question. I had all my work (as a graphic designer) and my email on a FW400 drive, which I switch between my office workstation and my home-office workstation. Everything w

  • Customise database constraints errors

    Hi All I'm developing web application using jdeveloper Version 11.1.1.3.0. And I want to customise database constraints errors. I used message.property file to get the error. But It wont pick error from that file when a database error throws. Eg. I c