Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
textfields
- Page 1
textFields help
Programming
Software Development
18 Years Ago
by joshSCH
… programs... and I was just wandering how exactly to use
textFields
and textAreas. I have created a textfield before, but I…
TextFields, Labels & Button can't be seen
Programming
Software Development
12 Years Ago
by vinnitro
… perfect but it shows some imperfection by disappearing the labels,
textfields
& buttons Is there anyone can help me with my…
Re: TextFields, Labels & Button can't be seen
Programming
Software Development
12 Years Ago
by vinnitro
& about NormR1 seeing
textfields
it a bizzare as said my JamesCherill
Re: textFields help
Programming
Software Development
18 Years Ago
by server_crash
I don't think you want JTextFields. Look up JOptionPanes. They give you many options to get input from the user via an input box.
Re: textFields help
Programming
Software Development
18 Years Ago
by joshSCH
oh ok, no wonder why I.... thanks
Re: textFields help
Programming
Software Development
18 Years Ago
by joshSCH
is there anything else that would be like the command prompt, but just a text box instead? I need something that takes more than 3 or 4 strings from the user, and the JOptionPane doesnt seem to work well with it.
Re: textFields help
Programming
Software Development
18 Years Ago
by server_crash
JDialog. It will be just like creating a JFrame, but it's a dialog. A bit more complex, but it will do the job.
The problem with an array of textfields
Programming
Software Development
13 Years Ago
by LianaN
…that worked until I did not use an array of
textfields
. Now, the size of [ICODE]txtRegNum[/ICODE] and…] corresponds to the conlumn width, however all remaining
textfields
created from an array are very short. Why does… Should I use any other method for an array of
textfields
? Thanks! [CODE] sorter = new TableRowSorter<QueryTableModel>…
Re: creating dynamic textfields
Programming
Software Development
19 Years Ago
by perky_jing
… THIS DYNAMIC THING BEFORE I RESULT INTO AN ARRAY OF
TEXTFIELDS
. AND IT TOOK ME SO LONG TO FIGURE OUT HOW….add(labelPanel, BorderLayout.NORTH); int i=1; JPanel tp; JPanel
textFields
= new JPanel(new GridLayout(s,1)); JTextField[] txtSname = new JTextField…
creating dynamic textfields
Programming
Software Development
19 Years Ago
by perky_jing
…NORTH); int i=1; JPanel tp; JPanel
textFields
= new JPanel(new GridLayout(s,1)); while…tp.add(txtSschool[i]);
textFields
.add(tp); i++; } detailsPanel.add(
textFields
, BorderLayout.CENTER); return detailsPanel; …
Re: The problem with an array of textfields
Programming
Software Development
13 Years Ago
by quuba
…] Inside public void columnMarginChanged(ChangeEvent e) { -method simply repaint all
textfields
(or find other method)
Re: The problem with an array of textfields
Programming
Software Development
13 Years Ago
by quuba
…]Inside public void columnMarginChanged(ChangeEvent e) { -method simply repaint all
textfields
(or find other method)[/QUOTE] this other method is: [CODE…
Re: The problem with an array of textfields
Programming
Software Development
13 Years Ago
by pbl
…] Inside public void columnMarginChanged(ChangeEvent e) { -method simply repaint all
textfields
(or find other method)[/QUOTE] You have a method public…
how to insert data into the database in vb.net using textfields.
Programming
Software Development
17 Years Ago
by tirumal
… inserting data into the database in vb.net using the
textfields
. i tried out with many different ways,but could not… actually use for storing the inserted the data in the
textfields
. [B][U]here is where i am getting the problem…
Event Handling - Resetting TextFields Problem
Programming
Software Development
12 Years Ago
by javaNooblet
…, I am having trouble with class communication to reset some
textfields
through event handling. Any help would be appreciated. Here is… portion of my code. [B]The class that contains the
textfields
that I wish to use a reset button for:[/B…
Re: setting textfields
Programming
Software Development
14 Years Ago
by ceyesuma
… showKey() { System.out.println("showKey sets all
textfields
"); sigTxt = new JTextField(); sigTxt.setText(strSigTxt); … void showKey() { System.out.println("showKey sets all
textfields
"); sigTxt = new JTextField(); sigTxt.setText(strSigTxt); relaToneTxt …
setting textfields
Programming
Software Development
14 Years Ago
by ceyesuma
…] public void showKey() { System.out.println("showKey sets all
textfields
"); sigTxt.setText(strSigTxt); System.out.println("showKey(): "…
Re: setting textfields
Programming
Software Development
14 Years Ago
by ceyesuma
… I fixed my classes. now the call to set the
textFields
[code] Progression p = new Progression(); fillSetters(this); [/code] comes from…
How To make dynamic textfields using java swings
Programming
Software Development
13 Years Ago
by Naresh Bammidi
Hi , Currently i am working on a java desktop application project.can u please tell me how to create dynamic
textfields
by clicking on add button using swings.please help me.
Re: How To make dynamic textfields using java swings
Programming
Software Development
13 Years Ago
by masijade
… it). Now, please explain what you mean by "dynamic
textfields
". If you mean adding one after an action event…
Auto Calculate two textfields
Programming
Web Development
10 Years Ago
by nadiam
hey guys, so im trying to auto calculate two
textfields
. like for example i have textfield A and textfield B …
Re: TextFields, Labels & Button can't be seen
Programming
Software Development
12 Years Ago
by Mr.Angry
You need to make the setVisible property of Container to be true.Thenall the textboxes,labels etc will be visible. c.setVisible(true);
Re: TextFields, Labels & Button can't be seen
Programming
Software Development
12 Years Ago
by Nimrod7676
You have to add the component to the main frame. super.add(c);
Re: TextFields, Labels & Button can't be seen
Programming
Software Development
12 Years Ago
by JamesCherrill
You have overidden JApplet's paint method, which is the method responsible for ensuring the contents are painted. That's why they don't get painted. Add a call to super.paint(g) as the first line of your paint mathod. This will ensure that everything in the applet gets painted before you draw your line. Read this for more info, including the use…
Re: TextFields, Labels & Button can't be seen
Programming
Software Development
12 Years Ago
by NormR1
The code works for me as is.
Re: TextFields, Labels & Button can't be seen
Programming
Software Development
12 Years Ago
by JamesCherrill
That's bizzare. I just copied the code. pasted it into eclipse and ran as applet, and got the expected bad result which is no visible text fields. and no visible button until the appropriate area is clicked. adding `super.paint(g);` fixed it. Are you saying that you see the button and entry fields?
Re: TextFields, Labels & Button can't be seen
Programming
Software Development
12 Years Ago
by NormR1
Yes. I executed the appletviewer: D:\Java\jdk1.6.0_02\bin\appletviewer.exe Rect.java
Re: TextFields, Labels & Button can't be seen
Programming
Software Development
12 Years Ago
by JamesCherrill
EVen more bizarre! I get the same bad result (no visible fields or button) from using the appletviewer as well (JDK 1.7.0_03 Win 64).
Re: TextFields, Labels & Button can't be seen
Programming
Software Development
12 Years Ago
by vinnitro
Thnx for helping Mr. JamesCherill adding super.paint(g); fixed it.
Re: Combine textfields with JAvascript
Programming
Web Development
12 Years Ago
by coleguitajuan
… I do that with Javascript, how to combine those 3
textfields
on the 'hphone' field. Do you have any idea from…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC