Alex English

Greenhorn
+ Follow
since Feb 26, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Alex English


550 - 543 = 7. implying that 7th machine is faulty.

Thanks




That was awesome!
18 years ago
I've been having a terrible time trying to submit my assigment. (Not that it matters, but I'm doing B&S)

I log on to the certmanager db,

select Test History -> Assignments ->

Select Sun Certified Developer Assignment for Java 2

Click 'Upload', and it says I do not have upload rights. I have emailed:

[email protected]
[email protected]


Sent 9am wednesday. It's now friday afternoon, and no response - I've tried to submit again, but nothing. I've also tried calling Sun, but I haven't been able to get a real person on the line.

Any suggestions?
Hello,

I'm building my application on Linux, and I'm having trouble displaying a font that does not look terrible. The default system fonts do not seem to show up. I have been able to get it to work if I package an actual font ttf file into the jar, and then load the font from the jar.

My question is, am I breaking a rule? Is it ok to package a font that is not of my own creation? If so, should I add a note describing the license of the font? It's not a fancy font, just arial.

Thanks
Hi All,

I'm using cactus to test an enterprise application. I need to have a test EAR (with the cactus tests as a separate web app) and a real EAR (with no cactus) for deployment onto the production server.

I would like to be slick about this, and use the same application.xml file for both, but I need to have ant inject an extra <module> tag into the application.xml to hold the tests. Are there any ant tasks that can deal with xml files (or deployment descriptors in general) in a nice way?

I suppose I could write my own ant task and just use SAXP or something like that, but I'd rather not reinvent the wheel.
18 years ago
Ok,
That makes a whole lot more sense...

Thanks so much for your help with this.
Hi Kai,

Thanks for taking the time to respond to my question. I think I see what you mean. The view should implement an interface which will only give up the information that the controller needs.

When the GUI starts to grow in size, each of the subcontainers can implement an interface which will give up useful information to the controller(s). Or even a button group or something like that.
Yes, the circular reference is what made me question the whole thing to begin with.

So I could create a thinner ActionListener, which really just passes arguments to the controller?



But isn't the purpose of a controller in a setting like this to be able to manipulate the components of the GUI? Like changing the values in the text fields etc. Wouldn't the controller need a reference to the view in order to do that?
Hi all,

I am new to swing, coming from web-based applications. I am attempting to use an MVC-type architecture for a small utility that I am writing.

Can you tell me if I'm on the right track?

I can have the view, which is all the swing components etc


Does that kind of architecture make sense? Of course i have seen things like that handles setting up the GUI and handling events, but it seems like if the GUI were to ever get big, i would be in trouble.

How do people usually do MVC in a swing application?
[ February 26, 2007: Message edited by: Alex English ]