Jump to content
xisto Community

sanweikui

Members
  • Content Count

    54
  • Joined

  • Last visited

About sanweikui

  • Rank
    Member [Level 1]
  1. But i can't join because it use the https , the 443 port of our firewall which it use is disabled.
  2. I am despond at the Gmail. There are so many 1G email here, yahoo,sina,... But gmail is so slow. I almost can't send any file bigger than 10M.
  3. I would use tomcat yet ,for my books are all for it.
  4. good advice!But have you got a servlet container for your code? and do you know how to deploy the code?
  5. ok,my java version is jdk1.4 . I want to set one column of the table alignment. Certainly the Text of the all the cell of the column. My code is: [/br]public class TableColumnTest extends JFrame {[br] private TableModel model=new AbstractTableModel(){[/br] public int getColumnCount(){return 10;};[br] public int getRowCount(){return 10;};[/br] public Object getValueAt(int row,int col){ return new Integer(row*col); };[br] };[/br] public TableColumnTest(){[br] super("tableColumnTest");[/br] setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);[br] [/br] JTable table=new JTable(model);[br] TableColumn column1=table.getColumn(table.getModel().getColumnName(1));[/br] DefaultTableCellRenderer renderer=(DefaultTableCellRenderer)column1.getCellRenderer();[br] if(renderer==null){[/br] renderer=(DefaultTableCellRenderer)table.getDefaultRenderer(table.getColumnClass(1));[br] }[/br] renderer.setHorizontalAlignment(SwingUtilities.RIGHT);[br] getContentPane().add(new JScrollPane(table));[/br] }[br][/br] public static void main(String[] args) {[br] JFrame f=new TableColumnTest();[/br] f.setSize(300,200);[br] f.setVisible(true);[/br] }[br]}[/br] Not only the single column but all of the table columns align right.
  6. sanweikui

    MySQL

    the link under is very detailed tutorial of the mysql: http://forums.xisto.com/no_longer_exists/ read, you will be the expert in mysql!
  7. Yes.All the Antiviruses must update often, or they will lost their function.
  8. My question is that how to set the alignment about a column of the table ?
  9. try this: [/br]<?php[br]Header("Content-type: image/gif");[/br]$im = imagecreate(400,30);[br]$black = ImageColorAllocate($im, 0,0,0);[/br]$white = ImageColorAllocate($im, 255,255,255);[br]imageline($im, 1, 1, 350, 25, $black);[/br]imagearc($im, 200, 15, 20, 20, 35, 190, $white);[br]imagestring($im, 5, 4, 10, "Graph TEST!!", $white);[/br]ImageGif($im);[br]ImageDestroy($im);[/br]?>
  10. gdGD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled
  11. The most useful mod should be the upload attachment . You even cannt post a pic on your computer .
  12. I think it maybe caused by the mod you installed. Do you installed them step by step followed the introduction?
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.