JAVA - How To Add Row To JTable From Another JFrame In Java NetBeans [ With Source Code ]

Sdílet
Vložit
  • čas přidán 4. 09. 2019
  • How To Insert A Row To JTable From A Different Form In Java Using NetBeans
    ▶ Source Code: 1bestcsharp.blogspot.com/2019...
    ----------------- Check out my Java Projects! -------------------
    ▶ Inventory Management System - bit.ly/Java_Inventory
    ▶ Students Information System - bit.ly/JavaStudent_System
    ▶ Contacts Management System - bit.ly/Java_Contacts
    ▶ Hotel Management System - bit.ly/Java_Hotel
    ▶ Real Estate Management System - bit.ly/Java_RealEstate
    ▶ All My Programming Projects Here - bit.ly/2HrU8hK
    ▶ My Source Code Store Here - bit.ly/2OsC0TU
    ----------------------------------- Project Description -----------------------------------
    In this Java Tutorial we will see How To Get Data From JTextFields And Add It To A Jtable Row In A Different JFrame On Button Click Using Java NetBeans .
    What We Will Use In This Java Tutorial? :
    - Java Programming Language.
    - NetBeans Editor.
    Java Swing Components We Will Use In This Java Tutorial:
    - JFrame
    - JTable
    - JTextfield.
    - JButton.
    - JLabel.
    ------------------------- JAVA Tutorials ----------------------------
    ▶ Java Login and Register Form - bit.ly/Java_Login
    ▶ Java Calculator In Netbeans - bit.ly/Java_Calculator
    ▶ Java Tic Tac Toe Game - bit.ly/Java_TicTacToe
    ▶ Java JTree Tutorial - bit.ly/Java_JTree_Tutorial
    ▶ Java and MySQL Tutorials Using Netbeans - bit.ly/Java_Mysql
    ▶ Java Gui Tutorial For Beginners - bit.ly/Java_Gui
    ▶ Java JTable Tutorial - bit.ly/JAVA_JTable_Tutorial
    ▶ Create a Project In Java With MySQL - bit.ly/Java_Mysql_Project
    ------------------------- JAVA COURSE ----------------------------
    ▶ master Java core development step-by-step - bit.ly/2HXSuAn
    --------------------------------------------------------------------
    visit our blog 1bestcsharp.blogspot.com/
    facebook: / 1bestcsharp
    twitter: / 1bestcsharp_
    subscribe: goo.gl/nRjPKk
    programming projects with source code:
    1bestcsharp.blogspot.com/p/pro...
    C# And Java Programming Books
    1bestcsharp.blogspot.com/2015/...
    share this video: • JAVA - How To Add Row ...
    #java #jtable #java_tutorial

