Unable to see rows in tableview

I tried to add rows to my table dynamically using ObservableList but it is not visible in table.I tried to print the data in ObservableList which is printing as expected. I even tried to initialize but not visible.
I used Scene Builder (1.1) and NetBeans 7.4 .
fx:id is all correct according to my understanding.
Code Snippets
   @FXML
    private final  TableView<Person> table; // Person is a class with two string variables firstName and lastName
    @FXML
     private final TableColumn<Person,String> firstNameColumn; 
    @FXML
     private final TableColumn<Person,String> lastNameColumn;
      private final ObservableList<Person> persons;
        this.persons = FXCollections.observableArrayList(new Person("Lijo", "Jose"));
        table=new TableView<>();
        firstNameColumn=new TableColumn("First Name");
        lastNameColumn=new TableColumn("Last Name");
        firstNameColumn.setCellValueFactory( new PropertyValueFactory<Person,String>("firstName"));
        lastNameColumn.setCellValueFactory( new PropertyValueFactory<Person,String>("lastName"));
        table.setItems(persons);
        assert table.getItems() == persons;
       boolean add= persons.add(new Person(firstNameField.getText(), lastNameField.getText()));          
       System.out.println("Adding Row..."+add );
       table.setItems(persons);
<TableView fx:id="table" layoutX="26.0" layoutY="14.0" prefHeight="186.0" prefWidth="200.00009999999747">
<columns>
<TableColumn id="firstNameColumn" prefWidth="100.0" text="First Name" fx:id="firstNameColumn" />
<TableColumn id="lastNameColumn" prefWidth="100.0" text="Last Name" fx:id="lastNameColumn" />
</columns>
</TableView>
Please help !!
Thanks in Advance
    Lijo Jose

