Hey, Basically I want to be able to type something like 'editor &' and have an editor of my choice open. Similar to if you type 'emacs &' emacs opens. I was wondering where this information is kept and how to edit it for the desired results. Thank you

Member Avatar
Member Avatar
+0 forum 4

I am currently creating a MySQL back-end database system and have come across a problem. Whilst building my ERD, I have noticed that one table requires 3 Foreign Keys. Is this acceptable database design? Thanks for all your help

Member Avatar
Member Avatar
+0 forum 1

Ok so I'm writing a program that outputs text to a file. Currently, I am writing it to a .TXT file for ease and convenience. Ideally, I would like to output some of the information so that it is formatted with Italics. I'm thinking that using a RTF file would be simplest but i'm not entirely sure as I have never bothered with this problem. Any help of guidance would be appriciated. Also if suggesting a file type, do you know of any useful Websites that have tutorials or guides to outputting formatted text using java. Thank you in advance

Member Avatar
Member Avatar
+0 forum 7

Trying to return Multiple Card objects from a hashmap Currently using the following code private HashMAp<Integer,Card> allCards = new HashMap<Integer,Card>(); public Card getAllCards() { Collection col = allCards.values(); for(Card c: col) { return c; } } This works but only returns 1 Card object from many. How can I change it to return every object stored in the HashMap?? Thankyou

Member Avatar
Member Avatar
+0 forum 7

Basically I am creating a web page that is going to eventually load content dynamically using PHP. Right now I am constructing the HTML/CSS for the page so that the design is complete. My problem is that when I add x amount of content to my page, the content simply overflows out of the element, across the top of my footer and down the page. What I want is for the content area to resize automatically keeping my footer at the bottom so that all the content is displayed correctly. Below is a copy of my current web page. thankyou …

Member Avatar
Member Avatar
+0 forum 5

Hey guys I recent wrote the deal or no deal game in Java for fun. It currently operates using a Command driven interface where users input numbers based on textual feedback. My aim is to develop this into a full GUI interface, however, I have not met GUI's yet in my computer science course. Whilst I have some basic knowledge of how they work and the Syntax they use, I still need help. What I want to do is create 21 buttons and assign each a value which is determined by a accessor. These numbers will range from 1 to …

Member Avatar
Member Avatar
+0 forum 3

I am looking into blogging technology, specifically using XML files to hold blog posts and reading them into a webpage using Javascript. I have been looking at the w3schools website for bits of code but for some reason my application does not display the content on the screen. My code is as follows: XML FILE <?xml version="1.0" encoding="ISO-8859-1"?> <blogPost> <title> Test </title> <text> this is a small tester</post> <author>William Ahmed</author> <date>16/03/93</date> </blogPost> <blogPost> <title> Test </title> <text> this is a small tester</post> <author>William Ahmed</author> <date>16/03/93</date> </blogPost> <blogPost> <title> Test </title> <text> this is a small tester</post> <author>William Ahmed</author> <date>16/03/93</date> </blogPost> …

Member Avatar
Member Avatar
+0 forum 3

Does a Java applet have to contain a "main" method or does it run from the "init()" method. I have written a small game in java following and example in a book however it does not tell you how to run the damn thing. Code has no erros from what I can see. Someone explain what i need to do Thanks

Member Avatar
Member Avatar
+0 forum 22

Ok so im writing a small java application using Zellers Algorithm to work out the day of the week for a given date. I have never compiled a java program before because i'm still moderately new to the language and IDE's etc. I am using netbeans. I have tried to compile the class but it comes up with an error Message saying "Could not find the main class: zellers.algorithm.Main. Program will exit." My code is as follows: package zellers.algorithm; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class ZellersAlgorithm implements ActionListener{ private int d; //day of week (dd) private int m; …

Member Avatar
Member Avatar
+0 forum 5

On holiday, I foolishly forgot that my Iphone 4 was in my pocket and went swimming with it in the hotel pool. I was in the water for about 30 minutes before I realised. When I realised, I left it to dry (it was between 30 and 35 degrees in the day so it should've dried quite well). Despite this, and not to my suprise, the phone will not turn on. I was wondering if anyone knows whether this kind of damage can be fixed and if the phone can be salvaged. Would also like to know what parts of …

Member Avatar
Member Avatar
+0 forum 7

Ok so basically I want to know how I can paint multiple items to the screen without using all of my laptop CPU power. I was thinking that it may be possible to arrange the items as a bitmap and then paint that bitmap to the screen but im not entirely sure how to go about doing this so would value any help that can be given. Thanks in advance for your replies

Member Avatar
Member Avatar
+0 forum 4

The End.