Welcome![Sign In][Sign Up]
Location:
Search - settext

Search list

[Other resourcefixed-text

Description: uc/gui低版本的text控件不能settext,这两个文件添加后即可settext-uc / gui version of the text low Control settext not, the two documents can be added after settext
Platform: | Size: 3577 | Author: 王黎明 | Hits:

[Other resourcewel

Description: class NumberListener implements ActionListener{ public void actionPerformed(ActionEvent e){ if (!append) { tf.setText(\"\") append=true } String s=tf.getText() s+=e.getActionCommand() tf.setText(s) if (!btn[10].isEnabled()){ for(int i=10 i<=14 i++) btn[i].setEnabled(true) } }-class NumberListener implements ActionL istener (public void actionPerformed (Action Event e) (if (! append) (tf.setText ( "") append = true;) String s = tf.getText () s = e.getActionC ommand () tf.setText (s) if (! btn [10]. isEnabl ed ()) (for (int i = 10 i
Platform: | Size: 11036 | Author: lukairun | Hits:

[Button controllabel

Description: 一个可以改变static文本框字体、大小、颜色的类 enum FlashType {None, Text, Background } class CLabel : public CStatic { // Construction public: CLabel() CLabel& SetBkColor(COLORREF crBkgnd) CLabel& SetTextColor(COLORREF crText) CLabel& SetText(const CString& strText) CLabel& SetFontBold(BOOL bBold) CLabel& SetFontName(const CString& strFont) CLabel& SetFontUnderline(BOOL bSet) CLabel& SetFontItalic(BOOL bSet) CLabel& SetFontSize(int nSize) CLabel& SetSunken(BOOL bSet) CLabel& SetBorder(BOOL bSet) CLabel& FlashText(BOOL bActivate) CLabel& FlashBackground(BOOL bActivate) CLabel& SetLink(BOOL bLink) CLabel& SetLinkCursor(HCURSOR hCursor) // Attributes public: protected: void ReconstructFont() COLORREF m_crText HBRUSH m_hBrush HBRUSH m_hwndBrush LOGFONT m_lf CFont m_font CString m_strText BOOL m_bState BOOL m_bTimer BOOL m_bLink FlashType m_Type HCURSOR m_hCursor // Operations
Platform: | Size: 2797 | Author: sunrise | Hits:

[DirextXSetText

Description: 一个directshow.在画面上写字filter的例子,-a directshow. The picture write filter example,
Platform: | Size: 29725 | Author: 黄海 | Hits:

[DirextXSetText

Description: 一个directshow.在画面上写字filter的例子,-a directshow. The picture write filter example,
Platform: | Size: 29696 | Author: | Hits:

[uCOSfixed-text

Description: uc/gui低版本的text控件不能settext,这两个文件添加后即可settext-uc/gui version of the text low Control settext not, the two documents can be added after settext
Platform: | Size: 3072 | Author: 王黎明 | Hits:

[Other systemswel

Description: class NumberListener implements ActionListener{ public void actionPerformed(ActionEvent e){ if (!append) { tf.setText("") append=true } String s=tf.getText() s+=e.getActionCommand() tf.setText(s) if (!btn[10].isEnabled()){ for(int i=10 i<=14 i++) btn[i].setEnabled(true) } }-class NumberListener implements ActionL istener (public void actionPerformed (Action Event e) (if (! append) (tf.setText ( "") append = true;) String s = tf.getText () s = e.getActionC ommand () tf.setText (s) if (! btn [10]. isEnabl ed ()) (for (int i = 10 i
Platform: | Size: 11264 | Author: lukairun | Hits:

[Button controllabel

Description: 一个可以改变static文本框字体、大小、颜色的类 enum FlashType {None, Text, Background } class CLabel : public CStatic { // Construction public: CLabel() CLabel& SetBkColor(COLORREF crBkgnd) CLabel& SetTextColor(COLORREF crText) CLabel& SetText(const CString& strText) CLabel& SetFontBold(BOOL bBold) CLabel& SetFontName(const CString& strFont) CLabel& SetFontUnderline(BOOL bSet) CLabel& SetFontItalic(BOOL bSet) CLabel& SetFontSize(int nSize) CLabel& SetSunken(BOOL bSet) CLabel& SetBorder(BOOL bSet) CLabel& FlashText(BOOL bActivate) CLabel& FlashBackground(BOOL bActivate) CLabel& SetLink(BOOL bLink) CLabel& SetLinkCursor(HCURSOR hCursor) // Attributes public: protected: void ReconstructFont() COLORREF m_crText HBRUSH m_hBrush HBRUSH m_hwndBrush LOGFONT m_lf CFont m_font CString m_strText BOOL m_bState BOOL m_bTimer BOOL m_bLink FlashType m_Type HCURSOR m_hCursor // Operations-A static text box can change the font, size, color, class enum FlashType (None, Text, Background) class CLabel: public CStatic (//Constructionpublic: CLabel () CLabel
Platform: | Size: 2048 | Author: sunrise | Hits:

[JSP/JavaGourmetCoffeeGUI

Description: This Work graded 100 class SaveSalesListener implements ActionListener { /** * Saves the sales informations in a file. * * @param event the event object. */ public void actionPerformed(ActionEvent event) { if (sales.getNumberOfOrders() == 0) { statusTextArea.setText("No order has been sold.") } else { fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY) int result = fileChooser.showSaveDialog(null) if (result != JFileChooser.APPROVE_OPTION) { statusTextArea.setText("The sales information has " + "not been saved.") } else { File file = fileChooser.getSelectedFile() try { PrintWriter output = new PrintWriter( new FileWriter(file)) output.print(salesFormatter.formatSales(sales)) output.close() } catch (IOException ioe) { statusTextArea.setText("Error: Problem with I/O.") -This Work graded 100 class SaveSalesListener implements ActionListener { /** * Saves the sales informations in a file. * * @param event the event object. */ public void actionPerformed(ActionEvent event) { if (sales.getNumberOfOrders() == 0) { statusTextArea.setText("No order has been sold.") } else { fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY) int result = fileChooser.showSaveDialog(null) if (result != JFileChooser.APPROVE_OPTION) { statusTextArea.setText("The sales information has " + "not been saved.") } else { File file = fileChooser.getSelectedFile() try { PrintWriter output = new PrintWriter( new FileWriter(file)) output.print(salesFormatter.formatSales(sales)) output.close() } catch (IOException ioe) { statusTextArea.setText("Error: Problem with I/O.")
Platform: | Size: 4096 | Author: EA | Hits:

[JSP/Javasrc

Description: 登录界面 实现手机登录界面的跳转 查询手机话费 充值等问题-package snippet public class Snippet { public static void main(String[] args) { this.jTextArea1.setText(sb.toString()) } }
Platform: | Size: 19456 | Author: | Hits:

[JSP/JavaEX05_03

Description: 短信/* 建立两个mServiceReceiver对象,作为类成员变量 *///mEditText1.setText("+886935123456") /* 设定预设为5556表示第又个模拟器的Port */-import android.widget.Button import android.widget.EditText
Platform: | Size: 23552 | Author: linc | Hits:

[JSP/JavaEX06_14

Description: 短信/* 建立两个mServiceReceiver对象,作为类成员变量 *///mEditText1.setText("+886935123456") /* 设定预设为5556表示第又个模拟器的Port */-import android.widget.Button import android.widget.EditText
Platform: | Size: 402432 | Author: linc | Hits:

[JSP/JavaDesktop

Description: package x12; import java.applet.*; import java.awt.*; import java.awt.event.*; public class Add extends Applet implements ActionListener { Label lblTwoNum = new Label ("请输入两个数字"); Label lblAdd = new Label ("此处显示答案"); TextField txtFirstNum = new TextField (2); TextField txtSecNum = new TextField (2); Button btnAdd = new Button ( "求和"); public void init() { add (lblTwoNum); add (txtFirstNum); add (txtSecNum); add (btnAdd); add (lblAdd); this.resize(300,100); btnAdd.addActionListener (this); } public void actionPerformed (ActionEvent e) { String firstNum = txtFirstNum.getText(); String secNum = txtSecNum.getText(); int add = Integer.parseInt(firstNum) + Integer.parseInt(secNum); lblAdd.setText ("两数之和:"+ add); } }(sdadsasdasdsadsaasdadasdasd)
Platform: | Size: 251904 | Author: 囚牛 | Hits:

[JSP/Java连连看javafx

Description: 连连看,用javafx实现, this.setOnMouseClicked(e -> { if (e.getButton() == MouseButton.PRIMARY) { x2 = (int) ((e.getX() - w) / w); y2 = (int) ((e.getY() - w) / w); g.drawImage(new Image("llkpics/checked.png"), x2 * w + w, y2 * w + w, w/6,w/6); if (check == false) { x1 = x2; y1 = y2; }//2次一循环 else { int grade = 0; if (isSame(x1, y1, x2, y2) && isCut(x1, y1, x2, y2) && map[y1 * COL + x1] != BLANK && map[y2 * COL + x2] != BLANK) { grade = Integer.parseInt(MainFrame.tf.getText()) + 2; MainFrame.tf.setText(String.valueOf(grade)); //不同的点击 if (x1 != x2 || y1 != y2) { map[y1 * COL + x1] = BLANK; map[y2 * COL + x2] = BLANK; myRepaint(); } } } check = !check; } });(this.setOnMouseClicked(e -> { if (e.getButton() == MouseButton.PRIMARY) { x2 = (int) ((e.getX() - w) / w); y2 = (int) ((e.getY() - w) / w); g.drawImage(new Image("llkpics/checked.png"), x2 * w + w, y2 * w + w, w/6,w/6); if (check == false) { x1 = x2; y1 = y2; } else { int grade = 0; if (isSame(x1, y1, x2, y2) && isCut(x1, y1, x2, y2) && map[y1 * COL + x1] != BLANK && map[y2 * COL + x2] != BLANK) { grade = Integer.parseInt(MainFrame.tf.getText()) + 2; MainFrame.tf.setText(String.valueOf(grade)); if (x1 != x2 || y1 != y2) { map[y1 * COL + x1] = BLANK; map[y2 * COL + x2] = BLANK; myRepaint(); } } } check = !check; } });)
Platform: | Size: 245760 | Author: 谭先生456 | Hits:

CodeBus www.codebus.net