Hi All,
I am a newbie to JavaFX.I updated the code as suggested but still not working. Complete code for the application is copied below  .
Please Help!!
Try2.java
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Try2 extends Application {
    @Override
    public void start(Stage stage) throws Exception {
        Parent root = FXMLLoader.load(getClass().getResource("FXMLDocument.fxml"));
        Scene scene = new Scene(root);
        stage.setScene(scene);
        stage.show();
     * The main() method is ignored in correctly deployed JavaFX application.
     * main() serves only as fallback in case the application can not be
     * launched through deployment artifacts, e.g., in IDEs with limited FX
     * support. NetBeans ignores main().
     * @param args the command line arguments
    public static void main(String[] args) {
   launch(args);
FXMLDocumentController.java
import java.net.URL;
import java.util.ResourceBundle;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Label;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.TextField;
* @author admin
public class FXMLDocumentController implements Initializable {
    @FXML
    private TextField firstName;
    @FXML
    private TextField lastName;      
    @FXML
    private TableView<Person> table;
    @FXML
    private TableColumn<Person,String> firstNameColumn;
    @FXML
    private TableColumn<Person,String> lasttNameColumn;
    @FXML
    private Label label;
    private final ObservableList persons=FXCollections.observableArrayList(new Person("Lijo", "Jose"));
    @FXML   
private void addButtonAction(ActionEvent event) {
        boolean add = persons.add(new Person(firstName.getText(),lastName.getText()));
        System.out.println("Adding .."+add);     
        label.setText("Added..");      
    @Override
    public void initialize(URL url, ResourceBundle rb) {
        // TODO
        table.setItems(persons);
FXMLDocument.fxml
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<AnchorPane id="AnchorPane" prefHeight="235.0" prefWidth="286.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/2.2" fx:controller="try2.FXMLDocumentController">
  <children>
    <Button fx:id="button" layoutX="217.0" layoutY="23.0" onAction="#addButtonAction" text="Add" />
    <TextField id="lastname" fx:id="firstName" layoutX="14.0" layoutY="23.0" prefWidth="82.0" promptText="First Name" />
    <TextField fx:id="lastName" layoutX="113.0" layoutY="22.0" prefWidth="82.0" promptText="Last Name" />
    <TableView fx:id="table" layoutX="14.0" layoutY="58.0" prefHeight="145.0" prefWidth="190.0">
      <columns>
        <TableColumn maxWidth="5000.0" minWidth="10.0" prefWidth="95.0" text="First Name" fx:id="firstNameColumn" />
        <TableColumn maxWidth="5000.0" minWidth="10.0" prefWidth="95.0" text="Last Name" fx:id="lasttNameColumn" />
      </columns>
    </TableView>
    <Label fx:id="label" layoutX="14.0" layoutY="215.0" prefHeight="13.0" prefWidth="113.0" text="">
      <font>
        <Font size="10.0" />
      </font>
    </Label>
  </children>
</AnchorPane>
Person.java
class Person {
    private String firstName,lastName;
    Person(String firstName, String lastName) {
        this.firstName=firstName;
        this.lastName=lastName;
     * @return the firstName
    public String getFirstName() {
        return firstName;
     * @param firstName the firstName to set
    public void setFirstName(String firstName) {
        this.firstName = firstName;
     * @return the lastName
    public String getLastName() {
        return lastName;
Thanks
Lijo Jose

Similar Messages

  • Unable to process row of table.......

    When i trying to insert the data im getting below error
    ORA-20505: Error in DML: p_rowid=1, p_alt_rowid=BOOKING_NO, p_rowid2=, p_alt_rowid2=.
    * ORA-01403: no data found*
    Unable to process row of table.
    how to resolve this?
    Thanks and regard,
    skud

    In your development environment
    01. Run the application.
    02. Jjust before you do the action you get above error, press "Debug" button in the bottom toolbar.
    03. Do the action(Insert)
    04. Ones after get the error press "Show Debug" button and you will see the detailed actions perform for that with session details(variable and values)
    See whether you get some useful info there

  • Unable to see page-content control filed in subsite level for responsive sharepoint site !!

    Hello.
    Actually, I am facing unexpected issue with responsive design package for SharePoint 2013 environment. I
    am done with lots of try here and there but no luck yet so finally putting my issue here to get the help on this.
    I have applied responsive design package from this codeplex solution - http://responsivesharepoint.codeplex.com/
    Which is working as expected , however when I add the following snippet in "Banded" Page layout , I am unable to see the Page Content field on pages at subsite
    level, however I can see the same field on root site pages of site collection.
    <!--CS: Start Page Field: Page Content Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)--><div id="ctl02_label" style="display:none">Page Content</div><div id="ctl02__ControlWrapper_RichHtmlField" style="display:inline" aria-labelledby="ctl02_label"><div align="left"><div nowrap="nowrap"><span nowrap="nowrap">Page Content</span></div><div><div>Page Content field value. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div></div></div></div><!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
    <!--CE: End Page Field: Page Content Snippet-->
    can you please direct me to resolve this issue ? ( I wonder
    if anyone has face the same )
    Even , I don’t see the page content field in sub site pages for default "Blank Web part Page layout".
    I have also noticed that in responsive design webpart page layout is having only
    "Page Image" field in first row as shown in following screen:
    While in default publishign design , I can see many page content fields as shown
    in following screen:
    Is this by responsive design ? or Is there any problem in page layout - I am not sure !! :(
    Looking really forward for the resolution on this issue.
    Thanks and Best regards,
    Dipti Chhatrapati

    Hello,
    Just sharing the root cause of this issue which may help to others facing same.
    The reason behind this behavior was actually silly :) which is always the case once we know it !
    somehow , page content types was not having "Page-Content" filed rather it was using publishing columns but not page layout columns and hence I was unable to see the page layout columns in my page.
    Thanks and Regards,
    Dipti Chhatrapati

  • Content editor webpart- unable to see the list data if given the url in the content link?

    HI,
    In content editor webpart,unable to see the list data
    when try to give the list url in the content link?
    please help on the above issue.
    and also want to see the styles to the list.
    how to add the styles to the list row by row.

    Hi sudhir,
    If you click the ellipsis beside the content link, it will pop up a window for you to input the file link. No list option will be offered to be chose.
    When I add a content editor web part to a list, I usually save the code into a Notepad file and save it to a document library. Then copy the url of the document and then paste it into content link.
    Also, you could click Edit HTML Source, then directly add code into the popup window. It works as the same as the above method.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Unable to see interface on ASA 5510 Firewall

    Hi All,
    I am unable to see 4th interface on my firewall i.e fastether0/3 on my firewall ASA 5510.
    Below is the output.
    ciscoasa# sh int ip br
    Interface                  IP-Address      OK? Method Status                Protocol
    Ethernet0/0                x.x.x.x           YES CONFIG up                    up
    Ethernet0/1                x.x.x.x           YES CONFIG up                    up
    Ethernet0/2                unassigned      YES unset  administratively down down
    Internal-Control0/0        127.0.1.1       YES unset  up                    up
    Internal-Data0/0           unassigned      YES unset  up                    up
    Management0/0              192.168.1.1     YES CONFIG up                    up
    Please suggest what could be the reason.
    Regards
    Pankaj

    Hi Ramraj,
    Even i have the base license for my ASA 5510 which is showing all the 4 interfaces in sh ver. I don't think so license would be an issue. There should be some IOS code bug that needs to be upgraded. If this goes for an OS upgrade it should get resolved.
    Its not showing up in sh ver . As Karsten said he might be running on old IOS version.
    fy-a# sh ver
    Cisco Adaptive Security Appliance Software Version 8.4(4)1
    Device Manager Version 6.4(5)
    Compiled on Thu 14-Jun-12 11:20 by builders
    System image file is "disk0:/asa844-1-k8.bin"
    Config file at boot was "startup-config"
    fy-a up 1 day 1 hour
    Hardware:   ASA5510, 1024 MB RAM, CPU Pentium 4 Celeron 1600 MHz
    Internal ATA Compact Flash, 256MB
    BIOS Flash M50FW016 @ 0xfff00000, 2048KB
    Encryption hardware device : Cisco ASA-55x0 on-board accelerator (revision 0x0)
                                 Boot microcode   : CN1000-MC-BOOT-2.00
                                 SSL/IKE microcode: CNLite-MC-SSLm-PLUS-2.03
                                 IPSec microcode  : CNlite-MC-IPSECm-MAIN-2.06
                                 Number of accelerators: 1
    0: Ext: Ethernet0/0         : address is 2c54.2d0c.8f1a, irq 9
    1: Ext: Ethernet0/1         : address is 2c54.2d0c.8f1b, irq 9
    2: Ext: Ethernet0/2         : address is 2c54.2d0c.8f1c, irq 9
    3: Ext: Ethernet0/3         : address is 2c54.2d0c.8f1d, irq 9
    4: Ext: Management0/0       : address is 2c54.2d0c.8f1e, irq 11
    5: Int: Not used            : irq 11
    6: Int: Not used            : irq 5
    Licensed features for this platform:
    Maximum Physical Interfaces       : Unlimited      perpetual
    Maximum VLANs                     : 50             perpetual
    Inside Hosts                      : Unlimited      perpetual
    Failover                          : Disabled       perpetual
    VPN-DES                           : Enabled        perpetual
    VPN-3DES-AES                      : Enabled        perpetual
    Security Contexts                 : 0              perpetual
    GTP/GPRS                          : Disabled       perpetual
    AnyConnect Premium Peers          : 2              perpetual
    AnyConnect Essentials             : Disabled       perpetual
    Other VPN Peers                   : 250            perpetual
    Total VPN Peers                   : 250            perpetual
    Shared License                    : Disabled       perpetual
    AnyConnect for Mobile             : Disabled       perpetual
    AnyConnect for Cisco VPN Phone    : Disabled       perpetual
    Advanced Endpoint Assessment      : Disabled       perpetual
    UC Phone Proxy Sessions           : 2              perpetual
    Total UC Proxy Sessions           : 2              perpetual
    Botnet Traffic Filter             : Disabled       perpetual
    Intercompany Media Engine         : Disabled       perpetual
    This platform has a Base license.
    Serial Number: JMX1AXXXXX
    Running Permanent Activation Key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Configuration register is 0x1
    Configuration has not been modified since last system restart.
    fy-a#
    Ramraj please do correct me if am wrong.
    Please do rate if the given information helps.
    By
    Karthik

  • When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue

    When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue.

    Hi Jdentremont,
    Lync client gets user photos by first querying the Address Book Web Query (ABWQ) service on the server, which is exposed through the Distribution List Expansion web service. The client receives
    the image file and then copies it to the user's cache to avoid downloading the image each time it needs to be displayed. The attribute values returned from the query are also stored in the cached Address Book Service entry for the user. The Address Book Service
    deletes all cached images every 24 hours, which means that it can take up to 24 hours for new user images to be updated in the cache on the server.
    To troubleshoot your problem, please follow the steps below:
    1.  Navigate to
     “X:\share\1-WebServices-1\ABfiles\000000000\000000000” folder. (ABS file share)
    You should see some photo files in this folder as the following screenshot.
    2. Delete all the files in this folder.
    3. On test PC, delete local cache files.
    %userprofile%\AppData\Local\Microsoft\Office\15.0\Lync\[email protected]
    4. Sign-in Lync with the test account.
    5. Go back to the ABS file share, check if there is any Photo file in the folder.
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Unable to see pipe line steps in the SXMB_MONI

    HI,
    i have done the development and quality work for my p i7.1
    i was testing the messages in the Quality System.
    So i went to SXMB_MONI to see the messages.
    After double clicking on the  successfully processed message, it shows
    pipe line steps.
    in that I am able to see
    1.inbound message(CENTRAL)
    2.XML Validation inbound channel Request
    3. call adapter
    4. Response
    but i am unable to see
    1. Receiver Determination
    2. Interface Determination
    3. Receiver Grouping
    4. Request Message Mapping
    5. Technical Routing
    whereas  in the develoment system i am able to see the above all.
    is there any configuration i have to do in the SXMB_ADM?

    can i know that   Configuration objects were created/ imported by using transport mechanisum?
    if created ,
    check the cache status and re activated those objects whatever u r posted in thread.
    if transported :
    u ll follow ,whatever posted by Earlier

  • Unable to see 'Search Dialog Box  Component' option

    In trying to follow Thilo Brandt's article to 'Develop a Serach Component for KM Search iView', but I'm unable to see Content Management -> User Interface -> Mapping -> Search Dialog Box Component. Is there something I need to 'turn on' so that I can view that option?
    We are using EP6 SP2.
    thanks,
    Biju.

    Forgot to mention that the article is available at: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/developing a search component for km search iview.article

  • HT204291 Airplay mirroring. Macbook 2012 retina display. Unable to see desktop on television, audio works perfectly. Both OS on ATV and Mac are running latest versions

    Airplay mirroring.
    Macbook 2012 retina display. Unable to see desktop on television, audio works perfectly. Both OS on ATV and Mac are running latest versions.
    Firewall set correctly (allow incoming...)
    When I click mirroring to turn it on, teh Apple TV screen goes blank (from its home setting)
    Any help appreciated.

    Hi!
    I figured it out! It was a firewall issue.
    I use Handsoff and I checked it before i wrote here. There was no "user defined rule" that denied the communication but when i changed to "All rules" the program displayed several rules regarding AppleTV and its IP.
    So if anybody has the same problem make sure you see all rules of your firewall and get rid of the AppleTV related rules generated by the program itself. You dont need to update to the latest iOS on the AppleTV!
    I hope that I can help some people with this info to fix the problem.

  • Wired computers unable to see printer on Airport Express...help?

    Hi all,
    I recently set up an Airport Extreme on our office network to offer wireless network access piggybacked on our wired router. I then purchased an Airport Express which I was planning on using as a wireless print server for our Canon i9900 for all office computers connecting wired or wirelessly, which would interface with the network via the Airport Extreme Base Station.
    I have configured the Express as an extension of the existing Airport network, and attached the printer to it via USB. All the computers in the office which have airport cards onboard can see and print from the printer, which is great. The problem is that all of the computers connecting to the network via wires are unable to see the printer (this is under both 10.3.x and 10.4.x, all airport software completely updated.) The Extreme base station shows up for all office computers in their Airport Admin Utility, AND if the printer is connected directly to the Extreme Base Station via USB, all computers can see the printer over Bonjour/Rendevous.
    Anybody have ideas as to how I can get my wired machines to see the printer on the Airport Express?
    Thanks!!

    Applications > Utilities > Airport Admin Utility
    Scan and Select your Airport
    Click Configure
    On the Airport Tab
    Base Station Options...
    Check Enable Remote Printer Access
    iFelix

  • Unable to see the personalization link on any page

    Hi,
    I am unable to see the personalization link on any of my pages (not even on login page).
    I am setting the profile option value to "Yes" for the profile option
    FND: Personalization Region Link Enabled
    Also I have bounced the Apache.
    Please help me as I am stuck due to this.
    Thanks,
    Anoop

    Did you enabled the profile option Personalize Self-Service Defn (FND_CUSTOM_OA_DEFINTION) .It must be set to Yes.
    Abhay

  • Unable to see data in Table in smartform

    Hi all,
    I need to create a smartform where I have to print the header details at the start and then below that details for all line items for a particular document.
    so i have data ;ike :
    Header data :
    field 1 : field 2:
    Field3 : field4:
    field5: field6:
    Item data :
    field1 field2 field3 field4 --> Item 1
    field1 field2 field3 field4 -->Item 2
    field 1 field2 field3 field4 -->Item3
    For the Header data,Im planning to use a template in a secondary window.
    However for the item data,i need to use a table (As i know the no of records only at runtime).Also another reason for usng table would be that I dont need the header on each flloowing page but only the Line item details on the following pages.
    Now my ques is :
    1.I hav ecreated the form and put some constant /texts to just test the form.I am able to see the texts/data in the header data.However  Im unable to see the data for the Item i.e. in the TABLE.
    I have used template for Header details which I can see.
    I dont know what Im doing wrong.Is it because in the DATA tab under TABLES,I have given an interna table but there is no data in the table?
    I have defined only 1 line type in  my table an dthat has 4 cells (as I need to print 4 item fields under the Item data)
    PLease let me know what I am doig wrong because of which Im unable to see the item data in table form.
    Thanks!

    Hi,
    Have you used any exists?
    in exists is there any system date kind?
    Can you try to run your report thru RSRT and use debug option there.
    before reporting please check your all connected targets have data for reporting.
    mean at targets-->request tab, reporting symbol was there or not.
    Any master data objects included in multi provider?
    if yes then please check those, if any ACR was running then it may cause you.
    if possible try to develop simple query with as per needs(mean to see 2015 data only).
    As my guess selections/filters migth be hidden, please check those.
    Thanks

  • Unable to see master data changes

    I added a new field as an Attribute to Master Data (Customer Number) and loaded the data which was successfull. I created an infoset and created a report but am unable to see the values in this new field. I check 'Values in the Infoprovider' on the reports. Also when i go to RSISET and look for Infoset Values I do not see them there.

    Hi,
    I think there are two things you should check:
    1. Have you seen the data for which you added into the attribute in your InfoObject?
    2. Have you seen the field which you added into the attribute in your InfoSet?
    If you got a "NO" answer, you maybe lose step(s).
    Hope above helps you.

  • Unable to see line items in segment clearing account

    Friends,
    Why we are unable to see the line items in intersegment clearing account/zero balance clearing account, eventhough the master is maintained as open item  and line item display.

    Hi,
    I have received the following error message.
    Account 1999990, company code xxxx is clearing account
    Message no. MSITEM111
    Diagnosis
    You have stored account 1999990 in company code xxxx as a clearing account. At the same time, you use line item management with this account.
    System Response
    Error message issued because line item display cannot read data for an account in a ledger if line items exist partially in the entry view together with clearing items for which there are no line items. In such cases, only the data with line items would be selected.
    Procedure
    Check the Customizing settings or account control. Change the settings so that only automatic postings without line items can be made to the account, or select a different account as the clearing account.

  • Unable to see the values in detail block

    Hello,
    I have a master detail block, when I query the form, I am unable to see the values for a particular field(Column), all other columns appear properly in the details block, Upon checking the same table(s) in SQL ( by using the JOIN defined in the where clause of the relationship in Forms) , it shows the relevant records for all fields. So what could be wrong with the Form, please advise.
    Thanks
    FM

    IQ wrote:
    I have just checked the field its a non-database field which is being used as a LOV column to display a value derived from LOV. How do I make this populate at Query time, as obviously this works when the Form is in a insert mode but not for Query mode. How to make it work for Query ? As it for LOV column and non-database filed, ignore my first suggestion.
    Does your non-database filed has associate any column ?
    For example, you have SUPPLIER_ID (database column) and SUPPLIER_NAME (non-database column). SUPPLIER_NAME has LOV column. And when selecting supplier name from LOV value also assign at supplier_id.
    Now to show supplier name when querying, you have to write POST-CHANGE trigger at supplier_id. like
    SELECT ASSC_CODE INTO :MST_SUPPLIER.ACC_CODE
    FROM ACC_SUB_SUB_CONTROL
    WHERE ASSC_ID=:MST_SUPPLIER.SUPP_ASSC_ID;Hope this helps

Maybe you are looking for

  • How to keep hotspot on particular field in alv interactive report

    hi all, i have a small requirement.i developed one interactive alv.in vasic alv wheni click on sales order number it shows secondary alv.but here i would like to keep hotspot symbol so user can understand that he has to click on this sales order numb

  • How do I have a PDF document read to me

    How do I have a PDF document read to me on my iPad?

  • Read in array from text file

    hello, i have managed to save the content of a 2d array to a text file, but i am a bit stuck reading it back and placing the data back into a 2d array. i have a Scanner object that can read the the integers from the file using nextInt(), but i am not

  • CFSTKE* Queues with few entries executing for long durations  (10 hrs)

    In APO 7.0 the CFSTKE* Queues with few entries executing for long durations  (10 hrs) Below are the FM from the queue  /SAPAPO/CIF_IRQ_REDUCT_INBOUND /SAPAPO/CIF_STOCK_INBOUND /SAPAPO/CIF_SL_DOC_INBOUND /SAPAPO/CIF_SL_DOC_INBOUND Do any one have the

  • Plug-ins crashing FCP

    Anyone out there have problems with their plug-ins? First FCP kept crashing with BCC 5 installed [crashing to desktop] so I removed it then it started crashing with Magic Bullet!!! Anyone have any ideas?