Komentáře • 44

  • @JuanchoPM
    @JuanchoPM Před 4 měsíci +1

    Amazingly helpful, been looking for this for over a week now... thaaaank youuu!!

  • @rasheer4923
    @rasheer4923 Před 4 měsíci +2

    I was looking for a way to update the JTable with the user-entered data for each row. Thank you so much!..

  • @galoboni
    @galoboni Před 4 lety +1

    Estaba buscando esto , thanks for the help 👌

  • @arlanurmanta6978
    @arlanurmanta6978 Před 4 lety +2

    thank you very much, your video was very helpful

  • @nogsoftalks4600
    @nogsoftalks4600 Před 2 lety

    Its worked out!!!Thanks a lot!!!

  • @joshuacortez2320
    @joshuacortez2320 Před měsícem +2

    Can you do pass the data from jtextfield to jtable in another jframe without need to open the jframe have a jtable?? (PLEASE, I NEED NOW)

  • @HKProjectOfficial
    @HKProjectOfficial Před 4 lety

    I'm studying C #. Thank you very much for the video

  • @nelstu100
    @nelstu100 Před 5 lety +1

    perfect solution!!

  • @panostzakis6925
    @panostzakis6925 Před rokem +1

    It was very helpfull thanks for helping as

  • @r3digit
    @r3digit Před 3 lety

    helped me lots. ty

  • @franciscogodoy8913
    @franciscogodoy8913 Před 3 lety +1

    Eres genial y gracias.

  • @mudybrembs5132
    @mudybrembs5132 Před rokem +1

    thankss alot help for me

  • @fun_for_life_today
    @fun_for_life_today Před 4 lety

    Nice ty :)

  • @stevenc3410
    @stevenc3410 Před 3 lety

    for this video is adding row. But i want to remove/update the selected row, how to do it?

  • @robertocordovagalvan884
    @robertocordovagalvan884 Před 4 lety +1

    OMG thank you so much

  • @themagickbert4057
    @themagickbert4057 Před rokem +1

    thanks

  • @jimmp6005
    @jimmp6005 Před 4 lety +4

    can you make the tutorial something like this but with a Database, Thankyou

  • @nancypefe6921
    @nancypefe6921 Před 7 měsíci

    Muy bueno!!

  • @joshuadanielocray7920
    @joshuadanielocray7920 Před 3 lety +1

    how to remove using that other jframe?

  • @rempilicious5093
    @rempilicious5093 Před 3 lety

    I try this code but it always have error,
    Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException
    that's the error
    bro can you help me how can i fix it?
    I badly need it for my school project

  • @aimanhaziq9677
    @aimanhaziq9677 Před 3 lety

    Cannot invoke "javax.swing.JTable.getModel()" because "class.Table1" is null
    may i know why pls

  • @nicholasanjiri4782
    @nicholasanjiri4782 Před 3 lety

    Good work. it will be create if you do it in javafx

  • @franciscogodoy8913
    @franciscogodoy8913 Před 3 lety +1

    Que buen tipo

  • @keshavsinghgautam5602
    @keshavsinghgautam5602 Před 4 lety

    Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: Not supported yet.
    at model.addRow(model.java:14)
    please help

  • @SimpleBassProduction
    @SimpleBassProduction Před 4 lety +3

    How to edit and delete jtable from another jframe in java?

  • @rahulmallah8306
    @rahulmallah8306 Před 4 lety

    I tried doing this in eclipse doesn't work.

  • @pragathispragathis7704
    @pragathispragathis7704 Před 2 měsíci

    Sir, this same method, how to image view another jframe side.please tell me sir.

    • @1BestCsharpblog
      @1BestCsharpblog  Před 2 měsíci

      use the image path to display it in another form (in a jlabel)

  • @jenniferuba3176
    @jenniferuba3176 Před 2 lety

    can you add another button that displays, update and delete.?

  • @reiseokieeee
    @reiseokieeee Před 5 lety

    why DefaultTableModel is error? i follow every instructions but it's still error

    • @1BestCsharpblog
      @1BestCsharpblog  Před 5 lety +2

      did you import "javax.swing.table.DefaultTableModel" to your project ?

  • @astiginko
    @astiginko Před 4 lety

    I have an error on getModel(); part please help

    • @astiginko
      @astiginko Před 4 lety

      AddRowToJTable also i have an error with this one

    • @astiginko
      @astiginko Před 4 lety

      it says "
      cannot find symbol
      symbol: method AddRowToJTable(Object[])
      location:variable jTable1 of type JTable"

  • @MrKhuram87
    @MrKhuram87 Před 4 lety

    please share code or make video of how to update jtable to another jframe. i am waiting.

    • @1BestCsharpblog
      @1BestCsharpblog  Před 4 lety

      1 - get the index of the row you want to update
      2 - show the second jframe
      3 - get the values from the second jframe
      4 - set the values into the row you want to update using the index ( the index from step 1 )

  • @wirmansyahchandrawijaya407

    does not work for me

  • @sofiamg318
    @sofiamg318 Před měsícem

  • @Attee_Q
    @Attee_Q Před 4 lety

    Are you silent? Why you not speak?

  • @adnanadn960
    @adnanadn960 Před 4 lety +1

    Thank you very much is work