|
I'm working in Java, and I have a JPanel in a JFrame. In that JPanel, among other things, I have a JLabel that I want to make appear and disappear at will. I've tried setting visibility to true/false, adding and removing it from the JFrame and JPanel,...
Answer Snippets (Read the full thread at stackoverflow):
Just to be sure that it works, I tried the following:
public class Visibility { private void makeGUI() { JFrame f = new JFrame(); f.setDefaultCloseOperation... .
In general, calling the setVisible method is sufficient to make a Swing component to be shown or hidden .
|
|
What's the jquery plugin that inserts text in a textbox, and it disappears upon focus?
Started by Blankman on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I programmed one called InField Labels , and it has been improved by ... .
The watermark one?
edit to add another, there are a few watermark plugins, this one is from the jquery pages
There are a number of those plugins, and they all have different names .
|
|
Cursor disappears when
TextField.selectable = false;
How can I make cursor to be visible but textfield not selectable(with mouse) or CTRL+A.
Started by Tom on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I believe flash/as3 sees the text cursor as a zero width selection, I dont see how it should be possible to do what you want to here, except maybe extending textfield and placing your own cursor on mouseevents
I've seen a similar problem in the past,... .
|
Ask your Facebook Friends
|
I have a web form with a button and a DetailsView control on it. In the button's click event I change the DetailsView control to insert mode so I can add records:
DetailsView1.ChangeMode(DetailsViewMode.Insert)
Everything works fine, except for a checkbox...
Started by Slapout on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Thanks....
It may be getting hidden due to absolute positioning.
Also check that the width of the control is wide enough for all the controls and text .
Is the text in a Label that is in the item template? If so, you'd need to add it to the Edit Item Template .
|
|
Hi
i need to make a div text disappear after x seconds of displaying it using an ajax call
can you help me on this please ?
thanks
Started by NetCaster on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You would need to set something like setTimeout('$("#id").fadeOut("slow")', 5000) but other than that it depends on what the rest of your code looks like
$.doTimeout( 5000, function(){ // hide the div });
You can use empty() to remove a <div> ... .
|
|
All of my start menu "All Programs" items have disappeared. I think they are still there as evidenced by the fact that i can search them, the list is just empty.
Started by RCIX on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
Sometimes Windows seems to loose my profile for no reason and loads the default profile, but a logoff / on cycle usually... .
If you have not already tried, it is worth checking the event log to see if there is anything interesting then logging off and back on .
|
|
One of my blogs crispysms.blogspot.com is disappeared from my blogger dashboard and from every where..Please help me what had happened to it and how can i restore it.
Started by Sohail Anwar on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
It tells me something similar to this (with another....
Even if you make it safe.
I think you will never be able to get this back .
That's why Google deleted it from it's index.
Firefox get's that information from Google.
Firefox tells me that site is unsafe.
|
|
One of our .NET 2.0 application started to just randomly disappear. There are no records in the Event log, Dr. Watson doesn't generate crash dump, no nothing...
How to troubleshoot this application?
Started by alex on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
2) Attach a thread exception handler
Application....
Attach an event handler to AppDomain.UnhandledException event and log the exception object .
|
|
I've been using VS2008 to build ASP.NET apps with no problems. Recently, I noticed some important items disappeared from the toolbox, like label and gridview. I put them back, but I thought it was weird that they just disappeared, as I'm sure I didn't...
Started by Steve on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Hi, I assume you've got all the latest patches for your VS2008? From this site , try :
If you have any trouble using the toolbox items in visual studio, just delete the hidden files:
toolbox.tbd, toolbox_reset.tbd, toolboxIndex.tbd, toolboxIndex_reset... .
|
|
I can easily create a html input field that has text already in it. But when the user clicks on the input field the text doesn't disappears but stays there. The user then has to manually remove the text to type. How can I create an input field where when...
Started by HollerTrain on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
How about something like this?
<input name="myvalue" type="text" onFocus="if(this.value=='enter value')this.value='';" value="enter value">
This will clear upon focusing the first time, but then won't clear on subsequent focuses after the user enters... .
|