Loading

Tag Archives: select

JTable and JPA Pagination through custom TableModel

I really want to talk about JTable, Beans Binding and JPA pagination but I think I need to write about JTable and JPA pagination first. So I will take the Beans binding stuff in another post. By the way, choose wisely your JPA Provider/DB Provider combination, as some combinations will not give you any real [...]

How to select all tables in a Microsoft Word Document

It seems it’s impossible to do it from the user interface. But I found here that it could be done using a VB Macro: Sub ChangeAllTablesToNormal() Dim myTable As Table For Each myTable In ActiveDocument.Tables myTable.Select Selection.Style = ActiveDocument.Styles(“Normal”) Next myTable ActiveDocument.Repaginate End Sub You may try to change ActiveDocument.Styles(“Normal”) to ActiveDocument.Styles(“Tables Normal”) as suggested [...]