• Post Reply Bookmark Topic Watch Topic
  • New Topic

java code  RSS feed

 
Yuvaraj Deena
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm beginner in programming, since it is my first java project , i need help from yourside.
my question is, how i couldn't allow duplicate value' s or record's in an application window. i'm using java code. please suggest any idea with example program.

Thanks in advance.

 
Muhammad Khojaye
Ranch Hand
Posts: 449
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yuvaraj Deena wrote:Hi,

I'm beginner in programming, since it is my first java project , i need help from yourside.
my question is, how i couldn't allow duplicate value' s or record's in an application window. i'm using java code. please suggest any idea with example program.

Thanks in advance.



Hi Yuvaraj,

I am happy to help you but i suggest you to first you try yourself and write a program. Then ask any specific problem that you will face. I can write a program for you, but it will not help you dear.
I also suggest you to first start with simple hello world program (if not already) and once run successfully, start with your specific problem.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your question is very hard to answer, because it is very general. How you do that, depends on the specific details of what your application does, how it works, and what exactly (in detail) you want. It's not possible to give a useful and clear answer how to avoid duplicate values in your application in general.

So, please explain more about the details of your application. Where is the data coming from? Is it entered by the user? How are you storing it? In a database, or some data structure in memory? At what point exactly do you want to avoid having duplicate values? What exactly do you regard as duplicate values?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!