Results 1 to 6 of 6
  1. #1
    purnama is offline Member
    Join Date
    Jun 2010
    Posts
    3
    Rep Power
    0

    Default setDefaultCellBorder cannot find method in itext 2.1.0

    why setDefaultCellBorder method cannot find in itext 2.1.0 ?
    before i use itext 1.4 and running well. And when i use itext 2.1.0,
    java cannot find setDefaultCellBorder method :
    my source :table.setDefaultCellBorder(0);
    so what should i do ? how to change this source ?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,343
    Rep Power
    25

    Default

    If your code uses a method that is not defined in a class. The class coming from a jar file.
    Either get a new jar file with the class having the desired method
    Or read the API doc for the class and see if there are other methods that will do what you want.

  3. #3
    purnama is offline Member
    Join Date
    Jun 2010
    Posts
    3
    Rep Power
    0

    Default

    i use 2 itext library jar in my application. i text 2.1.0 and itext 1.4.
    is it good or bad ?

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,343
    Rep Power
    25

    Default

    s it good or bad ?
    I don't use either so I have no idea.

  5. #5
    StormyWaters is offline Senior Member
    Join Date
    Feb 2009
    Posts
    305
    Rep Power
    6

    Default

    Its bad to use multiple jars of the same product in any application as this may cause issues with classes getting used that weren't expected(Older ones getting built instead of the newer ones, or vice-versa).

  6. #6
    purnama is offline Member
    Join Date
    Jun 2010
    Posts
    3
    Rep Power
    0

Similar Threads

  1. Can't find method
    By 01allenh in forum New To Java
    Replies: 1
    Last Post: 03-25-2009, 07:46 PM
  2. Can't find out how to get this method working :)
    By Shadaw in forum Java Applets
    Replies: 2
    Last Post: 12-29-2008, 05:35 PM
  3. Replies: 1
    Last Post: 02-16-2008, 09:10 PM
  4. problems to find the main method
    By christina in forum Eclipse
    Replies: 2
    Last Post: 08-06-2007, 07:51 PM
  5. Problems with Find method in EJB
    By Nick15 in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 05-14-2007, 01:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •