101 Posted Topics

Member Avatar for tindoh

What a completely random statement...Why did you even bother posting this?

Member Avatar for somjit{}
-1
171
Member Avatar for Goldfinch

What data are you going to be using and how do you want it stored. It may be that you dont even need a database but can use one of Java's libraries to hold data at runtime and load it from a flat file on load.

Member Avatar for Goldfinch
0
174
Member Avatar for ObSys

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 …

Member Avatar for JorgeM
0
502
Member Avatar for <M/>

If you want it to convey across all browsers then it may be worth having a look at Javascript, notably the jQuery "Fade" function. You can find the information on it [HERE](http://w3schools.com/jquery/jquery_fade.asp). Hope this helps in some way.

Member Avatar for <M/>
0
302
Member Avatar for arohideep13

Let's just hope there aren't any teeanage boys replying to this thread...the results could be worrying to say the least :)

Member Avatar for TSRmiyata
0
485
Member Avatar for blackcathacker

1. Be the first person on a planet other than earth 2. Know how the universe started 3. I want a nice new road bike (Pinarello Dogma 2 with Di2 Dura-ace groupset, Zipp 404 wheels and an o-symmetric crankset....if anyone is feeling generous)

Member Avatar for james.lu.75491856
0
378
Member Avatar for sk8ergirl

to return an ArrayList you just have to have your return type as arraylist private ArrayList<Student> getStudent(){ ArrayList<Student> myArrayList = new ArrayList<Student>(); return myArrayList; } as an example

Member Avatar for tux4life
0
253
Member Avatar for tashee2007

For the date use the `Date.Today()` function. To take the date from the format dd/mm/yyyy and put it in the form ddmmyyyy you will need to build a new string like this `Date.Today.Day & Date.Today.Month & Date.Today.Year` To check if a file exists you need to use the `System.IO.File.Exists(path)` function …

Member Avatar for tashee2007
0
253
Member Avatar for zlloyd1

