X11 on the Mac does a horrible job drawing fonts. I'm trying to use the GIMP and Inkscape and the menus, and other text, don't draw correctly half the time. What is the fix for this?
I got a AT&T compatible Nexus One that I'm trying to connect to my Mac Book Pro (Snow Leopard) for development. When I do an adb devices, it doesn't appear, and I can't do an adb install either. Until today, I've been using a G1 and I haven't had any issues. I haven't placed a SIM in the phone yet, but I don't think that should matter.
For some reason the text on each of my RadioButtons is raised, almost to the level of a superscript (ok maybe half way there). How do I set the text to align so that if I could draw a line through the center of the button and have it intersect with the center point of the text?
* Button1
* Button2
This is a generic way to select data from a table and show the results in an HTML table using JSP taglibs. What is the generic way to do this in Grails? That is, take a few lines of SQL and generate an HTML table from scratch in Grails, including the column names as headers.
<sql:query var="results" dataSource="${dsource}"
select * from…
I'd like to swap out an sql:query for some Java code that builds a complex query with several parameters. The current sql is a simple select.
<sql:query
var="result"
dataSource="${dSource}"
sql="select * from TABLE "
</sql:query
How do I take my Java ResultSet (ie. rs = stmt.executeQuery(sql);) and make the results available in…