I've got an HTML page with a standard textarea on it, which is disabled to stop users editing the text. I've changed the state of the textarea to disabled and as expected, the text appears grey in IE7. Thinking it would be a straight forward task to modify the default text colour, I created a...
Ah! Easy when you think about it! Thanks. Actually used setBorder(BorderFactory.createEmptyBorder(0,0,0,0)) and setBackground(Color.white) but has the same effect as the solution you gave. Dunno why I didn't think of that myself!!
Thanks for that.
Anyone know a quick way of removing the default blue button background from a JButton? All I want to show is an image icon without the button outline and I'd rather not override the painting of the button if I can help it.
Any help appreciated!
Probably an obvious question but how do you force a report to show one record per page? I could probably work it out using code but I'm wondering if there's a simpler way.
...do is to state the driver (MS Access) and the odbc datasource and associated parameters (username, etc.) - that's what I mean by "...the way ODBC *should* work..". I have no problem storing the connection string, but I *do* mind having to specify the filename and location of the .mdb.
I'll...
...every piece of code I've seen has a reference to the absolute path of the .mdb file. Is there a way to simply access the datasource the way ODBC *should* work, or is this yet another of Microsoft's added "features"? The code I've looked at involves the use of ADO to create a connection...
One more thing, the .pagebox class stops a bit before the floating elements stop. All of what you say makes complete sense, but I'm probably missing something somewhere down the line - any more ideas?
Okay not sure which forum to post this, so I thought I'd try this one...I've just recovered some files from a damaged CDROM and, for the most part, this has been successful. However, one of the files (a jpeg) file is corrupt. Normally, I'd just accept that it's damaged and delete it. However...
I want to have a simple layout with a title box, a content box and a footer box, with a small space between each. The result I'm looking for is the title box at the top, the content box in the middle and just below the content box, a footer box. I've positioned the title box and content box...
Just a quickie. I've set the opacity on a links div to be 0.5, but when I add links, they too take on the opacity. I've set the opacity for the actual links to 1.0, but they are still opaque. Is there any easy way to have an opaque div but a non-opaque content, giving the impression of an...
Yes. Before using JAR file, I read in the image files as follows:
Image i = Toolkit.getDefaultToolkit().getImage("file.gif");
I now read in the images files as follows:
URL url = JiCGUI.class.getResource("myfile.gif");
img = Toolkit.getDefaultToolkit().getImage(url);
The...
I had an issue a while back whereby I had to process files uploaded via a web form using JSP. I have to make reference to the RFC1867 standard for uploading files via forms. I reckon you might need to make reference too.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.