No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
This is a logic question (or at least I think it is). What happens when the select term and group by term do not match? Why? The sample code is here: [CODE] SELECT [B]Name[/B], max(Age) FROM People GROUP BY [B]Name[/B][/CODE] So what happens if those two bolded field names do … |
|
Hi, I have been working on a ScrollPane and I need to increase the increments (when you press the up and down arrow), and also make it respond to a mouse scroll wheel. The code I have (one screen in a CardLayout) is: [CODE]public void instructions () { resize (800, … |
|
I want to be able to maximize and minimize my applet from a menuItem (in a menu). Right now, I have it set up such that the menuItem is supposed to minimize the window, and another menuItem that is supposed to maximize the window (like the Minimize and Maximize button … |
|
[B]So basically, my JMenuBar has to appear everywhere in my applet (I have CardLayout, 3 cards/screens), in every screen and in the same location (looks nice, consistency). How would I go about doing this?[/B] So, I was making a menu for my applet. I followed the exact instructions at: [url]http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html[/url] … |
|
Hi. I am coding a game for my basic Java programming course, and I am currently coding a game (Othello, aka Reversi). I am having issues with the JButton size. [CODE]public void game () { resize (800, 680); game = new Panel (); Panel board = new Panel (new GridLayout … |
|
[B]How would I implement two listeners?[/B] I need to implement ActionListener and [URL="http://java.sun.com/docs/books/tutorial/uiswing/events/mouselistener.html"]MouseListener[/URL]: I have the [CODE]public class Othello extends Applet implements ActionListener[/CODE] which is just below my libraries. But I also want to be able to use the MouseListener. So, I'm having trouble implementing both listeners. I tried: [CODE] … |