Location:
Search - JScrollPane
Search list
Description: JButton button
JTextArea text
JTextPane textpane
FileInputStream readfile
JScrollPane scroll
Container con
JFileChooser chooser=new JFileChooser()
Platform: |
Size: 1060 |
Author: adruomais |
Hits:
Description: scrollJpane的运用实例!利用ScrollBar的功能使它可以利用滚动轴滚动窗口,乍看之下我们并不会直接使用到,JScrollBar的方法,因为JScrollPane都帮我们处理得好好的,但如果我们想对滚动轴做更细的设置,例如在拖曳时一次滚动多少区域等,就必须了JScrollBar所提供的功能了。JScrollBar在处理窗口的滚动并不像JScrollPane那么容易,看起来也比 JScrollPane简单得许多,因此通常在实现时我们会取一些JScrollBar所提供的功能.-scrollJpane examples of the use! ScrollBar use of the function so that it could use the rolling axis scroll window, and at first glance w ill not be directly used. JScrollBar method because JScrollPane have helped us to deal with good, but if we want to do more rolling axis small settings, such as when a tractor in the number of regional rolling, a must JScrollBar provided by the function. JScrollBar window in the rolling JScrollPane is not as easy than JScrollPane seem simple that many, it is often the realization, we will take some JScrollBar provided by the function.
Platform: |
Size: 660198 |
Author: 杨坚 |
Hits:
Description: scrollJpane的运用实例!利用ScrollBar的功能使它可以利用滚动轴滚动窗口,乍看之下我们并不会直接使用到,JScrollBar的方法,因为JScrollPane都帮我们处理得好好的,但如果我们想对滚动轴做更细的设置,例如在拖曳时一次滚动多少区域等,就必须了JScrollBar所提供的功能了。JScrollBar在处理窗口的滚动并不像JScrollPane那么容易,看起来也比 JScrollPane简单得许多,因此通常在实现时我们会取一些JScrollBar所提供的功能.-scrollJpane examples of the use! ScrollBar use of the function so that it could use the rolling axis scroll window, and at first glance w ill not be directly used. JScrollBar method because JScrollPane have helped us to deal with good, but if we want to do more rolling axis small settings, such as when a tractor in the number of regional rolling, a must JScrollBar provided by the function. JScrollBar window in the rolling JScrollPane is not as easy than JScrollPane seem simple that many, it is often the realization, we will take some JScrollBar provided by the function.
Platform: |
Size: 659456 |
Author: 杨坚 |
Hits:
Description: JButton button
JTextArea text
JTextPane textpane
FileInputStream readfile
JScrollPane scroll
Container con
JFileChooser chooser=new JFileChooser()
Platform: |
Size: 1024 |
Author: adruomais |
Hits:
Description: 是个简单的编辑器,//用多个文本域存放多个文件内容,文本域放在JScrollPane里
//而JScrollPane放在JTabbedPane中,这就是一个多页面的布局
//多个文本域,每个文本域显示一个文件的内容
-Is a simple editor,// by more than storing the text of the domain more than the content of the document, the text field on the JScrollPane Lane// JScrollPane on the JTabbedPane, this is a multi-page layout// number of text fields, each text fields display the contents of a file
Platform: |
Size: 15360 |
Author: wangbaocai |
Hits:
Description: JScrollPane的例子,窗体右侧显示带滚动条的图片,通过左侧的按钮可以控制滚动条是否显示。-JScrollPane example, form the right side show the scroll bar with the picture, through the left button to control whether to display scroll bars.
Platform: |
Size: 72704 |
Author: 李耀华 |
Hits:
Description: 在不同的时间发生得到不同的jScrollPane的结果-Happen at different times has been the result of different jScrollPane
Platform: |
Size: 1024 |
Author: 光∝之ぉ陨ポ |
Hits:
Description: JPanel,JtestArea,JScrollPane,JFrame的简单范例-JPanel, JtestArea, JScrollPane, JFrame simple examples
Platform: |
Size: 1024 |
Author: 贾冯 |
Hits:
Description: JTree使用经验总结(转)包括:数组件申明、滚动面板申明-how to use JTREE,which include private JTree jtNetDevice
private JScrollPane jspTree
Platform: |
Size: 49152 |
Author: Wei Jianping |
Hits:
Description: While dealing with JTable you come across two main features
1)JTable
2)TableModel
With JTable you can display the data. You can allow the user to edit the data.
The tableModel takes care of the data to be displayed using JTable.
The JTable is normally added in <I>JScrollPane</I>. So when the rows get exceeded display area, the scrollbars of the scrollpane automatically gets activated.
you have to
import javax.swing.table.*
See Below Code in which there are 4 JButtons
1)Add Row
2)Delete Row
3)GetValue
4)SetValue
Using those buttons you can create a row,delete a row at runtime.
getValue returns value at particular cell while
setValue sets the value at particular cell
plus other important JTable related methods are discussed below.
see the code below (tableExample.java).
Platform: |
Size: 2048 |
Author: Ryo |
Hits:
Description: Swing表格JTable支持滚动,Swing表格JTable不支持滚动-Swing JTable support form rolling, Swing JTable table does not support rolling
Platform: |
Size: 1024 |
Author: 夏江 |
Hits:
Description: The following program uses the Daytime protocol to obtain the date and time from
port 13 of user-specified host(s). It provides a text field for input of the host name
by the user and a text area for output of the host’s response. There are also two
buttons, one that the user presses after entry of the host name and the other that
closes down the program. The text area is ‘wrapped’ in a JScrollPane, to cater for
long lines of output, while the buttons are laid out on a separate panel. The
application frame itself will handle the processing of button presses, and so
implements the ActionListener interface. The window-closing code (encapsulated in
an anonymous WindowAdapter object) ensures that any socket that has been opened
is closed before exit from the program.
Platform: |
Size: 2048 |
Author: linchunhong |
Hits:
Description: 一个简单的文本编辑器,能够编辑html、java、cpp、txt文件,并支持java的编译与运行。在文件内容显示方面,用多个文本域存放多个文件内容,文本域放在JScrollPane里,而JScrollPane放在JTabbedPane中,这就是一个多页面的布局,多个文本域,每个文本域显示一个文件的内容,多个文本域放在不同tab里。
-A simple text editor, able to edit HTML, Java, CPP, TXT, and support the Java compiler and operation. In the file content shows, with multiple the text field for more files content, the text field in JScrollPane, and JScrollPane on JTabbedPane, this is more than a page layout, more the text field, each text fields shows the contents of a file, and more the text field in different TAB.
Platform: |
Size: 301056 |
Author: sz |
Hits:
Description: 一个简单的文本编辑器,能够编辑html、java、cpp、txt文件,并支持java的编译与运行。在文件内容显示方面,用多个文本域存放多个文件内容,文本域放在JScrollPane里,而JScrollPane放在JTabbedPane中,这就是一个多页面的布局,多个文本域,每个文本域显示一个文件的内容,多个文本域放在不同tab里-A simple text editor that can edit html, java, cpp, txt files, and support of java compile and run. Display of the contents of the file, multiple text fields store multiple file contents, text fields on the JScrollPane, the JScrollPane on the JTabbedPane, which is a multi-page layout, multiple text fields, each text field displays a contents of the file, multiple text fields on the tab in a different
Platform: |
Size: 300032 |
Author: 张龙 |
Hits:
Description: java-swing面板组件学习源代码
内容包含:
1 JPanel
2 JScrollPane
3 JSplitPane
4 JTabbedPane
5 JIntemalFrame
6 JLayeredPane
7 JRootPane-java-swing panel assembly study the source code contains: 1 JPanel The JScrollPane 3 JSplitPane 4 JTabbedPane 5 JIntemalFrame 6 JLayeredPane 7 JRootPane
Platform: |
Size: 13312 |
Author: mvoty |
Hits:
Description: JAVA编写的计算分期付款的例子,用到了JTable, JScrollPane以及JAVA画图。-Loan Amortization Sample
Platform: |
Size: 6144 |
Author: ma |
Hits:
Description: JScrollPane使用的练习,使用BorderLayout将JFrame布局分为左右两块-The JScrollPane exercises, using the BorderLayout layout is divided into left and right two JFrame
Platform: |
Size: 1024 |
Author: 刘昭强 |
Hits:
Description: Esto es un ejemplo de como usar el JScrollPane
Platform: |
Size: 1024 |
Author: jada |
Hits:
Description: 设计使用 JTable 的应用程序时,务必要注意用来表示表数据的数据结构。DefaultTableModel 是一个模型实现,它使用一个 Vector 来存储所有单元格的值,该 Vector 由包含多个 Object 的 Vector 组成。除了将数据从应用程序复制到 DefaultTableModel 中之外,还可以用 TableModel 接口的方法来包装数据,这样可将数据直接传递到 JTable,如上例所示。这通常可以提高应用程序的效率,因为模型可以自由选择最适合数据的内部表示形式。在决定使用 AbstractTableModel 还是使用 DefaultTableModel 方面有一个好的实践经验,即在创建子类时使用 AbstractTableModel 作为基类,在不需要创建子类时则使用 DefaultTableModel。 -main TableModel dataModel = new AbstractTableModel() {
public int getColumnCount() { return 10 }
public int getRowCount() { return 10 }
public Object getValueAt(int row, int col) { return new Integer(row*col) }
}
JTable table = new JTable(dataModel)
JScrollPane scrollpane = new JScrollPane(table)
Platform: |
Size: 2074624 |
Author: 秋玉珑 |
Hits:
Description: 支持移动端html5 可以控制滚动条样式,方便实用。 1、showArrows:是否显示滚动箭头,模式是false; 2、maintainPosition:当滚动区重新初始化后,是否保持滚动条的原有位置,默认是true; -Support mobile terminal HTML5 can control the scroll bar style, convenient and practical. 1, showArrows: whether to display scroll arrow, model is false 2, maintainPosition: when the scroll area re initialization, whether to keep the original position of the scroll bar, the default is true.
Platform: |
Size: 250880 |
Author: 熊建 |
Hits: