Java Swing - JTable Dark Mode Custom

Sdílet
Vložit
  • čas přidán 15. 01. 2022
  • Java Swing Customize
    Custom Jtable dark mode using java swing
    ► Custom Scrollbar : • Java Swing - Custom JS...
    🙏🙏🙏 Support me by subscribe 🙏🙏🙏
    ► Subscribe now : czcams.com/users/HelloWorld-...
    ► Any question comment below
    ► Source code : github.com/DJ-Raven/jtable-da...

Komentáře • 20

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

    Wow,Damm man you are GOD in design with java!,
    You make it look so easy haha,
    Thank you so much for this code and this video!
    Eres increíble!

  • @perezsaul
    @perezsaul Před 2 lety +2

    No había visto este video, las notificaciones me llegan muy tarde, Está muy bueno, Gracias

  • @pisethyos7417
    @pisethyos7417 Před 2 lety +2

    Thank you

  • @doniakillian8797
    @doniakillian8797 Před rokem

    Thanks, this really helped! I have one question: How do you change the foreground color of a single cell, but not the others?

  • @antoniofarfan265
    @antoniofarfan265 Před 2 lety +2

    Excellent video, bro.🏆😎⚡
    Could you change the alignment of the columns to the center and their width?

  • @jhondc6752
    @jhondc6752 Před rokem +1

    Hello, beautiful video! I had a question. To scroll horizontally? could you make a video please
    ATTE: Google translator

    • @LaingRaven
      @LaingRaven  Před rokem +1

      You can try this code :
      jTable.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);

  • @lemonjuice1557
    @lemonjuice1557 Před rokem +1

    it works correctly but after a while i get cannot use component the scroll remains there but the table just goes away is there any fix to that?

    • @LaingRaven
      @LaingRaven  Před rokem

      Please help screenshot the problem post in github issue.

  • @fenly_ts_21_1
    @fenly_ts_21_1 Před rokem

    hello, thanks for the video. i have question how to set border outline of jtable to invisible or no border?

    • @LaingRaven
      @LaingRaven  Před rokem +1

      change thickness border I use 2 so you can set it to 0
      In class TableDark and method fixTable change
      scroll.setBorder(BorderFactory.createLineBorder(new Color(60, 60, 60), 2));
      to
      scroll.setBorder(BorderFactory.createLineBorder(new Color(60, 60, 60), 0));

    • @fenly_ts_21_1
      @fenly_ts_21_1 Před rokem +1

      @@LaingRaven thanks 👍

  •  Před 11 měsíci

    a partie del minuto 10:21 todo comienza a marcarme error, podrías ayudarme por favor

  • @Gaming_Earth_
    @Gaming_Earth_ Před rokem

    Hi
    When mouse click 2 time
    I use the code to get result ___( String data = (String) jtable.getvalueAt(jtable.getselectedRow(),0);
    But I got error like this ----(Exception in thread "AWT-EVENTQUEUE-0" Java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 8 )

    • @Gaming_Earth_
      @Gaming_Earth_ Před rokem

      Help me on this pls to get row value
      Example : row value 1, name ,date
      Need value is= 1

    • @LaingRaven
      @LaingRaven  Před rokem +2

      You need stop cell editing first before get value from cell
      for stop cell editing use this code
      if (table.isEditing()) {
      table.getCellEditor().stopCellEditing();
      }