The way I have been taught is to include a constructor method which initates any variables when the object is invoked: package allin1; import javax.swing.*; import java.awt.event.*; import java.awt.*; public class Allin1 { JFrame frame; JPanel panel; JButton b1; /** * This is our constructor * This method is executed …

Member Avatar for tux4life
0
333
Member Avatar for Matt061

I guess it depends what company you work for and what your position is. For instance if you were working for a government security company such as Mi5 or the FBI then it should come as no suprise that they are tracking you. If, however, you are working for a …

Member Avatar for dogbreath077
0
246
Member Avatar for doomsday1216

To take user input you need to use the java.awt.event, Then create an action listener to handle any user interaction.

Member Avatar for JamesCherrill
0
230
Member Avatar for ObSys

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 …

Member Avatar for NormR1
0
245
Member Avatar for FUTURECompEng

> What are the steps for doing that? What NormR1 is saying that you need to think through each step you take when you try to solve a sodoku. The write down each step in it's simplest terms e.g. "Look at row" -> "does row contain each number 1 - …

Member Avatar for FUTURECompEng
0
181
Member Avatar for ObSys

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 …

Member Avatar for NormR1
0
172
Member Avatar for sapure

Have a look into Requirements Engineering on places like [Google Scholar](http://scholar.google.co.uk/schhp?hl=en-GB) . This will help you look at systems from more of a technical view. Once you;ve managed to understand how to think from the point of view of data movement you will find it a bit easier to start …

Member Avatar for sapure
0
181
Member Avatar for Tomi1988

I've been taught that it's better practice to initialise the variables to default values in the constructor. I don't think it matters with reference to speed but it may cause trouble when others read your code.

Member Avatar for ObSys
0
94
Member Avatar for zachattack05

Cool little survey....never heard of F# before. Is it commonly used and if so what for?

Member Avatar for zachattack05
0
477
Member Avatar for forjustincase

for(int i=0; i < string.length; i++){ System.out.println(string.charAt(i)); } something like that. Basically it loops through the string and prints each character to the console. Giving: 1 5 0

Member Avatar for JamesCherrill
0
262
Member Avatar for calvintmoss

I'd recommend using an array to create a grid on the screen. Then you can assign each cell a value. This value determines which bitmap is displayed in the cell. e.g. If we assign the value 1 to door.jpg and then say (3,2) = 1 The system then paints the …

Member Avatar for ObSys
0
780
Member Avatar for ct_hunny

Your going to have to give some more information as it's not clear what you are trying to achieve here

Member Avatar for ObSys
0
79
Member Avatar for hwoarang69

the problem with using javax.swing is that compared the the awt its slower because your referring to java specific locations. If your looking at basic mechanics then using a constant downward acceleration of 9.81 (as we have on earth) will work. So whenever you jump you need an initial velocity …

Member Avatar for ObSys
0
293
Member Avatar for mxood
Member Avatar for Quinncunx

I dont understand why you are using a loop to tie up the system. you should use an event to trigger the purchase rather than keep looping.

Member Avatar for ObSys
0
124
Member Avatar for sk8ergirl

First of all the main class should have "`package assignment9;`" at the top. You seem to have invoked the *`FlightSchedule`* class in you main class with "*schedule*" as the identfier and then set this to "*null*" in your constructor. To use a method in the *`FlightSchedule`* class you need to …

Member Avatar for ObSys
0
207
Member Avatar for anglwthnati2de

If you invoke a JFrame object in the start of your code you may be able to refer to the identifier later on. JFrame newFrame = new JFrame(); newFrame.setSize(x,y); newFrame.setDefaulCloseOperation(JFrame.EXIT_ON_CLOSE); newFrame.setTitle("My Frame"); etc etc.... //Later on go back the the newFrame identifier newFrame.setTitle("Company name"); Just an idea.

Member Avatar for ObSys
0
1K
Member Avatar for sungod000

It all depends how advanced your knowledge of computers is....it's not all about the programming language, to be able to program well you need to understand what the computer is doing with the data. For an real beginner, I would recommend going to your local book store/amazon and finding a …

Member Avatar for otengkwaku
0
340
Member Avatar for predator78

I personally think that socialogical systems like communism and socialism would work very well....but only in a perfect society. This is where their fundamental floor lies. The fact that it's human nature to want, means that any full implementation of these systems will fail. Saying that, many democracies such as …

Member Avatar for mike_2000_17
2
734
Member Avatar for jell28

If it's a link then all you have to do is write it to the database as a string *("C:\folder\image.jpg")*. So you add a field called "imgLocation" or something and then write the link to that field. If this doesn't help then reply with more information such as an exemplar …

Member Avatar for jell28
0
401
Member Avatar for king03

Depends on what you want to do in the near future. You can learn all of these technologies at any point in your career, however you have to think about what you want to do next, it networks then do cisco, databases then oracle and if you want to become …

Member Avatar for marcos.fish09
0
296
Member Avatar for LD Company

What sort of projects? Game Design? Database? .... theres a lot of type of software about

Member Avatar for ObSys
0
73
Member Avatar for theonebit

Right there are 2 ways of doing this. The first way is to use two If statements as follows: If a >= 0 Then If a <= 100 Then 'do something End If End If The other method which uses fewer lines of code is to include an AND statement: …

Member Avatar for G_Waddell
0
4K
Member Avatar for ObSys

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 …

Member Avatar for ObSys
0
186
Member Avatar for MrCbrl95

Personally I would learn some java as you can write a .jar file and import it directly into a web page to run. It gives you good functionality and its not too hard to pick up. Definately would recomment getting some books on java though because when you first start …

Member Avatar for ObSys
0
342
Member Avatar for smartsheep

Depending on how complex the site is, it may be worth just learning basic HTML and CSS. I learnt this in an afternoon and the next day managed to program a basic website. It's not that difficult. If its more complex then its probably easier to find some video tutorials …

Member Avatar for ObSys
0
628
Member Avatar for ObSys

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 …

Member Avatar for ObSys
0
200
Member Avatar for CloudZELL91
Member Avatar for shiinko

Shiinko if your new to web development, I would recommend reading about liquid layouts. A key feature for most web pages and it will help you with positioning problems etc.

Member Avatar for ObSys
0
235
Member Avatar for opman234

It would probably be easier to write a file on the users computer which stores the information about the first time the software was run. Then on each loadup, check this file to see if 30 days have passed. If they have then lock the program. Not too hard to …

Member Avatar for ObSys
0
346
Member Avatar for 7c00h
Member Avatar for benjie.v.sanpedro

You need to let us know what the problem is and possibly post your code here in order to obtain help

Member Avatar for Reverend Jim
0
86
Member Avatar for steadi

It looks to me like your using Microsoft Access and are refering to a form in the context of Access which is VBscript (similar to vb6) not VB.NET. If im right you might want to try either the "Database" forum or the "Visual Basic 4/5/6" forum.

Member Avatar for ObSys
0
109
Member Avatar for fRodzet

Hate to tell you this guys, but this is a forum set up to help people learn to program. It doesn't matter if they are still on the basics, you should still help....and if you don't want to help then don't reply!! fRodzet, to add numbers you just have to …

Member Avatar for Reverend Jim
0
6K
Member Avatar for joshl_1995

You need to create a network connection between the two clients (you and your friend). The most commonly way to do this in VB.NET is to use a communication protocol called TCP. Have a search for "VB.NET TCP NETWORKING" and see what it throws up.

Member Avatar for ObSys
-1
319
Member Avatar for asif49

Try typing in "msconfig" to the Start bar's search. It should open a small window. Click on the startup tab. This has all the programs that load when you turn your computer on. If you find the applications such as "facebook messenger" etc and uncheck them, they will not load …

Member Avatar for caperjack
0
175
Member Avatar for russelmk

I have a HP laptop and I noticed the same thing. Try using headphones, if they work then the headphone socket is loose which prevents the speakers from working. This can usually be solved by giving the socket a little push inwards either with a finger or a headphone jack.

Member Avatar for ObSys
0
200
Member Avatar for kenth21v

I would say you need to ensure that you understand *how* to code rather than an actual language. Once you have the programming principals nailed, its just a matter or implementing them on a different language. Personally, I would recommend C as most modern languages are derived in some way …

Member Avatar for ObSys
0
334
Member Avatar for bohto

Don't know if this will work for you but you could try creating a loop after the program has logged in which checks to see if 2 seconds has passed using the *timeofday.second* function. Once you log in, the current second is set. You then check this variable to see …

Member Avatar for ObSys
0
113
Member Avatar for Khav

Try this Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown 'KeyDown switch Select Case e.KeyCode Case Keys.Enter 'Is the textbox not null If TextBox1.Text <> Nothing Then 'EXECUTE INSTRUCTIONS End If End Select End Sub If there's anything you want clarified just post a reply.

Member Avatar for Khav
0
247
Member Avatar for timosoft

Im confused. Is the thumbnail a picture of your program or is that what you want to achieve? Also are you using a random integer generator to create the values?

Member Avatar for timosoft
0
418
Member Avatar for Tobyjug2222

try this [CODE]public sub ListFiles() 'DIR for folder 'add each file to ListBox control For each file as string in IO.directory.getfiles(Folder Path) Listbox.items.Add(file) next End Sub[/CODE]

Member Avatar for berniefitz
0
1,000

The End.